<?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 I am learning the macros,please solve this if you can in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167836#M32281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from a given date for ex. 1st nov 2013 &lt;/P&gt;&lt;P&gt;1. assign the date in yyyy_mm format to a macro variable&lt;/P&gt;&lt;P&gt;2.Assign the date in MMM_YY foramt to a macro variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 16:31:36 GMT</pubDate>
    <dc:creator>sahaji</dc:creator>
    <dc:date>2013-12-09T16:31:36Z</dc:date>
    <item>
      <title>I am learning the macros,please solve this if you can</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167836#M32281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from a given date for ex. 1st nov 2013 &lt;/P&gt;&lt;P&gt;1. assign the date in yyyy_mm format to a macro variable&lt;/P&gt;&lt;P&gt;2.Assign the date in MMM_YY foramt to a macro variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 16:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167836#M32281</guid>
      <dc:creator>sahaji</dc:creator>
      <dc:date>2013-12-09T16:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: I am learning the macros,please solve this if you can</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167837#M32282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer to #1: %let macrovar=2013_11;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer to #2: should be obvious from answer to #1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 16:45:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167837#M32282</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-12-09T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: I am learning the macros,please solve this if you can</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167838#M32283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt; dt = today();&lt;/P&gt;&lt;P&gt; call symput('dt1', catx('_', year(dt), put(month(dt),2.)));&lt;/P&gt;&lt;P&gt; call symput('dt2', catx('_', substr(put(dt,date9.),3,3), substr(put(dt,date9.),8,2)));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;dt1= &amp;amp;dt2=;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 16:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167838#M32283</guid>
      <dc:creator>Eshan</dc:creator>
      <dc:date>2013-12-09T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: I am learning the macros,please solve this if you can</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167839#M32284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is what you mean.&amp;nbsp; Your question is somewhat vague.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;18&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; given=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%sysevalf&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;'1nov2013'd&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;19&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; a = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(putn(&amp;amp;given,yymon));&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;21&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; b = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(putn(&amp;amp;given,monyy));&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;22&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; NOTE: &amp;amp;=a &amp;amp;=b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;NOTE: A=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2013&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;NOV B=NOV13&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 17:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167839#M32284</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-09T17:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: I am learning the macros,please solve this if you can</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167840#M32285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,it is helpful for me, giving correct result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 19:07:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-learning-the-macros-please-solve-this-if-you-can/m-p/167840#M32285</guid>
      <dc:creator>sahaji</dc:creator>
      <dc:date>2013-12-09T19:07:03Z</dc:date>
    </item>
  </channel>
</rss>

