<?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 macro variable in macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200249#M37431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to build a macro variable within a macro.&amp;nbsp; The following doesn't work but I'm hoping it will give you some idea of what I'm trying to accomplish.&amp;nbsp; The call symput lines are where my question is.&amp;nbsp; How do I go about accomplishing this in a loop?&amp;nbsp; Is it possible to change the libname and then change the data source each iteration?&amp;nbsp; It's easy enough to set up 12 macro variables prior to this step but I was hoping to avoid doing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro cib;&lt;/P&gt;&lt;P&gt;%do i= &amp;amp;num_month %to 01 %by -1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call symputx('lastmon',substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P&gt;call symputx('monyear',substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname &lt;STRONG&gt;&amp;amp;lastmon&lt;/STRONG&gt; "/sas/data/execution/ccmr/&lt;STRONG&gt;&amp;amp;lastmon&lt;/STRONG&gt;";&lt;/P&gt;&lt;P&gt;data cust_inst_base_&amp;amp;monyear;&lt;/P&gt;&lt;P&gt;set &amp;amp;lastmon..cust_inst_base_&amp;amp;monyear;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%cib;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;Go Pirates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Mark Johnson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 17:50:09 GMT</pubDate>
    <dc:creator>Steelers_In_DC</dc:creator>
    <dc:date>2015-07-10T17:50:09Z</dc:date>
    <item>
      <title>macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200249#M37431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to build a macro variable within a macro.&amp;nbsp; The following doesn't work but I'm hoping it will give you some idea of what I'm trying to accomplish.&amp;nbsp; The call symput lines are where my question is.&amp;nbsp; How do I go about accomplishing this in a loop?&amp;nbsp; Is it possible to change the libname and then change the data source each iteration?&amp;nbsp; It's easy enough to set up 12 macro variables prior to this step but I was hoping to avoid doing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro cib;&lt;/P&gt;&lt;P&gt;%do i= &amp;amp;num_month %to 01 %by -1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call symputx('lastmon',substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P&gt;call symputx('monyear',substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,&lt;STRONG&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname &lt;STRONG&gt;&amp;amp;lastmon&lt;/STRONG&gt; "/sas/data/execution/ccmr/&lt;STRONG&gt;&amp;amp;lastmon&lt;/STRONG&gt;";&lt;/P&gt;&lt;P&gt;data cust_inst_base_&amp;amp;monyear;&lt;/P&gt;&lt;P&gt;set &amp;amp;lastmon..cust_inst_base_&amp;amp;monyear;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%cib;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;Go Pirates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Mark Johnson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 17:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200249#M37431</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-07-10T17:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200250#M37432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will wan to explain where you assign macro variable &amp;amp;num_month and also SAS dataset variable date9 -- this is not revealed with what has been contributed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likely you might consider using CALL EXECUTE within a DATA step that contains your iteration variable(s) and do so with a DATA step DO/END loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always recommend starting with "stick figures" and then work up to building your solution -- that would be to use the very basic idea of instream DATALINES to compose a prototype of the working parts, then substitute in your processing variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott Barry&lt;/P&gt;&lt;P&gt;SBBWorks, Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200250#M37432</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2015-07-10T18:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200251#M37433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SYMPUT is actually a DATA step statement.&amp;nbsp; The quickest fix might be to insert two lines into your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;call symputx('lastmon',substr(put(intnx('month',date9,&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;call symputx('monyear',substr(put(intnx('month',date9,&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;-&amp;amp;i&lt;/STRONG&gt;,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;No guarantees that this handles all the problems, but it moves you significantly in the right direction.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200251#M37433</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-07-10T18:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200252#M37434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other variables come from this step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;date9 = today()-15; /* add -15 after today() if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;call symput('num_month',strip(put(month(today())-2,z2.))); /*-1 should be changed to -2 if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;call symputx('lastmon',substr(put(intnx('month',date9,-1,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P&gt;call symputx('monyear',substr(put(intnx('month',date9,-1,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,-1,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200252#M37434</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-07-10T18:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200253#M37435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did fix that aspect of the problem, thanks.&amp;nbsp; I'll probably be back before I finish this step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 19:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200253#M37435</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-07-10T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200254#M37436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably do not need to modify the LIBREF since you are changing the path that it points to.&amp;nbsp; Also that way you do not need be sure that the value of &amp;amp;LASTMON is valid to use as a libref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;SPAN style="background: yellow;"&gt;lastmon&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"/sas/data/execution/ccmr/&amp;amp;lastmon"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; cust_inst_base_&amp;amp;monyear;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;set&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: yellow;"&gt;lastmon&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;.&lt;STRONG&gt;c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ust_inst_base_&amp;amp;monyear;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 19:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200254#M37436</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-10T19:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200255#M37437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, that is true and a good point.&amp;nbsp; It's a personal preference for me.&amp;nbsp; The way the code and log will be documented I like to see the applicable month for each libname.&amp;nbsp; Here's the final code in case it helps anyone in the future.&amp;nbsp; Do people search here first?&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;date9 = today()-15; /* add -15 after today() if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;call symput('num_month',strip(put(month(today())-2,z2.))); /*-1 should be changed to -2 if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro cib;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%do i= &amp;amp;num_month %to 01 %by -1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date9 = today()-15; /* add -15 after today() if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('num_month',strip(put(month(today())-&amp;amp;i-1,z2.))); /*-1 should be changed to -2 if testing before the 15th business day*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('year',strip(year(today())),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('date9',put(date9,date9.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('gooddate9',put(intnx('month',date9,-&amp;amp;i,'e'),date9.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('date9_2',put(intnx('month',date9,-&amp;amp;i,'e'),date9.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('lastmon',substr(put(intnx('month',date9,-&amp;amp;i,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('mon',put(intnx('month',date9,-&amp;amp;i,'e'),date9.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('_mon',put(intnx('month',date9,-&amp;amp;i-1,'e'),date9.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('_lastmon',substr(put(intnx('month',date9,-&amp;amp;i-1,'e'),date9.),3,3),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('monyear',substr(put(intnx('month',date9,-&amp;amp;i,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,-&amp;amp;i,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('_monyear',substr(put(intnx('month',date9,-&amp;amp;i,'e'),mmddyy10.),1,2)||substr(put(intnx('month',date9,-&amp;amp;i,'e'),date9.),6,4),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('mmddyy10',put(intnx('month',date9,-&amp;amp;i,'e'),mmddyy10.),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('_mmddyy10',put(intnx('month',date9,-&amp;amp;i,'e'),mmddyy10.),'g');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('propdate',cats(propcase(substr("&amp;amp;mon",3,3)),substr("&amp;amp;mon",6,4)),'g');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx('_propdate',cats(propcase(substr("&amp;amp;_mon",3,3)),substr("&amp;amp;_mon",6,4)),'g');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test_&amp;amp;monyear;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; test = "&amp;amp;lastmon";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%cib;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 19:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200255#M37437</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-07-10T19:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: macro variable in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200256#M37438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of these date-stamp assignments can be done with macro assignment statements,&lt;/P&gt;&lt;P&gt;i.e. no need to run a data null with symput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On this page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sascommunity.org/wiki/Macro_Loops_with_Dates" title="http://www.sascommunity.org/wiki/Macro_Loops_with_Dates"&gt;http://www.sascommunity.org/wiki/Macro_Loops_with_Dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.sascommunity.org/wiki/Macro_Loops_with_Dates#Program_Info-in-Dates"&gt;&lt;SPAN class="tocnumber"&gt;2.2.1&lt;/SPAN&gt; &lt;SPAN class="toctext"&gt;Program Info-in-Dates&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-variable-in-macro/m-p/200256#M37438</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2015-07-13T19:47:06Z</dc:date>
    </item>
  </channel>
</rss>

