<?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 read a directory and append the files in it to one file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-read-a-directory-and-append-the-files-in-it-to-one-file/m-p/67261#M14548</link>
    <description>Hi All,&lt;BR /&gt;
After one days of SAS tutorails&lt;BR /&gt;
I have been assigned a task to read all the files in a driectory and append them to one. Can i get a short SAS code on this. I could manage to read a directory but after that I am clueless&lt;BR /&gt;
Thanks</description>
    <pubDate>Fri, 26 Dec 2008 17:05:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-12-26T17:05:06Z</dc:date>
    <item>
      <title>How read a directory and append the files in it to one file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-read-a-directory-and-append-the-files-in-it-to-one-file/m-p/67261#M14548</link>
      <description>Hi All,&lt;BR /&gt;
After one days of SAS tutorails&lt;BR /&gt;
I have been assigned a task to read all the files in a driectory and append them to one. Can i get a short SAS code on this. I could manage to read a directory but after that I am clueless&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 26 Dec 2008 17:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-read-a-directory-and-append-the-files-in-it-to-one-file/m-p/67261#M14548</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-26T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: How read a directory and append the files in it to one file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-read-a-directory-and-append-the-files-in-it-to-one-file/m-p/67262#M14549</link>
      <description>Hi:&lt;BR /&gt;
  It really depends on whether your directory contains SAS datasets that you want to append into 1 bigger SAS dataset or whether your directory contains a set of disparate files (like .TXT or .CSV files) that you want to append together. &lt;BR /&gt;
 &lt;BR /&gt;
  The code would be different depending on what/how you want to do the appending. For SAS datasets, you might want to look at the syntax for PROC APPEND (for a procedure method to append SAS datasets) or the SET statement within a DATA step program (for a program language method to append). In addition, you could use PROC SQL for appending SAS datasets together.&lt;BR /&gt;
  &lt;BR /&gt;
  If you look in the documentation that's on-line and/or search for previous forum postings, I believe you'll find some code examples to help you.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 26 Dec 2008 17:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-read-a-directory-and-append-the-files-in-it-to-one-file/m-p/67262#M14549</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-26T17:27:42Z</dc:date>
    </item>
  </channel>
</rss>

