<?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 loading issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-loading-issue/m-p/65788#M14291</link>
    <description>I was just trying to reload my macro path&lt;BR /&gt;
and the log file gives me the error;&lt;BR /&gt;
then no matter what I run, the code doesnt execute and return the code to the log file.&lt;BR /&gt;
&lt;BR /&gt;
any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
proc options option = macro; run;  /* switch on macro capabilty*/&lt;BR /&gt;
%Include 'C:\Macro\access macro.sas';&lt;BR /&gt;
&lt;BR /&gt;
WARNING: Truncated record.&lt;BR /&gt;
ERROR: Open code statement recursion detected.&lt;BR /&gt;
ERROR: Expecting comma (to separate macro parameters) or close parenthesis (to end parameter list)&lt;BR /&gt;
       but found: when&lt;BR /&gt;
ERROR: A dummy macro will be compiled.</description>
    <pubDate>Fri, 12 Dec 2008 21:03:08 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-12-12T21:03:08Z</dc:date>
    <item>
      <title>Macro loading issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-loading-issue/m-p/65788#M14291</link>
      <description>I was just trying to reload my macro path&lt;BR /&gt;
and the log file gives me the error;&lt;BR /&gt;
then no matter what I run, the code doesnt execute and return the code to the log file.&lt;BR /&gt;
&lt;BR /&gt;
any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
proc options option = macro; run;  /* switch on macro capabilty*/&lt;BR /&gt;
%Include 'C:\Macro\access macro.sas';&lt;BR /&gt;
&lt;BR /&gt;
WARNING: Truncated record.&lt;BR /&gt;
ERROR: Open code statement recursion detected.&lt;BR /&gt;
ERROR: Expecting comma (to separate macro parameters) or close parenthesis (to end parameter list)&lt;BR /&gt;
       but found: when&lt;BR /&gt;
ERROR: A dummy macro will be compiled.</description>
      <pubDate>Fri, 12 Dec 2008 21:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-loading-issue/m-p/65788#M14291</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-12T21:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro loading issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-loading-issue/m-p/65789#M14292</link>
      <description>This code doesn't 'reload my macro path'; it also doesn't 'switch on macro capability'. Proc options just shows you what's already defined.&lt;BR /&gt;
&lt;BR /&gt;
The error you get looks as if the included code has some syntax error in it.&lt;BR /&gt;
&lt;BR /&gt;
Use the following options which might show you a bit better in your log what's going on:&lt;BR /&gt;
options mprint merror mlogic symbolgen source2;&lt;BR /&gt;
&lt;BR /&gt;
It's sometimes also a good idea to restart the session as errors can be caused by some 'left-over' of a previous run.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 12 Dec 2008 22:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-loading-issue/m-p/65789#M14292</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-12-12T22:01:49Z</dc:date>
    </item>
  </channel>
</rss>

