<?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: how to include macros which are in local server in my SAS program and run the program in a remote server? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131213#M10697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your question right then you're using mp-connect (rsubmit blocks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so then below link should answer your question: &lt;A href="http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm" title="http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm"&gt;http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Jun 2012 02:26:00 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2012-06-03T02:26:00Z</dc:date>
    <item>
      <title>how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131212#M10696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a set of standard Macros in our local server. I wonder how to include these macros in my SAS program and run the program in remote server? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 19:52:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131212#M10696</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2012-06-01T19:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131213#M10697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your question right then you're using mp-connect (rsubmit blocks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so then below link should answer your question: &lt;A href="http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm" title="http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm"&gt;http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#a002590516.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2012 02:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131213#M10697</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-06-03T02:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131214#M10698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could upload the source code for the macro definition and then either %INC it or autosource it.&lt;/P&gt;&lt;P&gt;filename local 'local path';&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;filename remote 'remote path';&lt;/P&gt;&lt;P&gt;proc upload infile=local('xxx.sas') outfile=remote('xxx.sas') status=n; run;&lt;/P&gt;&lt;P&gt;%inc remote('xxx.sas');&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do they change frequently?&amp;nbsp; If not then just copy them to the remote server once and point to them the same way that you point to them on your local SAS sessions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 00:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131214#M10698</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-06-04T00:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131215#M10699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%SYSLPUT (and the reverse %SYSRPUT) will work for macro variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 00:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131215#M10699</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-06-04T00:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131216#M10700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tom and Patrick.&lt;/P&gt;&lt;P&gt;What we don't want is to keep two copies of macros (one in local PC, the other one is in remote UNIX server). Instead we prefer to keep only one set of macros in our local machine to facilitate the management. I didn't try the proc upload yet, but just wonder whether there is any other better way to implement it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 17:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131216#M10700</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2012-06-04T17:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to include macros which are in local server in my SAS program and run the program in a remote server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131217#M10701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option is to run Samba on the UNIX server.&amp;nbsp; I haven't administered it, but as a user the end result is that the autocall library is sitting on the Unix box, but in windows you can map a drive to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the macro definitions might sit in /autocall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And your PC config.sas would point to Q:/autocall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked great (only gotcha is that on unix, the filenames in the autocall library have to be lowcase!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have Samba where I'm set up now, so agree it would be nice to have a solution for this.&amp;nbsp; Currently I just copy files from Windos to Unix when I update the macro library, which isn't that often....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 19:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-include-macros-which-are-in-local-server-in-my-SAS/m-p/131217#M10701</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-06-04T19:39:47Z</dc:date>
    </item>
  </channel>
</rss>

