<?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: Macro Resolution in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210574#M52084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a loop SAS is looking for a series of macro variables &amp;amp;code1 &amp;amp;code2 &amp;amp;code3. The starting &amp;amp;&amp;amp; tells SAS that something has to resolve first before looking for the actual value of the variable. So &amp;amp;&amp;nbsp;&amp;nbsp; &amp;amp;code&amp;amp;j =&amp;gt; &amp;amp;code1 .&lt;/P&gt;&lt;P&gt;And in your example when j=1 &amp;amp;&amp;amp;code&amp;amp;j should have a value of 146.&lt;/P&gt;&lt;P&gt;If you want to see the value:&lt;/P&gt;&lt;P&gt;%put &amp;amp;&amp;amp;code&amp;amp;j; shows the value in the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 21:10:42 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-05-06T21:10:42Z</dc:date>
    <item>
      <title>Macro Resolution</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210572#M52082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have code1=146&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the meaning of "&amp;amp;&amp;amp;code&amp;amp;j&lt;/P&gt;&lt;P&gt;when j=1 in a loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I resolve it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 20:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210572#M52082</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2015-05-06T20:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Resolution</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210573#M52083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;&amp;amp;code&amp;amp;j&amp;nbsp; first resolve to &amp;amp;code1, then &amp;amp;code1 resolve to 146.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 21:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210573#M52083</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2015-05-06T21:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Resolution</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210574#M52084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a loop SAS is looking for a series of macro variables &amp;amp;code1 &amp;amp;code2 &amp;amp;code3. The starting &amp;amp;&amp;amp; tells SAS that something has to resolve first before looking for the actual value of the variable. So &amp;amp;&amp;nbsp;&amp;nbsp; &amp;amp;code&amp;amp;j =&amp;gt; &amp;amp;code1 .&lt;/P&gt;&lt;P&gt;And in your example when j=1 &amp;amp;&amp;amp;code&amp;amp;j should have a value of 146.&lt;/P&gt;&lt;P&gt;If you want to see the value:&lt;/P&gt;&lt;P&gt;%put &amp;amp;&amp;amp;code&amp;amp;j; shows the value in the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 21:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-Resolution/m-p/210574#M52084</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-06T21:10:42Z</dc:date>
    </item>
  </channel>
</rss>

