<?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 Erros Apparent symbolic reference not resolved in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722033#M223843</link>
    <description>What is the value of the macro variable "&amp;amp;datiq"?</description>
    <pubDate>Fri, 26 Feb 2021 02:48:51 GMT</pubDate>
    <dc:creator>qoit</dc:creator>
    <dc:date>2021-02-26T02:48:51Z</dc:date>
    <item>
      <title>Macro Erros Apparent symbolic reference not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722024#M223839</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;I am getting error on below codes unable to call macro , could you please help to fix this errors&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.params;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; qdbs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;$5.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; strgs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;$50.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;JAN21 Mar9QF Strategy&lt;/P&gt;&lt;P&gt;Dec20 FRB Base Strategy&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &lt;STRONG&gt;&lt;I&gt;NVPstg_Loop&lt;/I&gt;&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%do&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; i = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%to&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &amp;amp;datiq;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set work.params;&lt;/P&gt;&lt;P&gt;if _n_ = &amp;amp;i then do;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;call symputx (&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'q'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, qdbs);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;call symputx (&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'s'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, strgs);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &amp;amp;q &amp;amp;s;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;Run_Pricing&lt;/I&gt;&lt;/STRONG&gt;(&amp;amp;q,&amp;amp;s);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%end&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;%mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;cnts&lt;/I&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;NVPstg_Loop&lt;/I&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;getting Error message&lt;/P&gt;&lt;P&gt;WARNING: Apparent symbolic reference DATIQ not resolved.&lt;/P&gt;&lt;P&gt;ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The condition was:&lt;/P&gt;&lt;P&gt;(&amp;amp;datiq)&lt;/P&gt;&lt;P&gt;ERROR: The %TO value of the %DO I loop is invalid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 01:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722024#M223839</guid>
      <dc:creator>Ashpak</dc:creator>
      <dc:date>2021-02-26T01:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Erros Apparent symbolic reference not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722031#M223841</link>
      <description>&lt;P&gt;You don't define the macro variable&amp;nbsp;&lt;SPAN&gt;datiq anywhere. You could add a %LET statement to define it. For example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let datiq = 2;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 02:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722031#M223841</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-26T02:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Erros Apparent symbolic reference not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722033#M223843</link>
      <description>What is the value of the macro variable "&amp;amp;datiq"?</description>
      <pubDate>Fri, 26 Feb 2021 02:48:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722033#M223843</guid>
      <dc:creator>qoit</dc:creator>
      <dc:date>2021-02-26T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Erros Apparent symbolic reference not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722283#M223937</link>
      <description>Thanks %Let datiq=0; declaration was missing now fixed thanks for your help</description>
      <pubDate>Fri, 26 Feb 2021 23:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Erros-Apparent-symbolic-reference-not-resolved/m-p/722283#M223937</guid>
      <dc:creator>Ashpak</dc:creator>
      <dc:date>2021-02-26T23:49:15Z</dc:date>
    </item>
  </channel>
</rss>

