<?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: exporting files to local SAS EG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218504#M40241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fadel, Please mark the question as answered.&amp;nbsp; It helps the community run smoother.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 11:15:47 GMT</pubDate>
    <dc:creator>Steelers_In_DC</dc:creator>
    <dc:date>2015-04-10T11:15:47Z</dc:date>
    <item>
      <title>exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218499#M40236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;im working in SAS EG and want my programm to export excel files in local, but when i affect path to output statement in the proc export it display the following error:&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, /SAS92/config/Lev1/SASApp/C:\Documents and Settings\louzia\Bureau\12032015 projet TDB prepaid &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustapha\echantillon_OTHMANE.xls.&lt;/P&gt;&lt;P&gt;This is what my server looks like:&lt;/P&gt;&lt;P&gt;Serveur&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; user_folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sasuser&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; personne1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; personne2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; personne10 (Me)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelfiles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfile.xls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218499#M40236</guid>
      <dc:creator>fadel</dc:creator>
      <dc:date>2015-04-10T08:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218500#M40237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your SAS (behind EG) is not local, it is installed on a remote UNIX server. Either use the EG export wizard (which can write to your local disk), or write the file to your UNIX home directory and copy it from there to your local disk (eg with WinSCP).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218500#M40237</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-10T08:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218501#M40238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but how can i write the file to my UNIX home directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218501#M40238</guid>
      <dc:creator>fadel</dc:creator>
      <dc:date>2015-04-10T08:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218502#M40239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks, i fond it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218502#M40239</guid>
      <dc:creator>fadel</dc:creator>
      <dc:date>2015-04-10T08:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218503#M40240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Knew that one was coming &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some things about the UNIX filesystem:&lt;/P&gt;&lt;P&gt;The character separating &lt;STRONG&gt;directories&lt;/STRONG&gt; is the forward slash, not the backward slash as in Windows&lt;/P&gt;&lt;P&gt;(Usage of the backslash in Windows comes from the fact that its ancestor CP/M had no directory hierarchy, but used the forward slash for commandline parameters; when Gates&amp;amp;Allen grafted the hierarchical filesystem to DOS 2, they used the backslash, instead of making DOS compatible with existing systems that had a hierarchical FS)&lt;/P&gt;&lt;P&gt;There are no drive designators, all file resources are "mounted" into a single tree&lt;/P&gt;&lt;P&gt;The tree starts with root (/); everything else is in subdirectories&lt;/P&gt;&lt;P&gt;A path starting with / originates from root and is called an absolute path; a path not starting with a / is called relative and denotes a path starting in the current working directory of the process. This is the reason why you see your "C:\Documents and Settings\...." appended to the working directory of the SAS workspace server.&lt;/P&gt;&lt;P&gt;As a big help, an environment variable ($HOME) is provided which contains the absolute path to your home directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to create a file in your home directory, use (as an example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set something;&lt;/P&gt;&lt;P&gt;file "$HOME/file.csv" &lt;EM&gt;file_options&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;put ......;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will then find this file in the Files section of your SASApp server in the server list in EG (you may have to refresh). Some file types can be transferred in EG by adding to the project and then exporting to the local disk.&lt;/P&gt;&lt;P&gt;My preferred method is to use WinSCP to do file transfers, as I can transfer anything and have total control over the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: directories instead of characters (see bold print)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218503#M40240</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-10T08:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: exporting files to local SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218504#M40241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fadel, Please mark the question as answered.&amp;nbsp; It helps the community run smoother.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-files-to-local-SAS-EG/m-p/218504#M40241</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-04-10T11:15:47Z</dc:date>
    </item>
  </channel>
</rss>

