<?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: import/export from PC to UNIX in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346781#M63585</link>
    <description>&lt;P&gt;this is really&amp;nbsp; helpful&lt;/P&gt;
&lt;P&gt;thanks Reeza&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2017 17:46:11 GMT</pubDate>
    <dc:creator>Tal</dc:creator>
    <dc:date>2017-04-03T17:46:11Z</dc:date>
    <item>
      <title>import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345767#M63529</link>
      <description>&lt;P&gt;H,i&lt;/P&gt;
&lt;P&gt;i am&amp;nbsp; running EG SAS remotly and i want to&amp;nbsp; import/export&amp;nbsp; files&amp;nbsp; from /to my PC . How do i do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i found&amp;nbsp; something online:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.temp &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Y:\WCR\test.xlsx' &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=accesscs &lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;port=..&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; server=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;myserver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;but how do i find which port i need to use and&amp;nbsp; also myserver would be the windows server&amp;nbsp; right?&amp;nbsp; Can i&amp;nbsp; get&amp;nbsp; that info&amp;nbsp; from my system. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Please anyone&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;thx&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345767#M63529</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-03-30T14:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345861#M63540</link>
      <description>&lt;P&gt;You're better off asking a colleague for instructions because set ups vary so you need to know how your system is set up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, you should be able to use the GUI import/export in EG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to do it using a program you should upload/move the excel file to the server first, because the server won't see your local drive. Unless you're running EG locally, but i suspect you're on a server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 18:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345861#M63540</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-30T18:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345865#M63541</link>
      <description>&lt;P&gt;thanks Reeza for the answer&lt;/P&gt;
&lt;P&gt;All my co workers are using and&amp;nbsp; been using pc sas and&amp;nbsp; now we are all switching to EG and none of us&amp;nbsp; has a&amp;nbsp; clue how to get import and&amp;nbsp; export files&amp;nbsp; from and&amp;nbsp; back to PC&lt;/P&gt;
&lt;P&gt;So anyhting like signon/resubmit.... wont work&amp;nbsp;here the way it works&amp;nbsp; when&amp;nbsp; u accessing unix&amp;nbsp; from pc&amp;nbsp; remotly?&lt;/P&gt;
&lt;P&gt;Thsi&amp;nbsp; might be&amp;nbsp; a silly&amp;nbsp; question but i dont have much knowledge about it&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 18:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345865#M63541</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-03-30T18:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345910#M63544</link>
      <description>&lt;P&gt;It sounds like with EG in a server set up. This means that SAS is no longer on your computer and ALL programs are essentially 'rsubmit' to the server by default. &amp;nbsp;You MAY have the option to run locally, if so you'll see a drop down to switch beside the RUN button that allows you to specify where your process is working. You can only work locally or on the server and not back and forth like you may have previously done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to upload your Excel files to a server location and then use PROC IMPORT with the files on the server OR use the point and click interface to &amp;nbsp;import the files into your programs. It does make it hard to streamline processes. If you had access to X command or DDE those are likely gone as well.&amp;nbsp;If your'e using the newest EG version, the copy files task should be installed to move your files onto the server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 19:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345910#M63544</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-30T19:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345983#M63552</link>
      <description>Thx Reeza. Its EG SAS 5.1 so no i would not have that "copy files" feature and i cannot even create folders in PC from UNIX right? Anything there équivalent to the x command that windows has?</description>
      <pubDate>Thu, 30 Mar 2017 22:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/345983#M63552</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-03-30T22:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346495#M63563</link>
      <description>&lt;P&gt;You can download and use the COPY task, you may need administrative privileges.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding X privileges, it depends on what you're trying to do. You can determine folder listings and files using FINFO functions. There's a macro inside the SAS 9.4 appendix that shows how. I think it will still work on your system if you're a few versions behind.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 17:15:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346495#M63563</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-02T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346496#M63564</link>
      <description>&lt;P&gt;You can download and use the COPY task, you may need administrative privileges.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding X privileges, it depends on what you're trying to do. You can determine folder listings and files using FINFO functions. There's a macro inside the SAS 9.4 appendix that shows how. I think it will still work on your system if you're a few versions behind.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 17:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346496#M63564</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-02T17:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346531#M63565</link>
      <description>Thx Reeza.&lt;BR /&gt;I looked for the copy files package and could not find it.&lt;BR /&gt;This site says its there but i dont see it:&lt;BR /&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2016/11/14/copy-files-task-moved-menus/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2016/11/14/copy-files-task-moved-menus/&lt;/A&gt;&lt;BR /&gt;Do you know if it can be found under a different name?&lt;BR /&gt;&lt;BR /&gt;In terms of the x commands... I just want to create folders to my pc (share srive)from my EG(remote sas sessions) &lt;BR /&gt;Something that you can do easily on pc sas:&lt;BR /&gt;X mkdir '\......." &lt;BR /&gt;Looked at those macros in the appendix none seems to take care of it</description>
      <pubDate>Sun, 02 Apr 2017 22:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346531#M63565</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-04-02T22:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346540#M63566</link>
      <description>&lt;P&gt;If the server has access to the shared drive this is possible. If it doesn't have access then it's likely not possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can look at several SAS functions to create the directory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option is DCREATE() function to create directories. Again, these all require the server to have access to the shared drive.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 23:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346540#M63566</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-02T23:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: import/export from PC to UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346781#M63585</link>
      <description>&lt;P&gt;this is really&amp;nbsp; helpful&lt;/P&gt;
&lt;P&gt;thanks Reeza&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 17:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-export-from-PC-to-UNIX/m-p/346781#M63585</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-04-03T17:46:11Z</dc:date>
    </item>
  </channel>
</rss>

