<?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 How to deal with macro variables with remote submission in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-deal-with-macro-variables-with-remote-submission/m-p/160928#M31302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a code that I can execute in my local machine without any problem. Now I want to submit my code to the remote server for executing. I need to make a some adjustments. In my code I have many macro variables defined using %let. As well as some dataset in my local machine. To submit the code to remote server, I have the following paragraph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let wrds=wrds.wharton.upenn.edu 4016;&lt;/P&gt;&lt;P&gt;options comamid=TCP remote=WRDS;&lt;/P&gt;&lt;P&gt;signon username= xxxxxx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is where I should put my defined macro variables as well as dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 22:07:53 GMT</pubDate>
    <dc:creator>SeanZ</dc:creator>
    <dc:date>2014-02-03T22:07:53Z</dc:date>
    <item>
      <title>How to deal with macro variables with remote submission</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deal-with-macro-variables-with-remote-submission/m-p/160928#M31302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a code that I can execute in my local machine without any problem. Now I want to submit my code to the remote server for executing. I need to make a some adjustments. In my code I have many macro variables defined using %let. As well as some dataset in my local machine. To submit the code to remote server, I have the following paragraph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let wrds=wrds.wharton.upenn.edu 4016;&lt;/P&gt;&lt;P&gt;options comamid=TCP remote=WRDS;&lt;/P&gt;&lt;P&gt;signon username= xxxxxx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is where I should put my defined macro variables as well as dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 22:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deal-with-macro-variables-with-remote-submission/m-p/160928#M31302</guid>
      <dc:creator>SeanZ</dc:creator>
      <dc:date>2014-02-03T22:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with macro variables with remote submission</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deal-with-macro-variables-with-remote-submission/m-p/160929#M31303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The question is where do you want your macro variables to be resolved? On your local machine, your remote server, or both?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you explore the %SYSLPUT and %SYSRPUT macro statements. They allow you to assign macro variables between local to remote SAS sessions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 03:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deal-with-macro-variables-with-remote-submission/m-p/160929#M31303</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-02-04T03:27:25Z</dc:date>
    </item>
  </channel>
</rss>

