<?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 Export tables from SAS(UNIX-platform) to MS Windows-platform in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561711#M157305</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got SAS 9.4, workmachine on MS Widows OS(with active access&amp;nbsp;&lt;SPAN&gt;Interface to PC Files)&lt;/SPAN&gt;, SAS on UNIX OS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While running code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table t1 (id int, typ int, dt char(8), qty int);
insert into t1 
values (1, 2, '20190325', 50)
 values (2, 2, '20190320', 15)
  values (3, 3, '20190401', 50);
quit;

filename&amp;nbsp;=&amp;nbsp;tratata&amp;nbsp;"С:\!lib\2.xlsx";

PROC EXPORT&amp;nbsp;DATA =&amp;nbsp;t1
  DMBS&amp;nbsp;=&amp;nbsp;xlsx
  OUTFILE&amp;nbsp;=&amp;nbsp;tratata&amp;nbsp;replace;
  SHEET&amp;nbsp;=&amp;nbsp;"T1";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR:Temporary file for XLSX file can not be created&amp;nbsp; -&amp;gt; /home/SASoft/SASConfig/Lev1/SASApp/C:\!lib\/2.$$1. Make sure path name is correct and that you have write permissions.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't you say, is it possible to export file not on internal SAS folderpath(where access is denied), but on the MS Windows folderpath, being&amp;nbsp;&lt;SPAN&gt;specified in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 10:05:49 GMT</pubDate>
    <dc:creator>Ivan555</dc:creator>
    <dc:date>2019-05-27T10:05:49Z</dc:date>
    <item>
      <title>Export tables from SAS(UNIX-platform) to MS Windows-platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561711#M157305</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got SAS 9.4, workmachine on MS Widows OS(with active access&amp;nbsp;&lt;SPAN&gt;Interface to PC Files)&lt;/SPAN&gt;, SAS on UNIX OS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While running code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table t1 (id int, typ int, dt char(8), qty int);
insert into t1 
values (1, 2, '20190325', 50)
 values (2, 2, '20190320', 15)
  values (3, 3, '20190401', 50);
quit;

filename&amp;nbsp;=&amp;nbsp;tratata&amp;nbsp;"С:\!lib\2.xlsx";

PROC EXPORT&amp;nbsp;DATA =&amp;nbsp;t1
  DMBS&amp;nbsp;=&amp;nbsp;xlsx
  OUTFILE&amp;nbsp;=&amp;nbsp;tratata&amp;nbsp;replace;
  SHEET&amp;nbsp;=&amp;nbsp;"T1";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR:Temporary file for XLSX file can not be created&amp;nbsp; -&amp;gt; /home/SASoft/SASConfig/Lev1/SASApp/C:\!lib\/2.$$1. Make sure path name is correct and that you have write permissions.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't you say, is it possible to export file not on internal SAS folderpath(where access is denied), but on the MS Windows folderpath, being&amp;nbsp;&lt;SPAN&gt;specified in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 10:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561711#M157305</guid>
      <dc:creator>Ivan555</dc:creator>
      <dc:date>2019-05-27T10:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export tables from SAS(UNIX-platform) to MS Windows-platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561716#M157306</link>
      <description>&lt;P&gt;A SAS process can write output only to locations that are available to it on the operating system level.&lt;/P&gt;
&lt;P&gt;Your SAS runs on a UNIX server, so you can only use locations on that UNIX server.&lt;/P&gt;
&lt;P&gt;If you have an active mount of a Windows resource on UNIX, you can use it. But you have to use UNIX filename syntax, of course. Drive letters and backslashes are only used on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get in touch with your system administrators, they can advise you what's best with your setup.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 10:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561716#M157306</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-27T10:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export tables from SAS(UNIX-platform) to MS Windows-platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561718#M157307</link>
      <description>Understood, thank you much!</description>
      <pubDate>Mon, 27 May 2019 10:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-tables-from-SAS-UNIX-platform-to-MS-Windows-platform/m-p/561718#M157307</guid>
      <dc:creator>Ivan555</dc:creator>
      <dc:date>2019-05-27T10:45:52Z</dc:date>
    </item>
  </channel>
</rss>

