<?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: check the log quickly in Advanced Programming</title>
    <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773978#M136</link>
    <description>If you're using Studio or EG there is a summary of the log at the top with the number of ERRORS, NOTES and WARNINGS found in the log.</description>
    <pubDate>Wed, 13 Oct 2021 16:20:22 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-10-13T16:20:22Z</dc:date>
    <item>
      <title>check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773971#M133</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Could somebody tell me how to check quickly the LOG? Please an other&amp;nbsp; way as: CTLF+F=error or warning....&lt;/P&gt;&lt;P&gt;2) Do the statement PUTLOG deals with it? Please, If yes, could you tell me how it runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for all answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Corinne&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773971#M133</guid>
      <dc:creator>CorinneT</dc:creator>
      <dc:date>2021-10-13T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773975#M134</link>
      <description>&lt;P&gt;1)try this&lt;BR /&gt;type F9, select key and set "log; find 'ERROR:'" to Definition field.&lt;BR /&gt;close keys.&lt;BR /&gt;Then, type short cut key.&lt;BR /&gt;you will able to search keywords "ERROR:";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to set "find WARNING" to other key, though.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-10-14_01h20_22.png" style="width: 356px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64658i02FA227F3F6CAF57/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-10-14_01h20_22.png" alt="2021-10-14_01h20_22.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)Putlog will always just put in the log window.&lt;BR /&gt;It will be easier to understand if you run the following code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* put statement */
data _null_;
  set sashelp.class;
  put name;
run;

/* putlog statement */
data _null_;
  set sashelp.class;
  putlog name;
run;


/* put statement with file statement */
filename tmp temp;
data _null_;
  set sashelp.class;
  file tmp;
  put name;
run;

/* putlog statement with file statement */
filename tmp temp;
data _null_;
  set sashelp.class;
  file tmp;
  putlog name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 16:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773975#M134</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-10-13T16:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773978#M136</link>
      <description>If you're using Studio or EG there is a summary of the log at the top with the number of ERRORS, NOTES and WARNINGS found in the log.</description>
      <pubDate>Wed, 13 Oct 2021 16:20:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/773978#M136</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-13T16:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774040#M137</link>
      <description>Yes, thanks I know. But I use SAS base 9.4 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774040#M137</guid>
      <dc:creator>CorinneT</dc:creator>
      <dc:date>2021-10-13T20:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774041#M138</link>
      <description>ok, thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774041#M138</guid>
      <dc:creator>CorinneT</dc:creator>
      <dc:date>2021-10-13T20:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774056#M139</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to dig deeper, I'd suggest visit lexjansen.com and search for log scanners / log parsers.&amp;nbsp; There are lots of papers by people who wrote macros to make it easier to scan a log (or a directory full of logs), and return a list of errors, warnings, and bad notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of my favorite papers is 20 years old, but worth a read:&lt;/P&gt;
&lt;P&gt;&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;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They make an excellent recommendation that when looking for bad notes, it's safer to define a list of good notes rather than listing the bad notes.&amp;nbsp; Also, some errors do not start with ERROR:, they start with ERROR ###: where there is a numeric code before the colon. My parser looks for a first line that starts with ERROR WARNING or NOTE, using both space and colon as delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 22:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774056#M139</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2021-10-13T22:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: check the log quickly</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774325#M140</link>
      <description>Thanks for these tips</description>
      <pubDate>Thu, 14 Oct 2021 19:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/check-the-log-quickly/m-p/774325#M140</guid>
      <dc:creator>CorinneT</dc:creator>
      <dc:date>2021-10-14T19:25:52Z</dc:date>
    </item>
  </channel>
</rss>

