<?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: Accessing two servers simultaneouslyn in from SAS EG 7.1 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515951#M139303</link>
    <description>&lt;P&gt;Hi Brem, Thanks for your response. But when I tried the below syntax you given I am getting an following error message, Could you please suggest me some way to overcome it ??&lt;/P&gt;&lt;P&gt;Note: Instead of user name - I given my username, and for server- given meta data server which we are going to access from different server, path- particular path from that server&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient authorization to access PIPE.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the FILENAME statement. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: No logical assign for filename SFTPCMD.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 11:43:02 GMT</pubDate>
    <dc:creator>arunrami</dc:creator>
    <dc:date>2018-11-26T11:43:02Z</dc:date>
    <item>
      <title>Accessing two servers simultaneouslyn in from SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515528#M139104</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder is there any possibility to run a SAS program against two different linux server at the same time? For Eg:- I have code which should read the file name in particular path from server X and Server Y and store it in to the data set library which resides in server X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there any programmatic way or admin level solution to do that. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 11:45:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515528#M139104</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2018-11-23T11:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing two servers simultaneouslyn in from SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515533#M139107</link>
      <description>&lt;P&gt;So you want to create a list of files which are stored in separate paths on separate servers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd try to read the directory listings with sftp, and later combine the results into one dataset:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename sftpcmd pipe "echo 'ls *'|sftp -q user@server:/path";

data dir1;
infile sftpcmd;
length line $100;
input;
line = _infile_;
if substr(line,1,4) not in ('Conn','sftp') and substr(line,length(line)) ne '/';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need to have public/private key authentication, so you don't need a password.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 12:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515533#M139107</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-23T12:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing two servers simultaneouslyn in from SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515951#M139303</link>
      <description>&lt;P&gt;Hi Brem, Thanks for your response. But when I tried the below syntax you given I am getting an following error message, Could you please suggest me some way to overcome it ??&lt;/P&gt;&lt;P&gt;Note: Instead of user name - I given my username, and for server- given meta data server which we are going to access from different server, path- particular path from that server&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient authorization to access PIPE.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the FILENAME statement. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: No logical assign for filename SFTPCMD.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515951#M139303</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2018-11-26T11:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing two servers simultaneouslyn in from SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515955#M139306</link>
      <description>&lt;P&gt;Which means that the default NOXCMD option is in place in your SAS server setup. So you either need to have that enabled by the SAS administrator, or find another way to connect to the servers. If all participating servers have SAS installed, and SAS/CONNECT licensed, you could use that, and the file functions from within SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-two-servers-simultaneouslyn-in-from-SAS-EG-7-1/m-p/515955#M139306</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-26T12:11:09Z</dc:date>
    </item>
  </channel>
</rss>

