<?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: open code in macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74475#M16038</link>
    <description>that %include is passed through by the macro language compiler. The code is not opened and interpreted by that compiler, so %if is not valid once the syntax is out of the scope of the macro language compiler.</description>
    <pubDate>Fri, 24 Sep 2010 16:00:02 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2010-09-24T16:00:02Z</dc:date>
    <item>
      <title>open code in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74474#M16037</link>
      <description>weird thing: in a macro I had included several scripts using %include. in these scripts I had codes like %if - %then %do - %end. I got error message like:&lt;BR /&gt;
&lt;BR /&gt;
ERROR: The %IF statement is not valid in open code.&lt;BR /&gt;
&lt;BR /&gt;
I dont understand how this happened. all these %if stuff are still within the macro, right? Help appreciated!!!</description>
      <pubDate>Fri, 24 Sep 2010 14:02:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74474#M16037</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2010-09-24T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: open code in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74475#M16038</link>
      <description>that %include is passed through by the macro language compiler. The code is not opened and interpreted by that compiler, so %if is not valid once the syntax is out of the scope of the macro language compiler.</description>
      <pubDate>Fri, 24 Sep 2010 16:00:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74475#M16038</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-09-24T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: open code in macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74476#M16039</link>
      <description>Suggest the OP try some additional SAS OPTIONS settings (below) to diagnose further:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS SOURCE SOURCE2 MACROGEN SYMBOLGEN MPRINT /* MLOGIC */;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 24 Sep 2010 17:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/open-code-in-macro/m-p/74476#M16039</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-09-24T17:23:32Z</dc:date>
    </item>
  </channel>
</rss>

