<?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: How to append 180 datasets to one datasets? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288346#M59442</link>
    <description>But it was Reeza's answer that was correct. You marked your response as correct, not her answer.&lt;BR /&gt;cynthia</description>
    <pubDate>Sat, 30 Jul 2016 19:29:03 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-07-30T19:29:03Z</dc:date>
    <item>
      <title>How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284697#M58089</link>
      <description>Hi team I was able to import 180 datasets to work. same columns each file has 35k records they are all title with date it was produced. . For example&lt;BR /&gt;D160101. D160102. D160103. D160104 ...&lt;BR /&gt;I have hundreds datasets how can I create a macro to append all of them ? Thanks</description>
      <pubDate>Thu, 14 Jul 2016 21:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284697#M58089</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-07-14T21:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284700#M58092</link>
      <description>&lt;P&gt;They all start with D? Do you have other datasets in the library that you need to exclude?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do it without a macro, using the colon short cut. This will append all datasets that start with the letter D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set D:;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you need a macro and want to use proc append, I would use the following method:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Write macro to use PROC APPEND&lt;/P&gt;
&lt;P&gt;2. Obtain list of dataset name from sashelp.vtable -&amp;gt; store in a dataset&lt;/P&gt;
&lt;P&gt;3. Use call execute to execute macro from #1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 21:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284700#M58092</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-14T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284825#M58126</link>
      <description>Thanks Reeza that worked</description>
      <pubDate>Fri, 15 Jul 2016 13:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284825#M58126</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-07-15T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284828#M58129</link>
      <description>&lt;P&gt;Why did you mark your answer as correct?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 14:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/284828#M58129</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-15T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288341#M59441</link>
      <description>Reeza. data want; set D:; run; this appended all the files that start with D it's what I was looking for</description>
      <pubDate>Sat, 30 Jul 2016 18:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288341#M59441</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-07-30T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288346#M59442</link>
      <description>But it was Reeza's answer that was correct. You marked your response as correct, not her answer.&lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 30 Jul 2016 19:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288346#M59442</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-30T19:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to append 180 datasets to one datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288361#M59446</link>
      <description>Oops I didn't see that's what I did my error</description>
      <pubDate>Sun, 31 Jul 2016 00:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-180-datasets-to-one-datasets/m-p/288361#M59446</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-07-31T00:11:36Z</dc:date>
    </item>
  </channel>
</rss>

