<?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: Date values in filename in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549679#M8715</link>
    <description>Whenever i submit the job the job should create filename with previous&lt;BR /&gt;month date and have to post that file to another sft server&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Apr 2019 15:57:18 GMT</pubDate>
    <dc:creator>Codepro</dc:creator>
    <dc:date>2019-04-09T15:57:18Z</dc:date>
    <item>
      <title>Date values in filename</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549603#M8703</link>
      <description>&lt;P&gt;Dear users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me in substituting previous month date values to the outputi filename?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex..if Apr 09 2019 current system date then my output filename should be as ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename_Mar2019.txt&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549603#M8703</guid>
      <dc:creator>Codepro</dc:creator>
      <dc:date>2019-04-09T13:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date values in filename</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549615#M8704</link>
      <description>&lt;P&gt;You can create the file name like these. What do you want to do from there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  fn=cats('YOURPATHHERE\filename_', put(intnx('month', today(), -1, 'b'), monyy7.), '.txt');
  put fn=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2019 14:09:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549615#M8704</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-09T14:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date values in filename</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549679#M8715</link>
      <description>Whenever i submit the job the job should create filename with previous&lt;BR /&gt;month date and have to post that file to another sft server&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-values-in-filename/m-p/549679#M8715</guid>
      <dc:creator>Codepro</dc:creator>
      <dc:date>2019-04-09T15:57:18Z</dc:date>
    </item>
  </channel>
</rss>

