<?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: remote libname statement in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412498#M26537</link>
    <description>&lt;P&gt;thanks Tom. I used it outside of rsubmit/endrsubmit block and it worked fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;endrsubmit;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;ODS _ALL_ CLOSE;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;prod print data....&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ya, so I was trying to define libname statement to output final datasets to serverB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 20:28:03 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2017-11-10T20:28:03Z</dc:date>
    <item>
      <title>remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411600#M26445</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my goal is kick off&amp;nbsp;sas (9.4 on linux) eg job from &lt;STRONG&gt;server-A&lt;/STRONG&gt; and remote submit code on &lt;STRONG&gt;server-B&lt;/STRONG&gt; (so job will be running here on server-B) and get&amp;nbsp;results back on &lt;STRONG&gt;Server-A&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure how to define libname statement to achieve it,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying with below statement which doesn't seems working,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;libname remote "serverA.com:\test"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 17:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411600#M26445</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-08T17:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411716#M26450</link>
      <description>Could you clarify a little? Where is the data you want your libname statement pointing to? Is it on server A or Server B?  Also, is Server A your 9.4 Linux machine, or is Server A your EG session?</description>
      <pubDate>Wed, 08 Nov 2017 21:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411716#M26450</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2017-11-08T21:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411734#M26451</link>
      <description>&lt;P&gt;thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;both servers has sas 9.4 installed on Linux.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the case,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- running sas eg job from server-A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;- this job has remote submit code which is asking sas to run job on server- B - which is happening fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;- sas job runs without error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; - since sas job executing on server - B - output is happening there&lt;/P&gt;
&lt;P&gt;- I want output on server- A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope that make sense.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 22:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411734#M26451</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-08T22:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411743#M26452</link>
      <description>There are multiple options. PROC DOWNLOAD would probably be the easiest though. &lt;BR /&gt;Michelle Buchecker &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Nov 2017 22:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411743#M26452</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2017-11-08T22:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411779#M26454</link>
      <description>&lt;P&gt;What do you mean by "output"? I will assume because you mentioned libname that you mean datasets.&lt;/P&gt;
&lt;P&gt;You could just download them.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* running sas eg job from server-A ;
rsubmit serverB ;
* running job on serverB ;
data remoteds;
  ....
run;
proc download data=remoteds out=localds status=n; run;
endrsubmit;
* back on serverA;
proc print data=localds; 
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also look into the INHERITLIB= option on the RSUBMIT/SIGNON commands.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname local 'path1';
rsubmit serverb INHERITLIB=(local) ;
data local.want ;
 ....
run;
endrsubmit;
proc print data=local.want;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Nov 2017 00:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/411779#M26454</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-11-09T00:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412446#M26531</link>
      <description>&lt;P&gt;Thanks Tom and Mbuchecker.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway&amp;nbsp;to NOT generate default html output when getting data back on server-A, I can use just SAS dataset. generating html takes lot of time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;SPAN class="token comment"&gt;* back on serverA;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366ff"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;print&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;localds&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366ff"&gt;&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 18:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412446#M26531</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-10T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412456#M26532</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;ODS HTML CLOSE;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to turn off generating HTML&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 18:34:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412456#M26532</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2017-11-10T18:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412470#M26534</link>
      <description>&lt;P&gt;not quite sure where exactly it should goes,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried before proc print and after but still it is generating html output. - thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 18:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412470#M26534</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-10T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412474#M26535</link>
      <description>&lt;P&gt;It should go before the PROC PRINT. Perhaps WAY before the PROC PRINT. My guess is that some report is generating on Server B, and then being shown. Try putting the ODS HTML Close; in your RSUBMIT block.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 18:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412474#M26535</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2017-11-10T18:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412475#M26536</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Tom and Mbuchecker.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway&amp;nbsp;to NOT generate default html output when getting data back on server-A, I can use just SAS dataset. generating html takes lot of time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;SPAN class="token comment"&gt;* back on serverA;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366ff"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;print&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;localds&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366ff"&gt;&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why is the code you want to submitted to a remote server generating ANY output?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could include try using ODS _ALL_ CLOSE in the rsubmit block to turn off all output destinations, but it would probably be better to only run code that doesn't generate any output to begin wiht.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or is that your whole point and your use of LIBNAME in the original question just causing confusion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use PROC DOWNOAD to move files in addition to datasets.&amp;nbsp; So if you generated HTML in the remote session to a file named serverb.html you could run PROC DOWNLOAD at the end of the remote code to copy that to a file on the local session.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or just use a shared disk that all sessions can wrtie/read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 19:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412475#M26536</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-11-10T19:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: remote libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412498#M26537</link>
      <description>&lt;P&gt;thanks Tom. I used it outside of rsubmit/endrsubmit block and it worked fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;endrsubmit;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;ODS _ALL_ CLOSE;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;prod print data....&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ya, so I was trying to define libname statement to output final datasets to serverB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 20:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/remote-libname-statement/m-p/412498#M26537</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-10T20:28:03Z</dc:date>
    </item>
  </channel>
</rss>

