<?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: Suppressing Specific SAS Notes in the Log in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290545#M270002</link>
    <description>&lt;P&gt;If you don't have permission to change the code you will have to live with the warnings.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2016 19:12:48 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-08-09T19:12:48Z</dc:date>
    <item>
      <title>Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290264#M269996</link>
      <description>&lt;P&gt;I know how to supress the notes in SAS by&lt;/P&gt;&lt;PRE&gt;options nonotes;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;I am wondering how I can supress specific notes that have a certin text strings because I have to read though a huge log, but still want to see unexpected notes. For example, omit: WARNING: The variable ORDER in the DROP, KEEP, or RENAME list has never been referenced.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 17:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290264#M269996</guid>
      <dc:creator>krueg314</dc:creator>
      <dc:date>2016-08-08T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290266#M269997</link>
      <description>&lt;P&gt;I don't&amp;nbsp;advise turning off warnings, but it is possible. I think it was&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;&amp;nbsp;who mentioned that you can suppress these messages:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options dkricond=nowarning dkrocond=nowarning ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- &lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/68023/HTML/default/viewer.htm#p11ksgdhjx7369n1dpiry84z7gjn.htm" target="_self"&gt;Doc for the DKRICOND= option&lt;/A&gt;&amp;nbsp; (Drop, Keep, Rename for Input)&lt;/P&gt;
&lt;P&gt;- &lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/68023/HTML/default/viewer.htm#p0rvc5jmhoebkun1tj10qv4gd2jx.htm" target="_self"&gt;Doc for the DKROCOND= option&lt;/A&gt; (Drop, Keep, Rename for Output)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290266#M269997</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-08T18:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290275#M269998</link>
      <description>&lt;P&gt;Be careful what you wish for!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's one thing to suppress notes.&amp;nbsp; It's quite another to suppress warnings.&amp;nbsp; Warnings were designed by SAS to indicate that something may have gone wrong with your program.&amp;nbsp; The results may be different than what you want or expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be better off writing a program that reads the log as a raw data file, then prints the results you are looking for.&amp;nbsp; That way, the outcome is very much under your control, is more accurate than having a human read a huge log, and preserves all the original notes and warnings in case they are needed later.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290275#M269998</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-08-08T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290288#M269999</link>
      <description>&lt;P&gt;The approach I take is to write code to begin with that does not produce warnings - it isn't that difficult. That means when a warning is written then something new has caused it to happen and needs investigation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would argue that code producing logs with warnings is not well written - how do you know then what is a new warning and should be checked out and what are "normal" warnings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also the issue that a warning will cause a SAS job to have a non-zero return code. If you are running lots of SAS jobs, especially scheduled ones, then a zero return code is a sign that the job has run without any errors or warnings and does not need to be checked out.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 19:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290288#M269999</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-08-08T19:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290371#M270000</link>
      <description>&lt;P&gt;You should NOT, and I mean&amp;nbsp;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt; suppress such warnings, as they point to an error in the program, although one that does allow SAS to continue executing steps.&lt;/P&gt;
&lt;P&gt;Identify the cause of the message, and remove it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 05:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290371#M270000</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-09T05:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290435#M270001</link>
      <description>&lt;P&gt;I understand that warnings and errors are useful, but I run a custom version of SAS that has macros in the interface where there are macros I use that have warnings and notes&amp;nbsp;I cannot change because I do not have permission. It seems clear that each warning need a custom way to get rid of the note so I'll just leave the code as is.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290435#M270001</guid>
      <dc:creator>krueg314</dc:creator>
      <dc:date>2016-08-09T12:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Specific SAS Notes in the Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290545#M270002</link>
      <description>&lt;P&gt;If you don't have permission to change the code you will have to live with the warnings.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 19:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Specific-SAS-Notes-in-the-Log/m-p/290545#M270002</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-09T19:12:48Z</dc:date>
    </item>
  </channel>
</rss>

