<?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: E. Guide: Save files in other server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72459#M7213</link>
    <description>I think that I can not do it through code.&lt;BR /&gt;
&lt;BR /&gt;
ok, thanks a lot everybody.</description>
    <pubDate>Thu, 16 Sep 2010 19:22:16 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-09-16T19:22:16Z</dc:date>
    <item>
      <title>E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72452#M7206</link>
      <description>We're working in a server with OS UNIX (AIX). We want to export a lot of files (PROC EXPORT) to a local pc (OS Windows), but we got an error message. We tried to create a library in this server routed to windows pc. is it possible? how do I do?&lt;BR /&gt;
&lt;BR /&gt;
this code, I run in server:&lt;BR /&gt;
Libname mylib '\\172.1.1.11\files\'&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Luis</description>
      <pubDate>Wed, 15 Sep 2010 17:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72452#M7206</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-15T17:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72453#M7207</link>
      <description>Please share your complete PROC EXPORT code and SAS log with error messages. We cannot provide the best advice without knowing the full story. For example we do not know what format your exported files are (CSV, Excel, Access, etc...)</description>
      <pubDate>Wed, 15 Sep 2010 21:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72453#M7207</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-09-15T21:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72454#M7208</link>
      <description>I need to export files from Server (UNIX) to my pc(Windows). Thanks.&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= WORK.Data&lt;BR /&gt;
      OUTFILE= "d:\Datos de Usuarios\S08027\My Documents\Data.csv"&lt;BR /&gt;
      DBMS=CSV REPLACE;&lt;BR /&gt;
      RUN;&lt;BR /&gt;
&lt;BR /&gt;
-------LOG-------------&lt;BR /&gt;
ERROR: Insufficient authorization to access /sas/SASConfig/Lev1/SASMain/d:\Datos de Usuarios\S08027\My Documents\Data.csv.</description>
      <pubDate>Wed, 15 Sep 2010 23:12:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72454#M7208</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-15T23:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72455#M7209</link>
      <description>Your OUTFILE = string needs to reference your PC from your Unix server. Is this what you were trying to do in your first message with: '\\172.1.1.11\files\'? If so try this in your OUTFILE=.

Message was edited by: SASKiwi</description>
      <pubDate>Thu, 16 Sep 2010 05:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72455#M7209</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-09-16T05:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72456#M7210</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
If you look at the path in the ERROR log you will see that the part before d:\ is actually a UNIX path.&lt;BR /&gt;
&lt;BR /&gt;
What happens here is:&lt;BR /&gt;
As the code runs on the UNIX server path names must be declared as the UNIX server sees them. The path you pass to PROC EXPORT is a Windows path (as you might have mapped it on your PC) about which the UNIX server knows nothing - and because the path starts with "d" UNIX thinks this a a partial path starting from where you are right now in the moment (which is the directory from where you start SAS on the server).&lt;BR /&gt;
&lt;BR /&gt;
Easiest would be you point OUTFILE to a directory on a share which you also can map from your PC.&lt;BR /&gt;
&lt;BR /&gt;
If this is only a once off: What about just manually selecting work.data, left click, chose export and as file type .csv.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Thu, 16 Sep 2010 13:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72456#M7210</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-09-16T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72457#M7211</link>
      <description>I understand that the path is the problem, what do I modify in this code? &lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= WORK.Data  &lt;I&gt;/* This dataset is in UNIX Server*/&lt;/I&gt;&lt;BR /&gt;
OUTFILE= "\\193.29.1.1\Target\Data.csv" &lt;I&gt;/*this path is a windows pc*/&lt;/I&gt;&lt;BR /&gt;
DBMS=CSV REPLACE;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
thanks a lot for your help. SOS!&lt;BR /&gt;
&lt;BR /&gt;
Luis

Message was edited by: LuchoR</description>
      <pubDate>Thu, 16 Sep 2010 15:15:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72457#M7211</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-16T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72458#M7212</link>
      <description>In this case, you need your UNIX server to drop a file to your Windows PC.  You would need to use a drive-mapping technology such as SAMBA (so you can address your UNIX path from your PC as a mapped drive), or get fancier to push the CSV file to the PC using FTP (using the FTP method in the FILENAME statement).&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 16 Sep 2010 16:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72458#M7212</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-09-16T16:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72459#M7213</link>
      <description>I think that I can not do it through code.&lt;BR /&gt;
&lt;BR /&gt;
ok, thanks a lot everybody.</description>
      <pubDate>Thu, 16 Sep 2010 19:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72459#M7213</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-16T19:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72460#M7214</link>
      <description>Yes you can do it through code using the FILENAME statement and the FTP option. Check this out in SAS online help. However it would be a good idea to talk to your Unix system administrator to see if the security/network setup at your site would allow this in the first place. If you are not familiar with FTP it stands for File Transfer Protocol and is an easy way to move files between computers especially those with different operating systems.</description>
      <pubDate>Fri, 17 Sep 2010 01:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72460#M7214</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-09-17T01:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: E. Guide: Save files in other server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72461#M7215</link>
      <description>Thanks SASKiwi. Unix is causing me problems!!.&lt;BR /&gt;
&lt;BR /&gt;
Luis</description>
      <pubDate>Fri, 17 Sep 2010 14:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/E-Guide-Save-files-in-other-server/m-p/72461#M7215</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-17T14:16:39Z</dc:date>
    </item>
  </channel>
</rss>

