<?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: how to exclude %include comment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624381#M183926</link>
    <description>Thank you so much. You saved lots of space in the disk and time for me!</description>
    <pubDate>Thu, 13 Feb 2020 00:28:31 GMT</pubDate>
    <dc:creator>kelSAS</dc:creator>
    <dc:date>2020-02-13T00:28:31Z</dc:date>
    <item>
      <title>how to exclude %include comment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624307#M183899</link>
      <description>&lt;P&gt;I am using SAS on my computer to log on a remote server and run my codes in batches. I had always included a statement looking like below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include "c:\Users\Me\macro1.sas";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then, whenever I batch submit, SAS would run without telling me that it successfully loaded all the macros. All of sudden, I am getting all of my macro code written on my log file with comments like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: %INCLUDE (level 1) ending.&lt;/P&gt;&lt;P&gt;2589 +&lt;BR /&gt;2590 +%let dropvar = ;&lt;BR /&gt;2591 +%if &amp;amp;byvar = none %then %do;&lt;BR /&gt;2592 +&lt;BR /&gt;2593 +data xtemp;&lt;BR /&gt;2594 +set xtemp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 20 macros to load everytime I batch submit, but about 5 of them are giving me the log file. Would anyone possibly know the cause and the solution not to have these anymore? For one line of code, I am having more than 6,000 lines of log. Thank you for your help in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 19:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624307#M183899</guid>
      <dc:creator>kelSAS</dc:creator>
      <dc:date>2020-02-12T19:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to exclude %include comment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624312#M183900</link>
      <description>&lt;P&gt;Just tell it you don't want it to echo the lines to the log.&amp;nbsp; Either in the statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include "c:\Users\Me\macro1.sas" / nosource2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Or by setting the system option.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nosource2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 19:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624312#M183900</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-02-12T19:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to exclude %include comment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624381#M183926</link>
      <description>Thank you so much. You saved lots of space in the disk and time for me!</description>
      <pubDate>Thu, 13 Feb 2020 00:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-include-comment/m-p/624381#M183926</guid>
      <dc:creator>kelSAS</dc:creator>
      <dc:date>2020-02-13T00:28:31Z</dc:date>
    </item>
  </channel>
</rss>

