<?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: export csv from sas to shared drive in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646051#M193206</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/266700"&gt;@Alex91&lt;/a&gt;&amp;nbsp; - The likely cause of your problem is your remote SAS server doesn't have the correct permissions set up to reference the shared drive. This is something your SAS administrator will need to fix. It is not something you can do from your PC.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 22:00:22 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-05-07T22:00:22Z</dc:date>
    <item>
      <title>export csv from sas to shared drive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/645943#M193153</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to export csv-file to shared drive and stuck with access problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname DM 'E:\Temp';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc export&lt;BR /&gt;data = DM.NPS_EMPLOYEE_DAY dbms = csv&lt;BR /&gt;outfile = "\\fs\common\4AKhripunov\emp_day.csv"&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;ERROR: Undetermined I/O failure.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as i get it SAS doesn't have access to this shared drive.So the question is what's the easiest way to setup this access?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OS:Windows&lt;/P&gt;&lt;P&gt;SAS version: 9.4.5.0&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/645943#M193153</guid>
      <dc:creator>Alex91</dc:creator>
      <dc:date>2020-05-07T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: export csv from sas to shared drive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646038#M193202</link>
      <description>&lt;P&gt;Can you access the shared drive through windows explorer?&lt;/P&gt;&lt;P&gt;ie go to windows explorer and go to \\fs\common\4AKhripunov\&lt;/P&gt;&lt;P&gt;If you can access it, can you create a file in that location? Try copying a small file to that location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can't access that location, or you can't create a file you'll need to contact the administrator of the server(your IT department)&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 20:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646038#M193202</guid>
      <dc:creator>jhealthpolicy</dc:creator>
      <dc:date>2020-05-07T20:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: export csv from sas to shared drive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646040#M193203</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327058"&gt;@jhealthpolicy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can you access the shared drive through windows explorer?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ie go to windows explorer and go to \\fs\common\4AKhripunov\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you can access it, can you create a file in that location? Try copying a small file to that location.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;yes, i can access the shared drive from my pc and can create a file there. Ofc i can manually copy csv-file from SAS server to shared drive. But the main point that it has to be the automatic scheduled process.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 21:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646040#M193203</guid>
      <dc:creator>Alex91</dc:creator>
      <dc:date>2020-05-07T21:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: export csv from sas to shared drive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646048#M193205</link>
      <description>&lt;P&gt;I tried your code on my shared drive and it works fine.&amp;nbsp; The few times i've seen this error its been due to permissions on the shared drive.&amp;nbsp; As an alternative, you could write the file out locally, and then copy it over through an x command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;x "copy E:\emp_day.csv \\fs\common\4AKhripunov\emp_day.csv";&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 21:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646048#M193205</guid>
      <dc:creator>jhealthpolicy</dc:creator>
      <dc:date>2020-05-07T21:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: export csv from sas to shared drive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646051#M193206</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/266700"&gt;@Alex91&lt;/a&gt;&amp;nbsp; - The likely cause of your problem is your remote SAS server doesn't have the correct permissions set up to reference the shared drive. This is something your SAS administrator will need to fix. It is not something you can do from your PC.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 22:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-csv-from-sas-to-shared-drive/m-p/646051#M193206</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-05-07T22:00:22Z</dc:date>
    </item>
  </channel>
</rss>

