<?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 symbolic reference resolution warnings in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82889#M23781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm invoking a macro which involves some macro vars that appear within quoted text strings (i.e., filenames of pdfs &amp;amp; titles within those pdfs.) SAS log gives several 'Apparent symbolic ref... not resolved.' Yet, the referenced filenames &amp;amp; titles appear to have correctly resolved.&amp;nbsp; Any thoughts on why I'm getting warnings? code e.g.: &lt;/P&gt;&lt;P&gt;ClusPDFtitle="CLUSward&amp;amp;LEV._&amp;amp;regSUB.Range.PDF"-- &amp;amp;LEV and &amp;amp;regSUB are the macros.&lt;/P&gt;&lt;P&gt;I've attached to macro definition (REGpairROA_CLUSTER.sas)&amp;nbsp; file and the macro call (macroWARNING_invocationEG) in case it helps.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;KDA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 13:53:22 GMT</pubDate>
    <dc:creator>KDA</dc:creator>
    <dc:date>2012-04-13T13:53:22Z</dc:date>
    <item>
      <title>Macro symbolic reference resolution warnings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82889#M23781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm invoking a macro which involves some macro vars that appear within quoted text strings (i.e., filenames of pdfs &amp;amp; titles within those pdfs.) SAS log gives several 'Apparent symbolic ref... not resolved.' Yet, the referenced filenames &amp;amp; titles appear to have correctly resolved.&amp;nbsp; Any thoughts on why I'm getting warnings? code e.g.: &lt;/P&gt;&lt;P&gt;ClusPDFtitle="CLUSward&amp;amp;LEV._&amp;amp;regSUB.Range.PDF"-- &amp;amp;LEV and &amp;amp;regSUB are the macros.&lt;/P&gt;&lt;P&gt;I've attached to macro definition (REGpairROA_CLUSTER.sas)&amp;nbsp; file and the macro call (macroWARNING_invocationEG) in case it helps.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;KDA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 13:53:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82889#M23781</guid>
      <dc:creator>KDA</dc:creator>
      <dc:date>2012-04-13T13:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro symbolic reference resolution warnings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82890#M23782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are referencing the variables BEFORE they are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%LET LEV=01;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%REGpairROA_CLUSTER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(inputDATASET=K08.gHGUid_54613_PAIRanvaANO_c041012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,&lt;STRONG&gt;regSUBSET&lt;/STRONG&gt;=C4p05sig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,ClustPDFtitle="CLUSTERwardLEV&amp;amp;LEV._&lt;STRONG&gt;&amp;amp;regSUBSET.&lt;/STRONG&gt;RANGEofAVGsCLUSTERS.PDF"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example you are trying to use the value of the parameter REGSUBSET in the definition of the parameter CLUSTPDFTITLE.&lt;/P&gt;&lt;P&gt;You can either move that value out into an existing macro variable and use it everywhere it is needed (as you did with the macro variable LEV) or you could try using %NRSTR() macro function to tell SAS not to try to resolve &amp;amp;REGSUBSET during the macro call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 14:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82890#M23782</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-04-13T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro symbolic reference resolution warnings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82891#M23783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please disregard post. I've resolved the issue for now.&lt;/P&gt;&lt;P&gt;Thanks, KDA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 14:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-symbolic-reference-resolution-warnings/m-p/82891#M23783</guid>
      <dc:creator>KDA</dc:creator>
      <dc:date>2012-04-13T14:27:49Z</dc:date>
    </item>
  </channel>
</rss>

