<?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: how can i do this for next 5 years !! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131567#M26805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Mar 2013 18:08:16 GMT</pubDate>
    <dc:creator>allurai0412</dc:creator>
    <dc:date>2013-03-09T18:08:16Z</dc:date>
    <item>
      <title>how can i do this for next 5 years !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131565#M26803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am increementing 'spcday' by one month.....as&amp;nbsp; ' nxt_spcday'.....but while increementing "nxt_spcday' should not a 'SUNDAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now i did only for one month...&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;.how can do this for next 5 years ...?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have ;&lt;/P&gt;&lt;P&gt;input scheme$ spcday DDMMYY10.;&lt;/P&gt;&lt;P&gt;nxt_spcday=intnx('month',spcday,1,'s');&lt;/P&gt;&lt;P&gt;if weekday(nxt_spcday)=1&lt;/P&gt;&lt;P&gt;then nxt2_spcday=intnx('day',nxt_spcday,1);&lt;/P&gt;&lt;P&gt;FORMAT spcday DDMMYY10. ;&lt;/P&gt;&lt;P&gt;format nxt_spcday ddmmyy10.;&lt;/P&gt;&lt;P&gt;format nxt2_spcday ddmmyy10.;&lt;/P&gt;&lt;P&gt;datalines; &lt;/P&gt;&lt;P&gt;IV 14/03/2013&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALLU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 17:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131565#M26803</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-03-09T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: how can i do this for next 5 years !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131566#M26804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;data have;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;format spcday nxt_spcday ddmmyy10.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;input scheme$ spcday DDMMYY10.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;do _n_ = 1 to 5*12;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nxt_spcday=intnx('month',spcday,_n_,'s');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if weekday(nxt_spcday)=1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then nxt_spcday=intnx('day',nxt_spcday,1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;datalines; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;IV 14/03/2013&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 17:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131566#M26804</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-09T17:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can i do this for next 5 years !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131567#M26805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 18:08:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-do-this-for-next-5-years/m-p/131567#M26805</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-03-09T18:08:16Z</dc:date>
    </item>
  </channel>
</rss>

