<?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 Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50275#M10488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, that worked beautifully and I didn't have to change any dataset names.&amp;nbsp; I have multiple types of datasets in the directory and was able to select the ones I wanted by adding :&lt;STRONG&gt;and memname like '%diff%' &lt;/STRONG&gt;to the where clause.&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc&amp;nbsp; &lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;sql&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style=": ; color: #000080; font-size: 3; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 17:27:04 GMT</pubDate>
    <dc:creator>Mike7085</dc:creator>
    <dc:date>2012-03-30T17:27:04Z</dc:date>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50269#M10482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm want to read all the SAS datasets in a directory into a common datasets.&amp;nbsp; The individual datasets will expand over time.&amp;nbsp; Using the SAS libname, is there a way to do it without having to itemize each dataset name in the SET statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50269#M10482</guid>
      <dc:creator>Mike7085</dc:creator>
      <dc:date>2012-03-30T16:33:41Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50270#M10483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have control over the filenames?&amp;nbsp; I ask because, if they can all start with the same character or string, then you can use a wildcard in your set statement.&amp;nbsp; e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mydata "c:\art\test";&lt;/P&gt;&lt;P&gt;data mydata.file1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata.file2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set mydata.f:;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50270#M10483</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-30T16:47:21Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50271#M10484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I don't currently, but the current number of datasets is relatively small, so that's an easy change fo fix the problem.&amp;nbsp; Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:52:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50271#M10484</guid>
      <dc:creator>Mike7085</dc:creator>
      <dc:date>2012-03-30T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50272#M10485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; As your task becomes more complicated there are some macro language solutions as well.&amp;nbsp; Until then stick with the simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50272#M10485</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-03-30T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50273#M10486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Do you want to try the code below? replace&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'your_libname' with your real libname and using capital letters in "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'YOUR_LIBNAME'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; your_libname &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'???'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; catx(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'.'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'your_libname'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;,memname) &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; : dsn separated &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; dictionary.tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;'YOUR_LIBNAME'&lt;/SPAN&gt;; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/* libname must be capital letters */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &amp;amp;dsn;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &amp;amp;dsn;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;Linlin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 17:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50273#M10486</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-03-30T17:12:45Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50274#M10487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned there is the relatevely new name range syntax for the SET statement data set names argument.&amp;nbsp; You will also want to look in the documentation for the INDSNAME=&lt;SPAN class="strong"&gt;variable&lt;/SPAN&gt; option.&amp;nbsp; And if the datasets have the same variables and lengths you can gain performance with OPEN=DEFER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 17:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50274#M10487</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-03-30T17:26:21Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50275#M10488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, that worked beautifully and I didn't have to change any dataset names.&amp;nbsp; I have multiple types of datasets in the directory and was able to select the ones I wanted by adding :&lt;STRONG&gt;and memname like '%diff%' &lt;/STRONG&gt;to the where clause.&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc&amp;nbsp; &lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;sql&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style=": ; color: #000080; font-size: 3; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 12pt; color: #000080; font-family: Calibri;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Calibri;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 17:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50275#M10488</guid>
      <dc:creator>Mike7085</dc:creator>
      <dc:date>2012-03-30T17:27:04Z</dc:date>
    </item>
    <item>
      <title>Is there a way to read all SAS datasets in a directory into one dataset without specifying them in individual set statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50276#M10489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the data are not static ("will expand over time") and will live in two places (the individual data sets and the common one). That's parallel maintenance, something to be avoided. Consider making the common data set a &lt;STRONG&gt;view&lt;/STRONG&gt;.&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Mike7085 wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm want to read all the SAS datasets in a directory into a common datasets.&amp;nbsp; The individual datasets will expand over time.&amp;nbsp; Using the SAS libname, is there a way to do it without having to itemize each dataset name in the SET statement?&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-read-all-SAS-datasets-in-a-directory-into-one/m-p/50276#M10489</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2012-04-02T20:02:34Z</dc:date>
    </item>
  </channel>
</rss>

