<?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: import and export sas dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-and-export-sas-dataset/m-p/357776#M84041</link>
    <description>&lt;P&gt;A SAS dataset is stored in a library; a library definition (libname statement) connects a logical SAS library name with a physical path to an existing directory.&lt;/P&gt;
&lt;P&gt;You do not "import" a SAS dataset into SAS. Datasets are read with proc sql ("from") or with the set or merge statements in a data step, or by naming them in the data= option in a procedure statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several ways to move SAS data to other applications; which one should be used has to be determined according to the external application and what exactly (just data, or whole reports) needs to be exported.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 07:23:22 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-05-11T07:23:22Z</dc:date>
    <item>
      <title>import and export sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-and-export-sas-dataset/m-p/357705#M84014</link>
      <description>&lt;P&gt;How to save SAS Dataset in a c drive and acess it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A) save dataset&lt;/P&gt;
&lt;P&gt;here is something I've used to save excel file. how will it work for sas dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let YYYYMM = 201703;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt; file cmds;&lt;BR /&gt; put "[save.as(%bquote("C:\Program Files\output\DataSet &amp;amp;YYYYMM..xlsx"))]";&lt;BR /&gt; put '[CLOSE()]';&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B) import dataset&lt;/P&gt;
&lt;P&gt;can you please advise how to import dataset in a sas program&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 22:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-and-export-sas-dataset/m-p/357705#M84014</guid>
      <dc:creator>tparvaiz</dc:creator>
      <dc:date>2017-05-10T22:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: import and export sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-and-export-sas-dataset/m-p/357776#M84041</link>
      <description>&lt;P&gt;A SAS dataset is stored in a library; a library definition (libname statement) connects a logical SAS library name with a physical path to an existing directory.&lt;/P&gt;
&lt;P&gt;You do not "import" a SAS dataset into SAS. Datasets are read with proc sql ("from") or with the set or merge statements in a data step, or by naming them in the data= option in a procedure statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several ways to move SAS data to other applications; which one should be used has to be determined according to the external application and what exactly (just data, or whole reports) needs to be exported.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 07:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-and-export-sas-dataset/m-p/357776#M84041</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-11T07:23:22Z</dc:date>
    </item>
  </channel>
</rss>

