<?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 the file form  sas studio  to local machine in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-the-file-form-sas-studio-to-local-machine/m-p/717329#M221811</link>
    <description>&amp;amp;outpath is a macro variable. Did you assign it anywhere?</description>
    <pubDate>Sat, 06 Feb 2021 20:16:55 GMT</pubDate>
    <dc:creator>tarheel13</dc:creator>
    <dc:date>2021-02-06T20:16:55Z</dc:date>
    <item>
      <title>export the file form  sas studio  to local machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-the-file-form-sas-studio-to-local-machine/m-p/717323#M221808</link>
      <description>&lt;P&gt;i am using below code in university sas studio university edition&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* exporting data into excel */&lt;BR /&gt;/* this program giving error */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* exporting data into excel */
/* this program giving error  */

libname xlout xlsx "&amp;amp;outpath/cars.xlsx";

data xlout.Asiacars;
    set sashelp.cars;
    where origin='Asia';
run;

proc means data=sashelp.cars noprint maxdec=1;
    where type="SUV";
    var  Horsepower ;
    class Model;
    ways 1;
    output out=xlout.carinfo  mean= Length max= Cylinders;
run;

libname xlout clear;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Logs Error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;76         
 77         libname xlout xlsx "&amp;amp;outpath/cars.xlsx";
 WARNING: Apparent symbolic reference OUTPATH not resolved.
 NOTE: Libref XLOUT was successfully assigned as follows: 
       Engine:        XLSX 
       Physical Name: &amp;amp;outpath/cars.xlsx
 78         
 79         data xlout.Asiacars;
 80             set sashelp.cars;
 81             where origin='Asia';
 82         run;
 
 ERROR: Temporary file for XLSX file can not be created -&amp;gt; &amp;amp;outpath//cars.$$1.  Make sure the path name is correct and that you have 
 write permission.
 ERROR: File XLOUT.Asiacars.DATA does not exist.
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set XLOUT.Asiacars was only partially opened and will not be saved.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 83         
 84         proc means data=sashelp.cars noprint maxdec=1;
 85             where type="SUV";
 86             var  Horsepower ;
 87             class Model;
 88             ways 1;
 89             output out=xlout.carinfo  mean= Length max= Cylinders;
 90         run;
 
 ERROR: Temporary file for XLSX file can not be created -&amp;gt; &amp;amp;outpath//cars.$$1.  Make sure the path name is correct and that you have 
 write permission.
 ERROR: File XLOUT.carinfo.DATA does not exist.
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set XLOUT.carinfo was only partially opened and will not be saved.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 91         
 92         libname xlout clear;
 NOTE: Libref XLOUT has been deassigned.
 93         
 94         &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 19:35:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-the-file-form-sas-studio-to-local-machine/m-p/717323#M221808</guid>
      <dc:creator>daoud_028</dc:creator>
      <dc:date>2021-02-06T19:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: export the file form  sas studio  to local machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-the-file-form-sas-studio-to-local-machine/m-p/717329#M221811</link>
      <description>&amp;amp;outpath is a macro variable. Did you assign it anywhere?</description>
      <pubDate>Sat, 06 Feb 2021 20:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-the-file-form-sas-studio-to-local-machine/m-p/717329#M221811</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-02-06T20:16:55Z</dc:date>
    </item>
  </channel>
</rss>

