<?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: Combining (Appending) Data Sets using a Date Prefix in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287046#M19602</link>
    <description>&lt;P&gt;Yes, I know this will require a macro....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files are all the same format so they are structured perfectly. They were actually originally in one large files but then split out based on the day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I did not leave them all in one file is because I will be using a rolling-window to look at customers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 22:57:13 GMT</pubDate>
    <dc:creator>SmcGarrett</dc:creator>
    <dc:date>2016-07-25T22:57:13Z</dc:date>
    <item>
      <title>Combining (Appending) Data Sets using a Date Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287044#M19600</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to combine multiple data files based on a date prefix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the files are located in one folder and have the date prefix of YYYYMMDD. They are excel files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4232iE09DAFFD61898E15/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture111.JPG" title="Capture111.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to give a start date, say 20160423 and have SAS return the appended files for a given amount of days....say 7, or 14, or 21.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 22:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287044#M19600</guid>
      <dc:creator>SmcGarrett</dc:creator>
      <dc:date>2016-07-25T22:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Combining (Appending) Data Sets using a Date Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287045#M19601</link>
      <description>&lt;P&gt;Do you have any part of this process started?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can't be done in EG via point and click, it requires a macro solution via code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll need to write the base code and looping over the specified dates is easy enough.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF YOUR DATA IN THE FILES IS NOT WELL STRUCTURED AND CONSISTENT THIS WILL NOT WORK.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When importing data from Excel SAS guesses at types, if your data is inconsisten then the types may not match between datasets and you'll have to deal with that issue.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 22:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287045#M19601</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-25T22:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combining (Appending) Data Sets using a Date Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287046#M19602</link>
      <description>&lt;P&gt;Yes, I know this will require a macro....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files are all the same format so they are structured perfectly. They were actually originally in one large files but then split out based on the day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I did not leave them all in one file is because I will be using a rolling-window to look at customers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 22:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287046#M19602</guid>
      <dc:creator>SmcGarrett</dc:creator>
      <dc:date>2016-07-25T22:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combining (Appending) Data Sets using a Date Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287049#M19603</link>
      <description>&lt;P&gt;So you have a SAS dataset somewhere with this data? Or a single file? Honestly that would be easier and wouldn't require a macro.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 23:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Combining-Appending-Data-Sets-using-a-Date-Prefix/m-p/287049#M19603</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-25T23:32:32Z</dc:date>
    </item>
  </channel>
</rss>

