<?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 Could anyone let me know how to concatenate year and previous month in Unix Using date command in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212645#M267487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could anyone let me know how to concatenate year and previous month in Unix Using date command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 12:41:27 GMT</pubDate>
    <dc:creator>laxmanpai</dc:creator>
    <dc:date>2015-03-30T12:41:27Z</dc:date>
    <item>
      <title>Could anyone let me know how to concatenate year and previous month in Unix Using date command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212645#M267487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could anyone let me know how to concatenate year and previous month in Unix Using date command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 12:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212645#M267487</guid>
      <dc:creator>laxmanpai</dc:creator>
      <dc:date>2015-03-30T12:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone let me know how to concatenate year and previous month in Unix Using date command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212646#M267488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this related to a UNIX command or within a SAS data set?&lt;/P&gt;&lt;P&gt;If the later, are your values numeric or character? What do you want the output to look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212646#M267488</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-30T15:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone let me know how to concatenate year and previous month in Unix Using date command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212647#M267489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is related to unix.&lt;/P&gt;&lt;P&gt;I would want the value as abc.201503.txt when i run a report in the month of April.&lt;/P&gt;&lt;P&gt;Is there any date command to eexecute this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212647#M267489</guid>
      <dc:creator>laxmanpai</dc:creator>
      <dc:date>2015-03-31T07:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone let me know how to concatenate year and previous month in Unix Using date command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212648#M267490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need the GNU version of date; some UNIXes (eg AIX 5.3) have a default date command that does not include all the capabilities of GNU date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call it like that:&lt;/P&gt;&lt;P&gt;date -d "1 month ago" +%Y%m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be careful: if you call that on March 31st, you still get 201503, because February did not have a 31st, and you land on March 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-let-me-know-how-to-concatenate-year-and-previous/m-p/212648#M267490</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-31T07:48:04Z</dc:date>
    </item>
  </channel>
</rss>

