<?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 How to append all files with regex? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-all-files-with-regex/m-p/346937#M80047</link>
    <description>&lt;P&gt;I've sas tables with the following names:&lt;/P&gt;&lt;P&gt;cch_010317&lt;/P&gt;&lt;P&gt;cch_020317&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set cch_*; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 04 Apr 2017 06:31:01 GMT</pubDate>
    <dc:creator>afiqcjohari</dc:creator>
    <dc:date>2017-04-04T06:31:01Z</dc:date>
    <item>
      <title>How to append all files with regex?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-all-files-with-regex/m-p/346937#M80047</link>
      <description>&lt;P&gt;I've sas tables with the following names:&lt;/P&gt;&lt;P&gt;cch_010317&lt;/P&gt;&lt;P&gt;cch_020317&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set cch_*; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Apr 2017 06:31:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-all-files-with-regex/m-p/346937#M80047</guid>
      <dc:creator>afiqcjohari</dc:creator>
      <dc:date>2017-04-04T06:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to append all files with regex?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-all-files-with-regex/m-p/346944#M80049</link>
      <description>&lt;P&gt;You don't really need a regex - just put a colon after the prefix of the table name in the SET statement i.e.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cch_0103017;
   input val;
   datalines;
100
200
;
run;

data cch_0203017;
   input val;
   datalines;
300
400
;
run;

data cch_0303017;
   input val;
   datalines;
500
600
;
run;

data want;
	set cch_:;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-all-files-with-regex/m-p/346944#M80049</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-04-04T07:14:43Z</dc:date>
    </item>
  </channel>
</rss>

