<?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 Re: Passing a value of macro variable to remote sas session with autosignon in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26066#M4606</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I think %sysLput should work:-) but look&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/6/883.html" target="_blank"&gt;http://support.sas.com/kb/6/883.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
M.

Message was edited by: matej@comma</description>
    <pubDate>Wed, 18 Jun 2008 07:17:43 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-06-18T07:17:43Z</dc:date>
    <item>
      <title>Passing a value of macro variable to remote sas session with autosignon</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26065#M4605</link>
      <description>Dear SAS experts,&lt;BR /&gt;
I don't know how to pass a value of macro variable to remote asynchronous sas session that was started with RSUBMIT statement with AUTOSIGNON option. With that option I can not exploit %SYSLPUT statement. &lt;BR /&gt;
&lt;BR /&gt;
Below is an example:&lt;BR /&gt;
&lt;BR /&gt;
%macro test;&lt;BR /&gt;
&lt;BR /&gt;
    option autosignon=yes;	&lt;BR /&gt;
    option sascmd="!sascmd";	&lt;BR /&gt;
&lt;BR /&gt;
    %let path = /disk1/folder1;&lt;BR /&gt;
&lt;BR /&gt;
    rsubmit process=ps1 cwait=no;&lt;BR /&gt;
      %include "&amp;amp;path";&lt;BR /&gt;
    endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
%mend test; &lt;BR /&gt;
&lt;BR /&gt;
Could you please help me to find out how could I pass the value of &amp;amp;path to remote sas session.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Tue, 17 Jun 2008 20:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26065#M4605</guid>
      <dc:creator>sarunas</dc:creator>
      <dc:date>2008-06-17T20:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a value of macro variable to remote sas session with autosignon</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26066#M4606</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I think %sysLput should work:-) but look&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/6/883.html" target="_blank"&gt;http://support.sas.com/kb/6/883.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
M.

Message was edited by: matej@comma</description>
      <pubDate>Wed, 18 Jun 2008 07:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26066#M4606</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-18T07:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a value of macro variable to remote sas session with autosignon</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26067#M4607</link>
      <description>Thanks Matej for your help. I have not seen this information before, but I have experienced it... &lt;BR /&gt;
&lt;BR /&gt;
Is it something like a gap in interface between sas macro and MP/connect, that there is no way to pass a value of macro variable from client to server sas sessions ?</description>
      <pubDate>Wed, 18 Jun 2008 10:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26067#M4607</guid>
      <dc:creator>sarunas</dc:creator>
      <dc:date>2008-06-18T10:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a value of macro variable to remote sas session with autosignon</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26068#M4608</link>
      <description>You should try something like this. I suppose, that it will work with AUTOSIGNON and CWAIT = NO option too. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
%macro test;&lt;BR /&gt;
	%let PATH=/disk1/folder1fsdfsdf;&lt;BR /&gt;
&lt;BR /&gt;
	data LOCAL_MACROS;&lt;BR /&gt;
		length PATH $2000;&lt;BR /&gt;
		PATH = "&amp;amp;path";&lt;BR /&gt;
	run;&lt;BR /&gt;
&lt;BR /&gt;
	rsubmit;&lt;BR /&gt;
		proc upload data = LOCAL_MACROS OUT = SERVER_MACROS;&lt;BR /&gt;
		run;&lt;BR /&gt;
&lt;BR /&gt;
		data _null_;&lt;BR /&gt;
			set SERVER_MACROS;&lt;BR /&gt;
			call symPut("S_PATH", PATH);&lt;BR /&gt;
		run;&lt;BR /&gt;
	endrsubmit;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%test;&lt;BR /&gt;
&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
	%put &amp;amp;S_PATH;	&lt;BR /&gt;
endrsubmit;</description>
      <pubDate>Wed, 18 Jun 2008 14:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26068#M4608</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-18T14:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a value of macro variable to remote sas session with autosignon</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26069#M4609</link>
      <description>Nice work around Matej &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Thank a lot for your example &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Sarunas</description>
      <pubDate>Thu, 19 Jun 2008 11:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Passing-a-value-of-macro-variable-to-remote-sas-session-with/m-p/26069#M4609</guid>
      <dc:creator>sarunas</dc:creator>
      <dc:date>2008-06-19T11:41:14Z</dc:date>
    </item>
  </channel>
</rss>

