<?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 connect to UNIX server using PC SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324039#M71883</link>
    <description>&lt;P&gt;First of all you need to confirm SAS/CONNECT is installed and licensed on both your PC and SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, I suggest you ask your SAS admin if the SAS/CONNECT spawner is running or not. If it is then you don't need to use a script file at all and just use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;signon  hostname userid=abc password='xyz';&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 11 Jan 2017 20:02:13 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-01-11T20:02:13Z</dc:date>
    <item>
      <title>How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324037#M71881</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Hello, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I am not sure if this question if for this board however I hope someone can assist me. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;My question is how to connect to UNIX server using PC SAS. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I have data that is submitted in a UNIX server. I would like to be able to connect to this server via my PC SAS and get the data out. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Currently I use Putty and WinSCP to FTP data over. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I tried using the following commands (note items in { } are purposely incorrect information to protect confideintality)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;OPTIONS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; REMOTE={remote host name}&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;COMAMID&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=TCP;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FILENAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; RLINK &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"{full directory path to scr file }\tcpunix.scr"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;SIGNON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; {remote host name};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I know I am missing a few command step. I need to add a username and password as well, as I enter that when I access UNIX. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Can anyone assist in fixing the command above. Or suggest another way of connecting to UNIX server to extract data. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you in Advance!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 19:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324037#M71881</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2017-01-11T19:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324039#M71883</link>
      <description>&lt;P&gt;First of all you need to confirm SAS/CONNECT is installed and licensed on both your PC and SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, I suggest you ask your SAS admin if the SAS/CONNECT spawner is running or not. If it is then you don't need to use a script file at all and just use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;signon  hostname userid=abc password='xyz';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324039#M71883</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-01-11T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324049#M71889</link>
      <description>&lt;P&gt;Have you tried use &lt;STRONG&gt;FILENAME&lt;/STRONG&gt; fileref &lt;STRONG&gt;FTP&lt;/STRONG&gt; "...";&lt;/P&gt;
