<?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: Concatenating CSV files based on their Last Modification Date in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229667#M3249</link>
    <description>&lt;P&gt;Thank you all for your suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A working solution&amp;nbsp;has been&amp;nbsp;provided by MS over in the JMP community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For those who are interested, I am including it here:&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;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"K:\....\PROBER_01\"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;prefilelist &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Files In Directory&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;n2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;N Items&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;prefilelist&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;datelimit &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Today&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;()&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;-&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;In Days&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filelist &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; &lt;STRONG&gt;{}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;For&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;i2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; i2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; n2&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; i2&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp; file &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Word&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"_"&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"DRIE"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Word&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"_"&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"ILGO1"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Substr&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"L"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Substr&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"G"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Last Modification Date&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;||&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; datelimit&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Insert Into&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filelist&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Show&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Philip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 09:31:17 GMT</pubDate>
    <dc:creator>JPOL</dc:creator>
    <dc:date>2015-10-13T09:31:17Z</dc:date>
    <item>
      <title>Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229262#M3219</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a new JMP12 user and I have a need to concatenate several hundred .CSV files every day in order to monitor a manufacturig tool's performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that the tool has been in use for several months I currently have ~ 75 000 files on the directory from where I need to read the files.&lt;/P&gt;&lt;P&gt;All files need to remain on this directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to monitor the tool over the last&amp;nbsp;30 days&amp;nbsp;or so. Opening and concatenating the latest 2000 files would meed my needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add to the&amp;nbsp;&amp;nbsp; &lt;FONT face="Consolas" size="2"&gt;filelist&lt;/FONT&gt;&amp;nbsp; &amp;nbsp;to be opened based on the files' Last Modification Date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add an additional time based filter to those already in use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;filepath &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;=&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;"K:\...\PROBER_01\"&lt;/FONT&gt; &lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;prefilelist &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Files In Directory&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; filepath &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;n2&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;nitems&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;prefilelist&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;//Provide filters to ensure appropriate csv files&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; i2 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; n2 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; i2&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; i2&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;++,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;file&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;])&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;word&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;3&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"_"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;==&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"DRIE"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;word&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;2&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"_"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;==&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"ILGO1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;substr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;5&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;==&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"L"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;substr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;==&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"G"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Insert Into&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; filelist&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;show&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;something like&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;amp;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Last Modification Date&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;()&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;gt;&lt;/FONT&gt; &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;today&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;()&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt; days&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ??????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;Philip&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229262#M3219</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-09T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229287#M3222</link>
      <description>Are the CSV files in a Windows operating system?</description>
      <pubDate>Fri, 09 Oct 2015 13:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229287#M3222</guid>
      <dc:creator>reprui</dc:creator>
      <dc:date>2015-10-09T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229335#M3234</link>
      <description>Yes they are.</description>
      <pubDate>Fri, 09 Oct 2015 17:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229335#M3234</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-09T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229336#M3235</link>
      <description>You need to post this in a JMP forum, the answers here will be SAS Specific, unless I'm missing something. &lt;A href="https://community.jmp.com/community/discussions" target="_blank"&gt;https://community.jmp.com/community/discussions&lt;/A&gt;</description>
      <pubDate>Fri, 09 Oct 2015 17:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229336#M3235</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-10-09T17:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229337#M3236</link>
      <description>The technique I would suggest would be Base SAS code as this will be an OS level solution using the SYSTASK (or X) command along with a series of file level analytics.  I understand this to be about file evaluation and preparation...not JMP analysis...Right?</description>
      <pubDate>Fri, 09 Oct 2015 17:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229337#M3236</guid>
      <dc:creator>reprui</dc:creator>
      <dc:date>2015-10-09T17:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229346#M3237</link>
      <description>&lt;P&gt;JPOL...Can you provide an example of the File Names? Are they incrementally (or randomly) numbered? Or, does the file name contain a date/time stamp?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 18:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229346#M3237</guid>
      <dc:creator>reprui</dc:creator>
      <dc:date>2015-10-09T18:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229381#M3240</link>
      <description>&lt;P&gt;I would be strongly tempted to pipe the output of a DIR command with appropriate switches into a text file which I could read and use for a control file. Something like&lt;/P&gt;
