<?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: Append monthly datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440382#M109984</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data allData;
set test.monthly_data_201: ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2018 04:20:17 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2018-02-27T04:20:17Z</dc:date>
    <item>
      <title>Append monthly datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440376#M109981</link>
      <description>&lt;P&gt;i have monthly customer status datasets which need to be compiled together to create a time series of customer information. Any idea how i can use a macro to call in the datasets. These datasets are in a separate library (lets say lib = test). i need them in the work library. The datasets are named as monthly_data_201203. The datasets start from 201301 till 201801.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 03:32:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440376#M109981</guid>
      <dc:creator>eemrun</dc:creator>
      <dc:date>2018-02-27T03:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Append monthly datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440382#M109984</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data allData;
set test.monthly_data_201: ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 04:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440382#M109984</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-02-27T04:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Append monthly datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440383#M109985</link>
      <description>&lt;P&gt;The program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data monthly_data_all;
  set monthly_data_20:   open=defer;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will read in all data sets whose name begins with MONTHLY_DATA_20.&amp;nbsp;&amp;nbsp; The data sets will be read in lexicographic order, which in your case will correspond to chronological order.&amp;nbsp; Assuming all the data sets have the same variables, you can also use the "open=defer" option which tells sas to re-use the same input/output buffer in memory for all the data sets, instead of creating a buffer for each incoming data set (i.e. about 61 buffers for 61 datasets for&amp;nbsp;covering months).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 04:21:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-monthly-datasets/m-p/440383#M109985</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-02-27T04:21:55Z</dc:date>
    </item>
  </channel>
</rss>