&lt;P&gt;See documentation in next link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm" target="_self"&gt;https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or next link, depending what sas version you use:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/63323/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm" target="_self"&gt;https://support.sas.com/documentation/cdl/en/lestmtsref/63323/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324049#M71889</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-11T20:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324245#M71966</link>
      <description>&lt;P&gt;Somewhat dated but I attached instruction on installing SAS connect(circa 2000 windows to unix), I hope SAS has not removed functionality needed to set up the environment. It used to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find SAS connect to be the best enviroment for SAS development, especially if you use the old text editor(not EE, EG or SAS studio). You get both the power of full SAS on your power workstation but a direct bi-directional persistent connection to a full SAS running on the sever(no VM or EG on server).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 60 editor tasks, 20 or so on my 5 button mouse, all available command line or function keys. These tasks like list the lat 40 obs of last created dataset, have both local or server actions lst for loacal dataset and lstr if dataset remote.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324245#M71966</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2017-01-12T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324254#M71970</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The remote host name is two parts, &amp;lt;machine name&amp;gt; &amp;lt;service port&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can provide it in several flavors&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;machine name&amp;gt;.&amp;lt;service port alias&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;machine name and server port alias&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;machine name&amp;gt; &amp;lt;server port&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first and the second depends on aliases defined in the host file of your windows desktop (I'm assuming you are trying to connect from a windows workstation).&amp;nbsp;So, if your not sure what it's this about, use the third form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;signoff unixsrv; * close any previous conection;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let unixsrv= unixservername&amp;nbsp;7551; * 7551 is the common SAS/CONNECT port, not necessarly yours;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;options comamid=tcp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;signon &lt;SPAN&gt;unixsrv&amp;nbsp;&lt;/SPAN&gt;user=_prompt_; * will prompt for user and password;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Not sure if you need some aditional login steps with a tcpscript, try the above first.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Of course, as it was pointed before, you will need SAS/CONNECT licensed on both machines.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;submit (on both machines):&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;proc setinit; run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;to check this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Hope it Helps.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Daniel Santos&amp;nbsp;@ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324254#M71970</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2017-01-12T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324448#M72040</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Hello thank you for your reply and suggestion:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;So I tried one of the examples in the link you provided (&lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm&lt;/A&gt;) Specifically example 2 as that is exactly what I would like to do but I am not getting the syntax completely correct. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Example below of my syntax and question: &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; myfile &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ftp&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'[name of SAS dataset in UNIX here]'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;cd&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;FONT color="#800080"&gt;'[Directory location of SAS dataset]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;user&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'[username to connect to UNIX'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;host&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;FONT color="#800080"&gt;'UNIX host address here'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;recfm&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=v &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;prompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I seem to get the above command correct (at least there are no errors, but nothing really happens). &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Now I am a bit confused as to the next step of the example (I pasted the example below).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I dont understand for a SAS permananet dataset how the next step works (actually it doesnt, right?)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;data mydata / view=mydata;&amp;nbsp;&amp;nbsp; /* Create a view */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; infile myfile;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; input x $10. y 4.;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=mydata;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Print the data */&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Also in other posts they state that I have to have SAS/Connect in both the windows environemtn and UNIX environment for the CONNECT to work. I worked and I dont have SAS/CONNECT in the UNIX environment. However, if I want to just get a file from UNIX and bring it over to Windows (be the file be an excel, txt or sas permanent dataset) do I still need to have SAS/CONNECT in both environments? I would think not, especially if the above code works, right? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;A little bit of my background: I am a self learner of UNIX, so some of the language I wont get right away. Examples help me greatly!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you all in advance! I appreciate this forum and all those who contribute to it!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324448#M72040</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2017-01-13T00:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324449#M72041</link>
      <description>&lt;P&gt;I checked and unfortunatley in SAS UNIX I dont have SAS/CONNECT. However, what if I just want to connect to unix to get a file over to windows? Kind of like an FTP over, then do I still need to have both systems have SAS/CONNECT? I am not wanting to run SAS command in UNIX via PC SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another contributer suggested this link : &lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0v0ijxl1k6d4bn16cshtic7u4i3.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and example 2 in this link is I belive what I need, but it is still not clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help and suggestions would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324449#M72041</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2017-01-13T00:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324462#M72045</link>
      <description>&lt;P&gt;Your main question is: &amp;nbsp; &lt;STRONG&gt;"How to connect to UNIX server using PC SAS ?"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and you noticed&amp;nbsp;&lt;STRONG&gt;"Currently I use Putty and WinSCP to FTP data over."&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it mean that you have installed SAS on a PC with windows OS ?&lt;/P&gt;
