<?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: Read Log in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981580#M379147</link>
    <description>&lt;P&gt;My approach is to implement programs that don't have errors, warnings or unitialized variable notes to start with. That means something has changed if I then run the program and such messages are written.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I run all production programs via a scheduler where an email will be triggered if there is an error so I only need to look at programs that generate an email. I then check the bottom of the SAS log to see if there is an error summary which looks like this:&lt;/P&gt;
&lt;PRE&gt;ERROR: Errors printed on pages 710,714,716,722,723,724,726,727,735,740,741,742,743,745,746,755,756,757,758,759,760,766,767,768,770,
                               771,772,774,776,777,778,779,780,781,782,783,784,785,786,787,791,792,793.&lt;/PRE&gt;
&lt;P&gt;I then only need to investigate page 710 to start with. By following simple processes like this you can reduce your log searching considerably.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also running your programs in SAS EG or SAS Studio will produce a log summary of errors and warnings and there are function keys to search through these:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASKiwi_0-1767725966632.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112517i14E6B35A28A86DB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASKiwi_0-1767725966632.png" alt="SASKiwi_0-1767725966632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2026 18:59:44 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2026-01-06T18:59:44Z</dc:date>
    <item>
      <title>Read Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981567#M379144</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;When I run SAS Program that is long I dont have the time to read the all log .&lt;/P&gt;
&lt;P&gt;Usually I search in Log: Error, Warning and also use CNTRL F to search "UNI" (to find Unintial varaibles).&lt;/P&gt;
&lt;P&gt;My question -&lt;/P&gt;
&lt;P&gt;Are there other buz words that you recommend me to search in Log( via CNTRL F)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 10:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981567#M379144</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2026-01-06T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981571#M379145</link>
      <description>Also look for the typical patterns of conversion NOTEs and NOTEs for missing values caused by erroneous calculations.&lt;BR /&gt;&lt;BR /&gt;But frankly, you must read the whole log regularly to catch more complex failures. Must. I mean it.</description>
      <pubDate>Tue, 06 Jan 2026 12:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981571#M379145</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-01-06T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Read Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981573#M379146</link>
      <description>&lt;P&gt;I suggest using a log scanner program.&amp;nbsp; This can be a SAS program, or a shell script or whatever.&amp;nbsp; If you search on lexjansen.com, you'll find plenty of papers on log scanning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many will search for ERROR, WARNING and have a list of NOTES they consider bad. I like the approach in Li &amp;amp; Troxell (&lt;A href="https://www.lexjansen.com/nesug/nesug01/cc/cc4008.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug01/cc/cc4008.pdf&lt;/A&gt;) who recommend passing a list of good NOTES and treating any NOTE that is not in the good list as bad.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 13:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981573#M379146</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2026-01-06T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read Log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981580#M379147</link>
      <description>&lt;P&gt;My approach is to implement programs that don't have errors, warnings or unitialized variable notes to start with. That means something has changed if I then run the program and such messages are written.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I run all production programs via a scheduler where an email will be triggered if there is an error so I only need to look at programs that generate an email. I then check the bottom of the SAS log to see if there is an error summary which looks like this:&lt;/P&gt;
&lt;PRE&gt;ERROR: Errors printed on pages 710,714,716,722,723,724,726,727,735,740,741,742,743,745,746,755,756,757,758,759,760,766,767,768,770,
                               771,772,774,776,777,778,779,780,781,782,783,784,785,786,787,791,792,793.&lt;/PRE&gt;
&lt;P&gt;I then only need to investigate page 710 to start with. By following simple processes like this you can reduce your log searching considerably.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also running your programs in SAS EG or SAS Studio will produce a log summary of errors and warnings and there are function keys to search through these:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASKiwi_0-1767725966632.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112517i14E6B35A28A86DB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASKiwi_0-1767725966632.png" alt="SASKiwi_0-1767725966632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 18:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Log/m-p/981580#M379147</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-01-06T18:59:44Z</dc:date>
    </item>
  </channel>
</rss>

