<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I put the current date into the name of a file to export? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114219#M23521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to export a file in the format of abc_20120906.csv. How can I implement code so I don't need to hard code the date every time I run the pgm:&lt;/P&gt;&lt;P&gt;OUTFILE='''/depts/abc_&lt;STRONG&gt;&lt;EM&gt;date variable name&lt;/EM&gt;&lt;/STRONG&gt;..csv'''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 20:22:25 GMT</pubDate>
    <dc:creator>Mike7085</dc:creator>
    <dc:date>2012-09-06T20:22:25Z</dc:date>
    <item>
      <title>How do I put the current date into the name of a file to export?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114219#M23521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to export a file in the format of abc_20120906.csv. How can I implement code so I don't need to hard code the date every time I run the pgm:&lt;/P&gt;&lt;P&gt;OUTFILE='''/depts/abc_&lt;STRONG&gt;&lt;EM&gt;date variable name&lt;/EM&gt;&lt;/STRONG&gt;..csv'''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114219#M23521</guid>
      <dc:creator>Mike7085</dc:creator>
      <dc:date>2012-09-06T20:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I put the current date into the name of a file to export?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114220#M23522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would use a MACRO variable here, see Example 1 in the %SYSFUNC statement documentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:27:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114220#M23522</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2012-09-06T20:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I put the current date into the name of a file to export?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114221#M23523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;worked as advertised. Thanks for the quick response!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 21:03:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-put-the-current-date-into-the-name-of-a-file-to-export/m-p/114221#M23523</guid>
      <dc:creator>Mike7085</dc:creator>
      <dc:date>2012-09-06T21:03:04Z</dc:date>
    </item>
  </channel>
</rss>

