<?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: Unable to export data to local folders (PROC EXPORT in SAS EG) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159142#M41555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to check with you PC/server/network admin for help on user authorization.&lt;/P&gt;&lt;P&gt;First, do you use IWA in SAS?&lt;/P&gt;&lt;P&gt;Second, try to save it another more server friendly locatin, and try to map that from your PC instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 09:27:00 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2015-03-19T09:27:00Z</dc:date>
    <item>
      <title>Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159122#M41535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following problem. I'm trying to export some data to my local folder (in the example here to a text-file, but the same happens if trying to export to excel or access).&lt;/P&gt;&lt;P&gt;Here is the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;proc export data = sashelp.class&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;outfile = 'c:\dokus\class.txt'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;dbms = dlm replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;delimiter = '09'x;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I obtain this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: Courier New;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: Insufficient authorization to access /sas/config/Lev1/SASApp/c:\dokus\class.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, SAS don't unterstand that I want to export to a local folder and tries to export to some location on the remote server (I use SAS which is installed only on this remote server but not locally on my computer). My question - how can I tell SAS that I want to export to a local folder? It must be possible, I think, since I can very well export data to my local folders using SAS EG export wizards. (But this version of export is not sufficient for me because I cannot use macro variables through it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 13:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159122#M41535</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2013-11-28T13:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159123#M41536</link>
      <description>&lt;P&gt;Typically, this means your SAS EG session is hosted remotely. That is, EG is a natural interface to work on a server and thus, a path like 'c:\dokus\class.txt' is local to that server and then obviously, you don't have C drive priviledges on that remote server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your data resides on the server, you would need to find the full network path to your computer's C drive. Otherwise, you could just change the server in EG to "local" and run everything locally so it would recognize C:\ paths as local.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you have a shared drive user (typically not C:\), that you can read/write to, you can use properties of a folder on that shared drive to retrieve full path and use that to export. Similarly, you should be able to open network, find the network name of your PC on there and use a relative path like &lt;A&gt;\\pcname\users\yourusername\subfolder&lt;/A&gt; path\ as an export path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not a programmer and only use EG on occasion but this is how I run around this problem with local libname statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also look at EG export wizard's automatically generated code for a dummy export to your path above and reuse that code. It will probably retrieve and write the appropriate full path for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vincent&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Editor's note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt; &lt;A href="https://blogs.sas.com/content/sasdummy/2013/05/20/export-and-download-any-file-from-sas-enterprise-guide/" target="_self"&gt;See also this approach that uses PROC EXPORT to create a file&lt;/A&gt; in your SAS session, then the&lt;STRONG&gt; Copy Files task&lt;/STRONG&gt; in SAS Enterprise Guide to download the file to a local folder.&amp;nbsp; Use this approach when your SAS session and local desktop cannot access a common network share location.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exportflow_example.png" style="width: 189px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23809i5EF15E961F9E55D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="exportflow_example.png" alt="exportflow_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159123#M41536</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2018-10-05T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159124#M41537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Vincent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no local server because SAS is not installed on my PC. I can only use the remote server.&lt;/P&gt;&lt;P&gt;But the EG export wizard can somehow "find" my local folders.&lt;/P&gt;&lt;P&gt;Unfortunately I don't see how I can obtain the code behind the export wizard. I can only automatically generate code for queries but not for export steps. &lt;/P&gt;&lt;P&gt;And I don't understand how would the full network path to my computer's C drive help me. The problem is that SAS add automatically to my path the following:&lt;/P&gt;&lt;P&gt;"/sas/config/Lev1/SASApp/", no matter what my path is. How I can tell SAS not to do this? That's actually my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 14:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159124#M41537</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2013-11-28T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159125#M41538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As explained by Vince if you wish to reference your own PC drive you need to specify your OUTFILE like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outfile = '\\pcname\mycdrivefolder\subfolder\class.txt'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do this then "/sas/config/Lev1/SASApp/" will not appear in your path. It is because you don't have access to the C: drive mapping that you get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to talk to your IT support people to confirm if your SAS server can 'see' your C drive across the network and if so how you would reference it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 19:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159125#M41538</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-11-28T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159126#M41539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put double quotes around your outfile name ("c:\dokus\class.txt") instead of singles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 14:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159126#M41539</guid>
      <dc:creator>steven_taylor_gmfinancial_com</dc:creator>
      <dc:date>2013-11-29T14:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159127#M41540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;as &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:steven.taylor@gmfinancial.com"&gt;steven.taylor@gmfinancial.com&lt;/A&gt;&lt;SPAN&gt; said before , double quotes may work ! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 14:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159127#M41540</guid>
      <dc:creator>MohammadFayaz</dc:creator>
      <dc:date>2013-11-29T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159128#M41541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the server has no visibility of the C: drive, then the quotes are irrelevant. The automatic usage of /sas/config/Lev1/SASApp/ with a file location/name in EG indicates these possibilities:&lt;/P&gt;&lt;P&gt;1) a client/server install -- usually the Lev1/SASApp directory indicates a BI Platform install -- Usually, you talk to your administrators to get a writeable directory allocated to you on the server and you write your files to that location instead of your C drive.&lt;/P&gt;&lt;P&gt;2) usage of SAS OnDemand license -- which is also a client/server install, but instead of the server being your company's server, the SAS server is located in North Carolina and the client (EG) is on your PC -- this client has a few extra limitations than a company client/server install. For SAS OnDemand for Professionals or SAS OnDemand for Academics, there is a user directory allocated to each account (&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;xxxxxxxx&lt;/STRONG&gt;&lt;/SPAN&gt;) and you can write to that location. The location will be something like what is shown here for an ODS HTML step: &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ODS HTML FILE='/home/&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;xxxxxxxx&lt;/STRONG&gt;&lt;/SPAN&gt;/user/myreport.html';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc print data=sashelp.class;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ODS HTML CLOSE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using the UNC name, &lt;A href="https://communities.sas.com/"&gt;\\pcname\directory\subdir\&lt;/A&gt; method of pointing to a file should work for method #1, with a company client/server install assuming that the SAS server has visibility of &lt;A href="https://communities.sas.com/"&gt;\\pcname&lt;/A&gt; but will not work in the #2 method because the SAS server does not have visibility of your local machine for reading data files. There is only visibility of the connection between the two machines for running code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 15:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159128#M41541</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-11-30T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159129#M41542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is coming form EGuide using to a UNIX server.&lt;/P&gt;&lt;P&gt;As the home directory $HOME and ~ in Unix/Linux is as important as the %appdata% and "my documents", it is a little painfull the default settings by the SAS installation are wrong and ignoring the common Unix guidelines. With BI/DI usage the current dir is used relative and left at an unhappy location.&lt;/P&gt;&lt;P&gt;There is a SAS-note on that: &lt;A href="http://support.sas.com/kb/50/345.html" title="http://support.sas.com/kb/50/345.html"&gt;50345 - Changing the current working directory for the SAS® Workspace Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen an other correlated mistake in this area. That is the sasautos is also used as relative.path for SASenvironment (Config-files).&lt;/P&gt;&lt;P&gt;It is not an absolute one as other sasautos definitions using the Unix environment variables with a !. Get this to your platform-admin (unix) guy....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not use a fully qualified Windows path. Use a single name file.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;This will work on every type of server as long as the current directory is set to common conventions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Eguide you will find the file (txt) in your Unix home-dir. drag drop download as you like.&lt;/P&gt;&lt;P&gt;This is accessible in the file-tab of the server.&amp;nbsp;&amp;nbsp; The Lev1-location will be normally invisible ....&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 19:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159129#M41542</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-11-30T19:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159130#M41543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I see that I can't avoid this: "get this to your platform-admin (unix) guy....". &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;I wished I could because this guy sits 3000 miles away from me and usually don't respond to my emails (so I have to ask my boss to take influence...).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 08:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159130#M41543</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2013-12-02T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159131#M41544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Drboogie,&amp;nbsp; See some fun in this thread/reply. Ik know some people in this community altough they are often using unclear names. The not that amazing point is they are comming from all over the world.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You can find me very easy on linkedin. I gues the distance will be the same ammount statue miles. The Maximum of 10800nm/20000km is sometimes approached.&amp;nbsp; Distance should be no limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The platform role is a more difficult one. It is sometimes positioned as IT only sometimes as busines only the promotion of SAS (some blogs etc) they should fill the gap between them. Looks some expectations on that has not been fulfilled at your site/service.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 15:18:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159131#M41544</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-12-02T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159132#M41545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia:&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp; This worked for me right away.&amp;nbsp; And I was able to download the resulting file to my C:\ drive as well.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159132#M41545</guid>
      <dc:creator>janetts</dc:creator>
      <dc:date>2014-03-03T18:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159133#M41546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had that problem too, until I read the solution provided by Cynthia@SAS below.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159133#M41546</guid>
      <dc:creator>janetts</dc:creator>
      <dc:date>2014-03-03T18:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159134#M41547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever find a way to accomplish this?&amp;nbsp; I can easily get SAS EG to export the contents of a dataset from a library on a remote UNIX server to an Excel file on my local Windows hard drive using the Export task, but I haven't been able to find a way to get EG to expose the code that it uses to accomplish this.&amp;nbsp; The closest I have seen requires the use of the Copy Files task created by Chris Hemedinger; its use to accomplish this is described here: &lt;A class="vt-p" href="http://proc-x.com/2013/05/export-and-download-any-file-from-sas-enterprise-guide/" title="http://proc-x.com/2013/05/export-and-download-any-file-from-sas-enterprise-guide/"&gt;http://proc-x.com/2013/05/export-and-download-any-file-from-sas-enterprise-guide/&lt;/A&gt;.&amp;nbsp; It would be nice to be able to accomplish this all in code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 16:19:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159134#M41547</guid>
      <dc:creator>kconnors</dc:creator>
      <dc:date>2015-03-18T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159135#M41548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EG can do it because it handles the download of the file from the SAS server to your PC. For it to work in code, which runs on the SAS server, the server must be able to reterence your PC and hard drive. As explained above by Cynthia this is done via a UNC: &lt;A class="active_link"&gt;\\pcname\directory\subdir\&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can get your Unix admin folks to make this happen then yes it will work in code. In summary this is a network access problem not a coding issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 18:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159135#M41548</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-03-18T18:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159136#M41549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, SASKiwi.&amp;nbsp; I was missing the fact that code can run only on one server.&amp;nbsp; An EG (custom) task can handle the download of the file from the SAS server to the PC in this because it is running locally on the PC, not on the server; Chris H's example uses the task to download the exported file after the exported file has been created on the server.&amp;nbsp; EG's Export task is likely taking the same approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 18:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159136#M41549</guid>
      <dc:creator>kconnors</dc:creator>
      <dc:date>2015-03-18T18:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159137#M41550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kconnors you are more likeIy to find a way&amp;nbsp; that integrates Windows/Unix better. These options:&lt;/P&gt;&lt;P&gt;1/ Client Server install using a SAS-server with connect is an option (most functionality).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As the SAS windows server will need to get across Servers in your domain not being isolated to his own local machine, there are still security challenges to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The license cost could be a hurdle with the need of staff capable supporting that.&lt;/P&gt;&lt;P&gt;2/ Client Server install using a SAS PC- fileserver. This one comes with the SAS/access to pcfiles on Unix license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Still needing an additional Windows server install for that.&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/pcfsicg/67728/PDF/default/pcfsicg.pdf" title="http://support.sas.com/documentation/cdl/en/pcfsicg/67728/PDF/default/pcfsicg.pdf"&gt;http://support.sas.com/documentation/cdl/en/pcfsicg/67728/PDF/default/pcfsicg.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3/ Other tools like SFTP or NFS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The usage of EGuide as operational processing tool should be avoided. It is developers tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When there is a SFTP server active in the Windows domain you can create a file on Unix and send it by sftp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; NFS&amp;nbsp; (Samba)&amp;nbsp; is only an option with non sensitive data and not really professional managed services. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; There as security pitfalls with those and by those not easy accepted with reviews. wizards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way why are you using import wizards with Eguide. The process is data is converted by Eguide (VB processes) into a SAS datastep the datastep is uploaded and processed at the server.&lt;/P&gt;&lt;P&gt;The alternative is drag and drop files from the windows explorer to a files-tab of the server connected visiable in Eguide.&amp;nbsp; I am supposing XCEED-dll-s are behind those binary uploads.&lt;/P&gt;&lt;P&gt;Having the data at Unix it can processed there with optimized code for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 19:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159137#M41550</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-03-18T19:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159138#M41551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code you are submitting is run on the server, which means it will try to export it to a file-system &lt;STRONG&gt;on your server&lt;/STRONG&gt; (i.e, &lt;EM&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/EM&gt; on the client where you are running Enterprise Guide).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code only works where there is a SAS session running - in this case, the server. Enterprise Guide does not in itself execute code - it can store code, even prepare code from various task, but it then submits the code to a SAS session somewhere, and it is that SAS session which executes the code, returning logs, etc back to EG. Unless there is a local SAS session on the workstation, a "code only" solution is unlikely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to save files on a local filesystem where there is no local SAS, you should use the client-based capabilities of Enterprise Guide - right-click on a table, and Export (or Export as a Step if you want a repeatable process.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As an aside, it is possible for your SAS Administrator to set up user roles which can prevent uploading/downloading local files to/from a SAS server. This is NOT your issue (your code clarifies this), although it was the first thing I thought when I read your message subject.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 00:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159138#M41551</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2015-03-19T00:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159139#M41552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, given where it tried to save your text file (in the Application Context configuration folder), I'm actually very glad it failed with in Insufficient Authorisation error - you might suggest to your SAS Admins that the default folder be redefined elsewhere. &lt;EM&gt;(SAS Management Console - SASApp Workspace Server - Properties - File Navigation)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 00:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159139#M41552</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2015-03-19T00:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159140#M41553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm - didn't see all of the previous responses before posting.. &lt;EM&gt;Mea culpa..&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 00:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159140#M41553</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2015-03-19T00:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export data to local folders (PROC EXPORT in SAS EG)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159141#M41554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried the below code to export a dataset to a CSV in local C drive, I got the error as 'Insufficient authorization to access /data/rawdata/SAS_93/biserver/Lev1/SASApp/\\NBRD-DT-VS3034\C\Downloads\class.csv'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=sashelp.class outfile = '\\NBR-DT-VS303\C\Downloads\class.csv' dbms=csv;&amp;nbsp; /*to export a file in downloads folder in C:\ */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SAS is installed in server and I ran this code in EG 7.1. Am I doing anything wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to specify the full computer name or computer name in outfile statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-export-data-to-local-folders-PROC-EXPORT-in-SAS-EG/m-p/159141#M41554</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-03-19T09:22:55Z</dc:date>
    </item>
  </channel>
</rss>

