<?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: Notes in the SAS Log File in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527281#M143719</link>
    <description>&lt;P&gt;Use function DIVIDE()&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;div&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;y&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;x&lt;SPAN class="token punctuation"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;--&amp;gt;&lt;BR /&gt;div=divide(y,x);&lt;/PRE&gt;</description>
    <pubDate>Tue, 15 Jan 2019 13:05:10 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-01-15T13:05:10Z</dc:date>
    <item>
      <title>Notes in the SAS Log File</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527276#M143714</link>
      <description>&lt;P&gt;My objective is to identify notes which are not really desired.&amp;nbsp; Or, maybe they are desired, however I just want to capture them using Perl or some other text parsing language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to find this&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001906177.htm" target="_blank"&gt;Surpress SAS Log&lt;/A&gt;, however it really focuses on surpress issues, I am more concerned with printing them to the log so that I can capture them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question, is there a documented list of note messages from SAS which would capture things like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
    y=1;
    x=0;
    div=y/x;
    array s{11} (1,0,1,0,1,9,8,7,.25,10,.);
    rate=.25;
    cf=npv(rate,of s{*});
run;

data a b;
    do i='a','a','a','b';
        x=1;
        output a;
    end;
    do i='a','a','b','b';
        y=2;
        output b;
    end;
run;

data _null_;
    merge a b;
    by i;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Standard log shows the following: (highlighted is a handful of notes, looking for some sort of full list of notes that would be thrown for performing something "questionable")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS Log Image.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26276iB0898DBE0FA68426/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS Log Image.JPG" alt="SAS Log Image.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527276#M143714</guid>
      <dc:creator>kybowma</dc:creator>
      <dc:date>2019-01-15T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Notes in the SAS Log File</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527281#M143719</link>
      <description>&lt;P&gt;Use function DIVIDE()&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;div&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;y&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;x&lt;SPAN class="token punctuation"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;--&amp;gt;&lt;BR /&gt;div=divide(y,x);&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:05:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527281#M143719</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-01-15T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Notes in the SAS Log File</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527283#M143720</link>
      <description>&lt;P&gt;Hi Ksharp!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Divide function, yes it would surpress a message such as that.&amp;nbsp; For the NPV function as well, I could just loop around and check for MISSING() and impute a zero to surpress the mathematical error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the programs which I am executing have been written by other users.&amp;nbsp; The objective here is to find a list of known publishable notes for information such as what was presented in the log.&amp;nbsp; I posed 3 notes which, is there others???&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527283#M143720</guid>
      <dc:creator>kybowma</dc:creator>
      <dc:date>2019-01-15T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Notes in the SAS Log File</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527312#M143738</link>
      <description>&lt;P&gt;Not a list that I know of, but here are a few you might add to your search:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;uninitialized, as in "The variable xyz is uninitialized."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;converted, as in "Character values were converted to numeric at line:number:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;missing values, as in "Missing values were generated as a result of ...."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to decide which ones are worth searching for.&amp;nbsp; Some shops allow these messages, some don't.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527312#M143738</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-01-15T14:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Notes in the SAS Log File</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527315#M143740</link>
      <description>&lt;P&gt;Hi Astounding,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely there is no formal documentation, I do appreciate the recommendation on some of the others.&amp;nbsp;&amp;nbsp;I have unitinitiazed covered, but I can add some of the others as well.&amp;nbsp; Ill add the character to numeric conversion as well as missing values, division by zero and mathematical operations issues and lastlye many to many merges.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Notes-in-the-SAS-Log-File/m-p/527315#M143740</guid>
      <dc:creator>kybowma</dc:creator>
      <dc:date>2019-01-15T14:22:47Z</dc:date>
    </item>
  </channel>
</rss>

