<?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 SAS Tip: Use the SOURCE2 Option with %include to Get a Detailed Log in SAS Tips from the Community</title>
    <link>https://communities.sas.com/t5/SAS-Tips-from-the-Community/SAS-Tip-Use-the-SOURCE2-Option-with-include-to-Get-a-Detailed/m-p/442583#M162</link>
    <description>&lt;P&gt;You can use the SOURCE2 system option to get more details in the log for files that are run with %include:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options source2;
%include 'C:\my SAS files\sample program.sas';
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To disable this option: options nosource2; Or, for even more control, you can temporarily enable the option for a specific %include call:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include 'C:\my SAS files\sample program.sas' /source2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks to Otterm1 for sharing this tip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 13:50:43 GMT</pubDate>
    <dc:creator>SAS_Tipster</dc:creator>
    <dc:date>2018-04-16T13:50:43Z</dc:date>
    <item>
      <title>SAS Tip: Use the SOURCE2 Option with %include to Get a Detailed Log</title>
      <link>https://communities.sas.com/t5/SAS-Tips-from-the-Community/SAS-Tip-Use-the-SOURCE2-Option-with-include-to-Get-a-Detailed/m-p/442583#M162</link>
      <description>&lt;P&gt;You can use the SOURCE2 system option to get more details in the log for files that are run with %include:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options source2;
%include 'C:\my SAS files\sample program.sas';
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To disable this option: options nosource2; Or, for even more control, you can temporarily enable the option for a specific %include call:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include 'C:\my SAS files\sample program.sas' /source2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks to Otterm1 for sharing this tip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Tips-from-the-Community/SAS-Tip-Use-the-SOURCE2-Option-with-include-to-Get-a-Detailed/m-p/442583#M162</guid>
      <dc:creator>SAS_Tipster</dc:creator>
      <dc:date>2018-04-16T13:50:43Z</dc:date>
    </item>
  </channel>
</rss>

