<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic pass parameter to _METAUSER in Developers</title>
    <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74110#M3441</link>
    <description>I have a code that calls upon itself but I would like to pass a user logon into _METAUSER. I tried using this  in the link when calling the stp:&lt;BR /&gt;
&lt;BR /&gt;
HREF="http:///BIP TREE/ETC../&lt;BR /&gt;
&amp;amp;_METAUSER='||urlencode(strip(logon_Person))||   &amp;lt;---is this correct?</description>
    <pubDate>Wed, 07 Apr 2010 13:38:56 GMT</pubDate>
    <dc:creator>jplarios</dc:creator>
    <dc:date>2010-04-07T13:38:56Z</dc:date>
    <item>
      <title>pass parameter to _METAUSER</title>
      <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74110#M3441</link>
      <description>I have a code that calls upon itself but I would like to pass a user logon into _METAUSER. I tried using this  in the link when calling the stp:&lt;BR /&gt;
&lt;BR /&gt;
HREF="http:///BIP TREE/ETC../&lt;BR /&gt;
&amp;amp;_METAUSER='||urlencode(strip(logon_Person))||   &amp;lt;---is this correct?</description>
      <pubDate>Wed, 07 Apr 2010 13:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74110#M3441</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-04-07T13:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter to _METAUSER</title>
      <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74111#M3442</link>
      <description>Can you provide more information?&lt;BR /&gt;
&lt;BR /&gt;
What are you trying to achieve?  Drill-down to another stored process?&lt;BR /&gt;
What application are you using to execute the stored process?&lt;BR /&gt;
What version of SAS are you using?&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Wed, 07 Apr 2010 13:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74111#M3442</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-04-07T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter to _METAUSER</title>
      <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74112#M3443</link>
      <description>Vince,&lt;BR /&gt;
yes , drill down to another STP but to the same one that is making the call wheb the user clicks on a link. I am using the STP web Application with SAS 9.1.3.&lt;BR /&gt;
I have something wthat works fine but I originally wanted to do it using _METAUSER and assign it a value to be passed via the link.</description>
      <pubDate>Wed, 07 Apr 2010 13:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74112#M3443</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-04-07T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter to _METAUSER</title>
      <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74113#M3444</link>
      <description>It's generally not a good idea to modify variables that SAS defines.  I suggest that you use something other than _METAUSER.&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
Here is some sample code for you to try:&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
[pre]&lt;BR /&gt;
%let URL=&amp;amp;_URL.?_program=&amp;amp;_PROGRAM%nrstr(&amp;amp;MYUSER=someValue);&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
file _webout;&lt;BR /&gt;
put '&amp;lt;a href="' "&amp;amp;URL" '"&amp;gt;Text for Hyperlink&amp;lt;/a&amp;gt;';&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;&lt;BR /&gt;
SAS R&amp;amp;D&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 14:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74113#M3444</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-04-07T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter to _METAUSER</title>
      <link>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74114#M3445</link>
      <description>Vince,&lt;BR /&gt;
Thanks! That recommendation is as good as gold to me.  &lt;BR /&gt;
&lt;BR /&gt;
Ok. I'll just have what I got or like what you recommended.&lt;BR /&gt;
&lt;BR /&gt;
jp</description>
      <pubDate>Wed, 07 Apr 2010 17:41:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/pass-parameter-to-METAUSER/m-p/74114#M3445</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-04-07T17:41:40Z</dc:date>
    </item>
  </channel>
</rss>