&lt;P&gt;What kind of data do you have on your UNIX computer ? Is it a UNIX &lt;STRONG&gt;SAS&lt;/STRONG&gt; server ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You said you are a &lt;STRONG&gt;self lerner.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Does it mean you installed &lt;STRONG&gt;SAS University Edidion&lt;/STRONG&gt; on your PC ? On the UNIX computer ?&lt;/P&gt;
&lt;P&gt;Do you have SAS installed on both - PC and UNIX ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using &lt;STRONG&gt;FILENAME xxx FTP &amp;nbsp;&lt;/STRONG&gt;enables read and write a "flat" file like &lt;STRONG&gt;.txt&lt;/STRONG&gt; , &lt;STRONG&gt;.csv&amp;nbsp;&lt;/STRONG&gt; files from/on remote host.&lt;/P&gt;
&lt;P&gt;Using&amp;nbsp;&lt;STRONG&gt;FILENAME xxx&amp;nbsp;&lt;/STRONG&gt;(excel or xml) enable read/create such files from/on local host.&lt;/P&gt;
&lt;P&gt;The words FTP EXCEL XML etc. in a filename, comming after the fileref, are called engines.&lt;/P&gt;
&lt;P&gt;I have never met a filename with combination of engines. I'm quite sure it is impossible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS server and sas datasets on remote host, than you need SAS CONNECT in order&lt;/P&gt;
&lt;P&gt;use them with local sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made a search by google &amp;nbsp;for "sas support remote host data" and got a lot of links.&lt;/P&gt;
&lt;P&gt;I think that next link will give you a betterr information on SAS CONNECT:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/training/tutorial/el/libspcnd_rh.pdf" target="_self"&gt;https://support.sas.com/training/tutorial/el/libspcnd_rh.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but if you use SAS UE (University Edition) then you don't have SAS CONNECT installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:32:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324462#M72045</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-13T05:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324463#M72046</link>
      <description>&lt;P&gt;You may want read also:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.howtogeek.com/176471/how-to-share-files-between-windows-and-linux/" target="_self"&gt;http://www.howtogeek.com/176471/how-to-share-files-between-windows-and-linux/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324463#M72046</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-13T05:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324763#M72114</link>
      <description>&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;I will look at the links&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to respond to your questions in purple:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it mean that you have installed SAS on a PC with windows OS ? &lt;FONT color="#800080"&gt;--&amp;gt; I have SAS installed in both PC with windows and SAS installed in UNIX.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What kind of data do you have on your UNIX computer ? &lt;FONT color="#800080"&gt;--&amp;gt; I have different data in UNIX computer, from .dat files to excel files (that were FTPd from windows) and sas permanent data sets.&lt;/FONT&gt; Is it a UNIX &lt;STRONG&gt;SAS&lt;/STRONG&gt; server ?&lt;FONT color="#800080"&gt; --&amp;gt; I dont belive it is a UNIX SAS server but will have to check again.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You said you are a &lt;STRONG&gt;self lerner. &lt;FONT color="#800080"&gt;--&amp;gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#800080"&gt;I meant self learner in codes and commnads. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;Softwares were installed on my compter for work. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Does it mean you installed &lt;STRONG&gt;SAS University Edidion&lt;/STRONG&gt; on your PC ? On the UNIX computer ?&lt;/P&gt;&lt;P&gt;Do you have SAS installed on both - PC and UNIX ? &lt;FONT color="#800080"&gt;-&amp;gt; SAS is installed in both PC and UNIX.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you again and I will reserach the links.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 23:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324763#M72114</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2017-01-13T23:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324768#M72118</link>
      <description>&lt;P&gt;If you're able to download files via Putty then you have a good chance that it's also possible directly out of SAS via a &lt;EM&gt;Filename&lt;/EM&gt; statement using the &lt;EM&gt;sFTP&lt;/EM&gt; engine. Documentation here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0xln1fiwsr340n1xxf4mkmfxp6f.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#p0xln1fiwsr340n1xxf4mkmfxp6f.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS/Connect allows communication between two SAS servers (your remote server and your local "PC SAS" server). Using SAS connect when exchanging SAS files has the advantage that SAS will convert the SAS files to the native representation of the host you're using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When downloading SAS files from a SAS Unix to a SAS Windows environment via sFTP then&amp;nbsp;you get files which are no more in the native representation of the host system and there are some limitations to it.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p1kll044bewka4n12ah0n5pl9aq1.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p1kll044bewka4n12ah0n5pl9aq1.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/movefile/69975/HTML/default/viewer.htm#n061eapioxlebin1048mmg4x1ywc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/movefile/69975/HTML/default/viewer.htm#n061eapioxlebin1048mmg4x1ywc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#n0oj2nagtyy32yn17pj01t6vytaw.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#n0oj2nagtyy32yn17pj01t6vytaw.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 01:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324768#M72118</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-01-14T01:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to UNIX server using PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324776#M72121</link>
      <description>&lt;P&gt;Thank you again for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like I have a lot to read up on.&lt;/P&gt;&lt;P&gt;I'll look at the links to see if I can get some clues on how to do this.&lt;/P&gt;&lt;P&gt;If this works this will help with my work greatly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 01:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-UNIX-server-using-PC-SAS/m-p/324776#M72121</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2017-01-14T01:54:31Z</dc:date>
    </item>
  </channel>
</rss>