&lt;PRE&gt;DIR K:\...\PROBER_01\*.csv /O-D -&amp;gt; c:\filelist.txt&lt;/PRE&gt;
&lt;P&gt;which would have a list of newest to oldest files (or /OD oldest to newest) with date, size and filename.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure how in JMP to read or parse but the date and name information based on today's date but expect it to be possible.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 22:16:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229381#M3240</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-10-09T22:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229495#M3244</link>
      <description>&lt;P&gt;Thanks Reeza for your suggestion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have copied my question over to the JMP community but I am still open to any suggestions which may come from this community &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rgds,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Philip&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 04:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229495#M3244</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-12T04:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229496#M3245</link>
      <description>&lt;P&gt;Yes, this is about file preparation prior to JMP analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Philip&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 04:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229496#M3245</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-12T04:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229497#M3246</link>
      <description>&lt;P&gt;Hi reprui,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Filename&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified&lt;BR /&gt;B35L1007_BK1_FINAL01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 7:23&lt;BR /&gt;B36L0216_BK1_GRID25.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/10/2015 22:46&lt;BR /&gt;B36L0221_BK1_FINAL25.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 4:42&lt;BR /&gt;B38L0920_BK1_FINAL25.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 18:37&lt;BR /&gt;BN30L2515_BO1_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 3:31&lt;BR /&gt;BN30L2524_BO1_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 3:35&lt;BR /&gt;BN31L1606_BO1_FINAL01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 10:01&lt;BR /&gt;BN31L1625_BO1_FINAL01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 20:48&lt;BR /&gt;GK39L0507_GK1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 3:59&lt;BR /&gt;GK39L0607_GK1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 2:30&lt;BR /&gt;GN36L0411_ILGO1_DRIE_25.csv&amp;nbsp;10/11/2015 11:23&lt;BR /&gt;GN36L0421_ILGO1_DRIE_25.csv&amp;nbsp;10/11/2015 11:58&lt;BR /&gt;GN38L0319_GO2_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/10/2015 23:48&lt;BR /&gt;GN38L0324_GO1_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/10/2015 22:11&lt;BR /&gt;GN38L1102_GO2_FINAL25.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 15:54&lt;BR /&gt;GN38L1120_GO2_FINAL25.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 5:55&lt;BR /&gt;GN39L0413_GO2_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 7:20&lt;BR /&gt;GN39L0415_GO2_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 7:46&lt;BR /&gt;GN39L0418_GO1_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 4:22&lt;BR /&gt;GN39L0422_GO2_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 7:36&lt;BR /&gt;GN39L0425_GO1_FINAL40.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 4:31&lt;BR /&gt;GN39L0525_ILGO1_DRIE_25.csv&amp;nbsp;10/10/2015 19:51&lt;BR /&gt;GP38L0214_GP1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10/12/2015 6:29&lt;BR /&gt;GP38L0222_GP1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 6:39&lt;BR /&gt;GP38L0405_GP1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/11/2015 23:17&lt;BR /&gt;GP38L0408_GP1_GRID01.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2015 0:36&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you see, it is a combination of incrementally and randomly numbered, based on the LOT IDs and measurement phase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Philip&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 05:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229497#M3246</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-12T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229523#M3247</link>
      <description>&lt;P&gt;Yes...ballardw is advising in the right direction...Below is code written in Base SAS that should acheive your expected results.&amp;nbsp; This should&amp;nbsp; work in a Base SAS code window in JMP.&amp;nbsp; It uses sample data from the SASHELP library...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*Program created to help with a SAS Communities question*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Options&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;symbolgen&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mprint&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mlogic&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mrecall&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nosyntaxcheck&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/* BEGIN - Create the library of test Files*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;systask&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;command&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'mkdir "C:\CSVFLSOut"'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;wait&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;systask&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;command&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'mkdir "C:\CSVResults"'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;wait&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;libname&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; RESULTS &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\CSVResults"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;libname&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; CSVFLS &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\CSVFLSOut"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%Macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &lt;STRONG&gt;&lt;I&gt;CreateCSVFiles&lt;/I&gt;&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%Do&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; I=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;20&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Data CSVOut&amp;amp;i;&lt;/P&gt;
&lt;P&gt;set sashelp.baseball;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;ods csv file=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\CSVFLSOut\CSVOut&amp;amp;i..csv"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;proc print data=CSVOut&amp;amp;i;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; CreateCSVFiles;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;CreateCSVFiles&lt;/I&gt;&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;/* END - Create the library of test Files*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/* BEGIN - Acquire a list of the desired files to process from the test directory/files. */&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%Macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &lt;STRONG&gt;&lt;I&gt;DOSCommands&lt;/I&gt;&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;systask command&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'dir "C:\CSVFLSOut\*.csv " &amp;gt;"C:\CSVResults\CSVFLS_CodeCount.txt"'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;wait&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%Mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; DOSCommands;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;DOSCommands&lt;/I&gt;&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;filename&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; RESULTS1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\CSVResults\CSVFLS_CodeCount.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; CSVFilesCnt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; RESULTS1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dsd&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileDate &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;mmddyy10.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; @;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileDate^=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;13&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileTime &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;TIME.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileName &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$40.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileDate &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;mmddyy10.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FileTime &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;TIMEAMPM8.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;/*BEGIN - Select the files to append based on the last modified date*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; intck(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Month'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,FileDate,Today())&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/*END - Select the files to append based on the last modified date*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Call&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Symput(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'FileCnt'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,_n_);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_null_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;set&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; CSVFilesCnt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; intck(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Month'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,FileDate,Today())&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Call&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Symput(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'FileCnt'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,_n_);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;FileCnt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/* END - Acquire a list of the desired files to process from the test directory/files. */&lt;/P&gt;
&lt;P&gt;/* BEGIN - Create the Macro Variable File Name references to use in the SAS DataSet Creation and Append steps. */&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%Macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &lt;STRONG&gt;&lt;I&gt;CreateMacroFileNames&lt;/I&gt;&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%Do&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; i=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;FileCnt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;data _Null_;&lt;/P&gt;
&lt;P&gt;Set CSVFilesCnt;&lt;/P&gt;
&lt;P&gt;If _n_=&amp;amp;i;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Call Symput(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"FileName&amp;amp;i"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,FileName);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;&amp;amp;FileName&amp;amp;i;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/* END - Create the Macro Variable File Name references to use in the SAS DataSet Creation and Append steps. */&lt;/P&gt;
&lt;P&gt;/*BEGIN - Create a SAS dataset of each CSV File to be appended.*/&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;filename CSVFile &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\CSVFLSOut\&amp;amp;&amp;amp;FileName&amp;amp;i"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Data CSV&amp;amp;i;&lt;/P&gt;
&lt;P&gt;infile CSVFile dsd truncover;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Input @&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; FullRecord &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$1000.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;/*END - Create a SAS dataset of each CSV File to be appended.*/&lt;/P&gt;
&lt;P&gt;/*BEGIN - Append the CSV Files into one SAS Dataset.*/&lt;/P&gt;
&lt;P&gt;Proc Append Base=BigFileAll Data=CSV&amp;amp;i FORCE;&lt;/P&gt;
&lt;P&gt;/*END - Append the CSV Files into one SAS Dataset.*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%end&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%Mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; CreateMacroFileNames;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;CreateMacroFileNames&lt;/I&gt;&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 11:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229523#M3247</guid>
      <dc:creator>reprui</dc:creator>
      <dc:date>2015-10-12T11:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating CSV files based on their Last Modification Date</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229667#M3249</link>
      <description>&lt;P&gt;Thank you all for your suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A working solution&amp;nbsp;has been&amp;nbsp;provided by MS over in the JMP community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For those who are interested, I am including it here:&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;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"K:\....\PROBER_01\"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;prefilelist &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Files In Directory&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;n2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;N Items&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;prefilelist&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;datelimit &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Today&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;()&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;-&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;In Days&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filelist &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; &lt;STRONG&gt;{}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;For&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;i2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; i2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; n2&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; i2&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp; file &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; prefilelist&lt;STRONG&gt;[&lt;/STRONG&gt;i2&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Word&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"_"&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"DRIE"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Word&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"_"&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"ILGO1"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Substr&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"L"&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Substr&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: rgb(0, 128, 128); font-family: Courier New; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;"G"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Last Modification Date&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filepath &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;||&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; datelimit&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Insert Into&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;filelist&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt; file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 221); font-family: Courier New; font-size: 10pt;"&gt;Show&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New; font-size: 10pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;file&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Philip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 128); font-family: Courier New; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 09:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Concatenating-CSV-files-based-on-their-Last-Modification-Date/m-p/229667#M3249</guid>
      <dc:creator>JPOL</dc:creator>
      <dc:date>2015-10-13T09:31:17Z</dc:date>
    </item>
  </channel>
</rss>

