<?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 sas 9.4 SAS DATA SET Saving to Windows Desktop in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321322#M70923</link>
    <description>&lt;P&gt;Hello. i have merged three data sets, each of which were imported from a windows desktop C:location using the INFILE statement. How do i export this new (merged) single data set back to the desktop? Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2016 19:24:01 GMT</pubDate>
    <dc:creator>miz</dc:creator>
    <dc:date>2016-12-27T19:24:01Z</dc:date>
    <item>
      <title>sas 9.4 SAS DATA SET Saving to Windows Desktop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321322#M70923</link>
      <description>&lt;P&gt;Hello. i have merged three data sets, each of which were imported from a windows desktop C:location using the INFILE statement. How do i export this new (merged) single data set back to the desktop? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 19:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321322#M70923</guid>
      <dc:creator>miz</dc:creator>
      <dc:date>2016-12-27T19:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: sas 9.4 SAS DATA SET Saving to Windows Desktop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321340#M70930</link>
      <description>&lt;P&gt;1. Assign a library to the location you'd like the data set to be stored. To assign a library, use the LIBNAME statement to map a libname alias to the desired path on your local PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use PROC datasets to move the data set. Or another data step.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;Libname outloc '/folders/myfolders/samples/';
 
proc datasets library=work;
 copy in=work out=outloc;
 select dataset_save;
run;quit;

/* Or this, to copy WORK data to a permanent folder */
data outloc.dataset_save;
 set work.dataset_save;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 18:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321340#M70930</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-03-10T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: sas 9.4 SAS DATA SET Saving to Windows Desktop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321473#M71002</link>
      <description>Hello Grand Advisor Reeza.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Would you please provide me further insight for the first step:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Assign a library to the location you'd like the data set to be stored.&lt;BR /&gt;&lt;BR /&gt;Is this step to be completed in Windows? If yes, then how?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Still learning, miz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2016 19:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321473#M71002</guid>
      <dc:creator>miz</dc:creator>
      <dc:date>2016-12-28T19:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: sas 9.4 SAS DATA SET Saving to Windows Desktop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321487#M71005</link>
      <description>Hi:&lt;BR /&gt;  LIBNAME myperm 'c:\temp\sasdata';&lt;BR /&gt;&lt;BR /&gt;  data myperm.class;&lt;BR /&gt;     set sashelp.class;&lt;BR /&gt; run;&lt;BR /&gt;&lt;BR /&gt;This will write a SAS dataset to the folder location: C:\temp\sasdata\class.sas7bdat (which is the Windows file extension for a SAS dataset). Do note that c:\temp\sasdata folder must be already created and you will need to have write access to that folder for the program to work.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 28 Dec 2016 21:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-9-4-SAS-DATA-SET-Saving-to-Windows-Desktop/m-p/321487#M71005</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-28T21:32:35Z</dc:date>
    </item>
  </channel>
</rss>

