<?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: Do loop in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211646#M4971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read my post, the answer is there. And thoroughly study this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/68140/HTML/default/viewer.htm#p14qac7nd7n0s1n1rfte5bwrpfcy.htm" title="http://support.sas.com/documentation/cdl/en/mcrolref/68140/HTML/default/viewer.htm#p14qac7nd7n0s1n1rfte5bwrpfcy.htm"&gt;SAS(R) 9.4 Macro Language: Reference, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;since it seems that you have an incorrect understanding of what the macro language does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 May 2015 07:44:59 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-05-09T07:44:59Z</dc:date>
    <item>
      <title>Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211640#M4965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written following sas code it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA multiply;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; answer = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do i = 1 to 4;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; answer=answer + 3;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;Proc print data= multiply;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Obs&amp;nbsp;&amp;nbsp;&amp;nbsp; answer&amp;nbsp;&amp;nbsp;&amp;nbsp; i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to do this through macro i didn't work correctly I am using this macro code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro Power; &lt;/P&gt;&lt;P&gt;%let answer=0;&lt;/P&gt;&lt;P&gt;%do i = 1 %to 5;&lt;/P&gt;&lt;P&gt;%let answer=&amp;amp;answer+3;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is not working and hence did not get same out as above&lt;/P&gt;&lt;P&gt;Kindly help me in this regard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Power;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 05:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211640#M4965</guid>
      <dc:creator>Rasheed</dc:creator>
      <dc:date>2015-05-08T05:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211641#M4966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try %eval ()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 05:30:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211641#M4966</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-05-08T05:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211642#M4967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur reply&lt;/P&gt;&lt;P&gt;could u mention where I have to use this %eval() in above code &lt;/P&gt;&lt;P&gt;or could u write this completed short macro code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 05:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211642#M4967</guid>
      <dc:creator>Rasheed</dc:creator>
      <dc:date>2015-05-08T05:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211643#M4968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its when you try to evaluate the macro variable + something:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%macro Power;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%let answer=0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%do i = 1 %to 5;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%let answer=%eval(&amp;amp;answer+3);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;output;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%end;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, why do you need to do it this why anyways when base SAS can do it?&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; answer = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do i=1 to 4;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; answer=answer + 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put answer;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211643#M4968</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-08T07:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211644#M4969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%Power; on its own will only get you a syntax error, unless you wrapped it into a data step, where it will output meaningless records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro itself yields only this:&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro engine is a text generator that creates program text BEFORE(!!!!) any action is taken.&lt;/P&gt;&lt;P&gt;It is there to dynamically generate program text if the need for this arises. This is not the case in your example AT ALL.&lt;/P&gt;&lt;P&gt;Macro variables are only "visible" to the macro engine; only when they are placed &lt;SPAN style="text-decoration: underline;"&gt;outside of macro statements&lt;/SPAN&gt;, their contents are then fed to the main SAS interpreter as program text(!) by the macro engine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 08:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211644#M4969</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-08T08:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211645#M4970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%Power is not yielding the output but producing errors in log window like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Line generated by the invoked macro "POWER".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get the output plz guide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 06:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211645#M4970</guid>
      <dc:creator>Rasheed</dc:creator>
      <dc:date>2015-05-09T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211646#M4971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read my post, the answer is there. And thoroughly study this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/68140/HTML/default/viewer.htm#p14qac7nd7n0s1n1rfte5bwrpfcy.htm" title="http://support.sas.com/documentation/cdl/en/mcrolref/68140/HTML/default/viewer.htm#p14qac7nd7n0s1n1rfte5bwrpfcy.htm"&gt;SAS(R) 9.4 Macro Language: Reference, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;since it seems that you have an incorrect understanding of what the macro language does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 07:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211646#M4971</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-09T07:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211647#M4972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro Power; &lt;/P&gt;&lt;P&gt;Data power1;&lt;/P&gt;&lt;P&gt;count=0;&lt;/P&gt;&lt;P&gt;%do i = 1 %to 5;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Proc print data=power1;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Power;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 08:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211647#M4972</guid>
      <dc:creator>Rasheed</dc:creator>
      <dc:date>2015-05-09T08:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211648#M4973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is still an abuse of the macro engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data power1;&lt;/P&gt;&lt;P&gt;do count = 1 to 5;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro creates the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data power1;&lt;/P&gt;&lt;P&gt;count = 0;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;count=count+1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crushing peanuts with an elephant's hoof.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 09:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211648#M4973</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-09T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211649#M4974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rasheed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see you are flexing&amp;nbsp; muscles&amp;nbsp; as you learn the functionality&amp;nbsp; of&amp;nbsp; SAS&lt;/P&gt;&lt;P&gt;best of luck &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peterC &lt;/P&gt;&lt;P&gt;ps&amp;nbsp; &lt;/P&gt;&lt;P&gt;the manuals are online&amp;nbsp; and worth reading for all the examples&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 11:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211649#M4974</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2015-05-09T11:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211650#M4975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is, in the example given he isn't learning the functionality of SAS, just learning how to obfuscate his code.&amp;nbsp; It would be far better if learning macro programming to firstly read the documentation to understand what macro is, then writing something for a specific purpose which isn't directly covered by Base SAS.&amp;nbsp; Too often seems to be the case that lack of Base SAS is covered over by illogical use of macro language. I believe this is what the term "Crushing peanuts with an elephant's hoof." refers to, although I think elephants actually eat the nuts with the shells on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 12:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Do-loop/m-p/211650#M4975</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-09T12:34:16Z</dc:date>
    </item>
  </channel>
</rss>

