<?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: Custom errors don't appear in log summary in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272090#M18874</link>
    <description>Thank you very much !</description>
    <pubDate>Fri, 20 May 2016 18:50:07 GMT</pubDate>
    <dc:creator>PaulNeag</dc:creator>
    <dc:date>2016-05-20T18:50:07Z</dc:date>
    <item>
      <title>Custom errors don't appear in log summary</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/268620#M18607</link>
      <description>&lt;P&gt;I am using EG7.1&lt;/P&gt;&lt;P&gt;I sometimes conditionnaly throw custom errors in my programs by using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%PUT ERROR: CUSTOM ERROR THROWN BY MACRO;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or alternatively:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA _NULL_;
ERROR "ERROR:CUSTOM ERROR THROWN BY DATASTEP";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I would expect these errors to appear in the log summary just like normal errors do.&lt;/P&gt;&lt;P&gt;They will show up in the log and a red "X" will show in the program icon but they do not show up in the error list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to enable them showing in the list ? Perhaps a macro flag that needs to be set ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 17:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/268620#M18607</guid>
      <dc:creator>PaulNeag</dc:creator>
      <dc:date>2016-05-05T17:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom errors don't appear in log summary</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/268636#M18609</link>
      <description>&lt;P&gt;Odd.&amp;nbsp; It works they way you want in EG 6.1.&amp;nbsp; User-written error messages are highlighted and show up in the log summary.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 18:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/268636#M18609</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-05T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom errors don't appear in log summary</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272073#M18872</link>
      <description>&lt;P&gt;Prior to EG 7.11, the log summary view did not find errors in the log if there wasn't a space immediately after "ERROR:".&amp;nbsp; So, to workaround, make sure you put a space between "ERROR:" and your error message.&amp;nbsp; This was fixed in EG 7.11, which recognizes errors with or without a space after "ERROR:".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps- Fortunately, almost all SAS-generated errors start with "ERROR: " (with a space), so really only an issue for user-written errors.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 18:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272073#M18872</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-05-20T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom errors don't appear in log summary</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272082#M18873</link>
      <description>&lt;P&gt;Sorry, I was wrong. I didn't actually run the OP posted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15089"&gt;@CaseySmith﻿&lt;/a&gt;&amp;nbsp;is correct. When I run:&lt;/P&gt;
&lt;PRE&gt;DATA _NULL_;
ERROR "ERROR:CUSTOM ERROR not found by Log Summary";
ERROR "ERROR: CUSTOM ERROR found by Log Summary";
RUN;&lt;/PRE&gt;
&lt;P&gt;In EG 6.1, only the second error message with the space after the colon is caught in the log summary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 18:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272082#M18873</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-20T18:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom errors don't appear in log summary</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272090#M18874</link>
      <description>Thank you very much !</description>
      <pubDate>Fri, 20 May 2016 18:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-errors-don-t-appear-in-log-summary/m-p/272090#M18874</guid>
      <dc:creator>PaulNeag</dc:creator>
      <dc:date>2016-05-20T18:50:07Z</dc:date>
    </item>
  </channel>
</rss>

