<?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: Stop FORMAT from printing values to LOG in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11512#M1375</link>
    <description>Thanks Scott.  I checked the macro and it's strictly VALUE statements...no options set, so it must be a default of my system.  The code you suggest didn't work for me so I'll just have to live with it in the debug process and then make sure it's turned off for other usage.&lt;BR /&gt;
&lt;BR /&gt;
If anyone has other suggestions, I'd appreciate it.</description>
    <pubDate>Wed, 16 Feb 2011 19:26:09 GMT</pubDate>
    <dc:creator>SusieQ324</dc:creator>
    <dc:date>2011-02-16T19:26:09Z</dc:date>
    <item>
      <title>Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11507#M1370</link>
      <description>Anyone know how to shut this off?  I'm using a %include for a proc format statement coming from a vendor and the output is quite large as it prints the value of the entire format statement to the log.  Anyway to shut this off?</description>
      <pubDate>Wed, 16 Feb 2011 18:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11507#M1370</guid>
      <dc:creator>SusieQ324</dc:creator>
      <dc:date>2011-02-16T18:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11508#M1371</link>
      <description>You could do&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
%include...&lt;BR /&gt;
ods listing;&lt;BR /&gt;
&lt;BR /&gt;
ods exclude=ALL is another option.&lt;BR /&gt;
&lt;BR /&gt;
*Never mind, I was thinking of the output window, not the log.&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: RickM&lt;BR /&gt;
&lt;BR /&gt;
Try using &lt;BR /&gt;
&lt;BR /&gt;
proc printo log="file.log";run&lt;BR /&gt;
%include&lt;BR /&gt;
proc printto;run;

Message was edited by: RickM</description>
      <pubDate>Wed, 16 Feb 2011 18:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11508#M1371</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2011-02-16T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11509#M1372</link>
      <description>Try the &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998454.htm" target="_blank"&gt;NOSOURCE2&lt;/A&gt; option.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
SOURCE2 | NOSOURCE2&lt;BR /&gt;
specifies whether SAS writes secondary source statements from files included by %INCLUDE statements to the SAS log.&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 16 Feb 2011 18:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11509#M1372</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2011-02-16T18:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11510#M1373</link>
      <description>Thanks Tim.  How is this handled if it's embedded within a Macro.  Looks like when I have MPRINT turned on, it'll still print.  Anyway around that as well?</description>
      <pubDate>Wed, 16 Feb 2011 18:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11510#M1373</guid>
      <dc:creator>SusieQ324</dc:creator>
      <dc:date>2011-02-16T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11511#M1374</link>
      <description>What's unclear here is whether there is a SOURCE2 coded explicitly on the %INCLUDE within your "vendor-supplied macro" - I suspect that it is?&lt;BR /&gt;
&lt;BR /&gt;
You can use a SAS macro "statement" (old-style, some call SAS 79 style), as shown below:&lt;BR /&gt;
&lt;BR /&gt;
MACRO SOURCE2  NOSOURCE2 %&lt;BR /&gt;
&lt;BR /&gt;
This will cause SAS to change the code string SOURCE2 to NOSOURCE2.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 16 Feb 2011 19:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11511#M1374</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-02-16T19:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11512#M1375</link>
      <description>Thanks Scott.  I checked the macro and it's strictly VALUE statements...no options set, so it must be a default of my system.  The code you suggest didn't work for me so I'll just have to live with it in the debug process and then make sure it's turned off for other usage.&lt;BR /&gt;
&lt;BR /&gt;
If anyone has other suggestions, I'd appreciate it.</description>
      <pubDate>Wed, 16 Feb 2011 19:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11512#M1375</guid>
      <dc:creator>SusieQ324</dc:creator>
      <dc:date>2011-02-16T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stop FORMAT from printing values to LOG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11513#M1376</link>
      <description>The code statement is the %INCLUDE, not the specific PROC FORMAT.  If you have access to the actual PROC or DATA step code-piece, you can always insert this statement:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS NOSOURCE NOSOURCE2;&lt;BR /&gt;
&lt;BR /&gt;
More information is needed to explain the SAS programming technique used, such as whether a MACRO is defined or open SAS code?  Try the OPTIONS above - you will want to verify that there is no other OPTIONS statement being invoked within the vendor code.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 16 Feb 2011 19:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Stop-FORMAT-from-printing-values-to-LOG/m-p/11513#M1376</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-02-16T19:48:14Z</dc:date>
    </item>
  </channel>
</rss>

