<?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 Error: More positional parameters found than defined in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8132#M232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the macro code that I've been running and I get the same ERROR message. "More positional parameters found than defined." The 'collateral' macro seems to compile correctly and the increment variable also evaluates how it is supposed to. What am I missing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Oct 2012 02:16:16 GMT</pubDate>
    <dc:creator>maroulator</dc:creator>
    <dc:date>2012-10-13T02:16:16Z</dc:date>
    <item>
      <title>Macro Error: More positional parameters found than defined</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8129#M229</link>
      <description>Hello Everyone,&lt;BR /&gt;
&lt;BR /&gt;
I got this error when I tried to run a macro.  It encountered the errors right away and didnt run at all.  Am I not passing the correct number of variables to the macro?&lt;BR /&gt;
&lt;BR /&gt;
Here is the macro parameters:&lt;BR /&gt;
&lt;BR /&gt;
%macro pre_cleanse(indata  = ,  testing = );&lt;BR /&gt;
  macro body&lt;BR /&gt;
%mend pre_cleanse;&lt;BR /&gt;
&lt;BR /&gt;
Here is how I execute the macro:&lt;BR /&gt;
&lt;BR /&gt;
%pre_cleanse(chk_seed,1);&lt;BR /&gt;
   &lt;BR /&gt;
The ERRORS:&lt;BR /&gt;
&lt;BR /&gt;
  %pre_cleanse(chk_seed,1);&lt;BR /&gt;
MLOGIC(PRE_CLEANSE):  Beginning execution.&lt;BR /&gt;
ERROR: More positional parameters found than defined.&lt;BR /&gt;
MLOGIC(PRE_CLEANSE):  Parameter INDATA has value&lt;BR /&gt;
MLOGIC(PRE_CLEANSE):  Parameter TESTING has value&lt;BR /&gt;
MLOGIC(PRE_CLEANSE):  Ending execution.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any input will be greatly appreciated.&lt;BR /&gt;
Thank you !!</description>
      <pubDate>Thu, 22 Apr 2010 15:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8129#M229</guid>
      <dc:creator>KevinC_</dc:creator>
      <dc:date>2010-04-22T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Error: More positional parameters found than defined</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8130#M230</link>
      <description>Drop the "=" in your %MACRO statement.  The "=" specifies that it is a keyword parameter, so you have no positional parameters defined.</description>
      <pubDate>Thu, 22 Apr 2010 15:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8130#M230</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-04-22T15:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Error: More positional parameters found than defined</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8131#M231</link>
      <description>Thank you so much Doc@Duke!  It worked.</description>
      <pubDate>Thu, 22 Apr 2010 17:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8131#M231</guid>
      <dc:creator>KevinC_</dc:creator>
      <dc:date>2010-04-22T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Error: More positional parameters found than defined</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8132#M232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the macro code that I've been running and I get the same ERROR message. "More positional parameters found than defined." The 'collateral' macro seems to compile correctly and the increment variable also evaluates how it is supposed to. What am I missing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 02:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Error-More-positional-parameters-found-than-defined/m-p/8132#M232</guid>
      <dc:creator>maroulator</dc:creator>
      <dc:date>2012-10-13T02:16:16Z</dc:date>
    </item>
  </channel>
</rss>

