<?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: Create data set with information of dates in txt files names in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-data-set-with-information-of-dates-in-txt-files-names/m-p/684928#M207659</link>
    <description>&lt;P&gt;Read the very first pinned article, about how to read file names in a directory.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 10:44:48 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-09-18T10:44:48Z</dc:date>
    <item>
      <title>Create data set with information of dates in txt files names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-data-set-with-information-of-dates-in-txt-files-names/m-p/684926#M207657</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Let's say that in specific path there are multiple txt files with name structure: RevenueYYYYMMDD&lt;/P&gt;
&lt;P&gt;(For example: Revenue20200912,&amp;nbsp;Revenue20200917,Revenue20200802&amp;nbsp; and so on)&lt;/P&gt;
&lt;P&gt;The task is to tell SAS to create a data set with one column called date_Revenue_File.&lt;/P&gt;
&lt;P&gt;In this column there will be dates from names of the files&amp;nbsp;date.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;If there are 3 files:&lt;/P&gt;
&lt;P&gt;Revenue20200912&lt;/P&gt;
&lt;P&gt;Revenue20200917&lt;/P&gt;
&lt;P&gt;Revenue20200802&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in the column "date" there will be 3 values:&lt;/P&gt;
&lt;P&gt;20200912&lt;/P&gt;
&lt;P&gt;20200917&lt;/P&gt;
&lt;P&gt;20200802&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 10:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-data-set-with-information-of-dates-in-txt-files-names/m-p/684926#M207657</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-09-18T10:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create data set with information of dates in txt files names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-data-set-with-information-of-dates-in-txt-files-names/m-p/684928#M207659</link>
      <description>&lt;P&gt;Read the very first pinned article, about how to read file names in a directory.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 10:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-data-set-with-information-of-dates-in-txt-files-names/m-p/684928#M207659</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-09-18T10:44:48Z</dc:date>
    </item>
  </channel>
</rss>

