<?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 issuse:  The parameter is not recognized and will be ignored in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62795#M13654</link>
    <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
It looks as if &amp;amp;FREDID resolves to "766 43322"&lt;BR /&gt;
NOTE: Line generated by the macro variable "FREDID".&lt;BR /&gt;
766 43322&lt;BR /&gt;
&lt;BR /&gt;
That's not a string which you can use as valid table name name.&lt;BR /&gt;
CREATE TABLE &amp;amp;FREDID.......&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
    <pubDate>Fri, 06 May 2011 03:40:35 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2011-05-06T03:40:35Z</dc:date>
    <item>
      <title>macro issuse:  The parameter is not recognized and will be ignored</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62794#M13653</link>
      <description>I seem to be too close to the trees on this problem and can't seem to resolve it.  It is code that I have just inherited and that might be part of the problem.&lt;BR /&gt;
&lt;BR /&gt;
what is this error message related to   "The option or parameter is not recognized and will be ignored?"   &lt;BR /&gt;
&lt;BR /&gt;
Does it have to do with the setting and/or formatting and/ of FREDID?&lt;BR /&gt;
&lt;BR /&gt;
Is there a quick fix or do I have some work ahead of me? &lt;BR /&gt;
&lt;BR /&gt;
Please let me know if any additional info is required.&lt;BR /&gt;
&lt;BR /&gt;
THANKS!!! &lt;BR /&gt;
&lt;BR /&gt;
MLOGIC(VIEW55):  %LET (variable name is FREDID)&lt;BR /&gt;
1660 NOTE: Line generated by the invoked macro "VIEW55".&lt;BR /&gt;
1661 766                 CREATE TABLE &amp;amp;FREDID AS         SELECT PAG AS PAGE_NUMBER,COU AS &amp;amp;FREDID            FROM VIEWS55&lt;BR /&gt;
1662                                         __&lt;BR /&gt;
1663                                         202&lt;BR /&gt;
1664 766      ! WHERE XXID="&amp;amp;FREDID";&lt;BR /&gt;
1665 MPRINT(VIEW55):   CREATE TABLE 43322 AS SELECT PAG AS PAGE_NUMBER,COU AS 43322 FROM VIEWS55 WHERE  XXID="43322";&lt;BR /&gt;
1666 ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;
1667&lt;BR /&gt;
1668 NOTE: PROC SQL set option NOEXEC and wi &lt;BR /&gt;
&lt;BR /&gt;
1668 NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;
1669 NOTE: Line generated by the macro variable "FREDID".&lt;BR /&gt;
1670 766         43322&lt;BR /&gt;
1671             _____&lt;BR /&gt;
1672             22&lt;BR /&gt;
1673 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string.&lt;BR /&gt;
&lt;BR /&gt;
Here is the code:&lt;BR /&gt;
&lt;BR /&gt;
PROC SQL PRINT;&lt;BR /&gt;
&lt;BR /&gt;
  %DO B=1 %TO &amp;amp;MHIDS;&lt;BR /&gt;
    %LET FREDID=%SCAN(&amp;amp;XXIDLIST,&amp;amp;B);&lt;BR /&gt;
&lt;BR /&gt;
     CREATE TABLE &amp;amp;FREDID AS&lt;BR /&gt;
       SELECT PAG AS PAGE_NUMBER,COU AS &amp;amp;FREDID&lt;BR /&gt;
          FROM VIEWS55&lt;BR /&gt;
          WHERE XXID="&amp;amp;FREDID";&lt;BR /&gt;
   %END;&lt;BR /&gt;
&lt;BR /&gt;
QUIT;</description>
      <pubDate>Fri, 06 May 2011 03:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62794#M13653</guid>
      <dc:creator>veblen</dc:creator>
      <dc:date>2011-05-06T03:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: macro issuse:  The parameter is not recognized and will be ignored</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62795#M13654</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
It looks as if &amp;amp;FREDID resolves to "766 43322"&lt;BR /&gt;
NOTE: Line generated by the macro variable "FREDID".&lt;BR /&gt;
766 43322&lt;BR /&gt;
&lt;BR /&gt;
That's not a string which you can use as valid table name name.&lt;BR /&gt;
CREATE TABLE &amp;amp;FREDID.......&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 06 May 2011 03:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62795#M13654</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2011-05-06T03:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: macro issuse:  The parameter is not recognized and will be ignored</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62796#M13655</link>
      <description>Thanks Patrick!  Your help is highly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
So the issue is with &amp;amp;FREDID being set as a valid table name. &lt;BR /&gt;
&lt;BR /&gt;
I thought that might be the culprit but I wanted to confirm.  Though, my eyes must have missed the two numbers or I'd of held off of the post.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards</description>
      <pubDate>Fri, 06 May 2011 04:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-issuse-The-parameter-is-not-recognized-and-will-be-ignored/m-p/62796#M13655</guid>
      <dc:creator>veblen</dc:creator>
      <dc:date>2011-05-06T04:14:25Z</dc:date>
    </item>
  </channel>
</rss>

