<?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: Third attemp to get some help to send mail on SAS Log Error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432698#M27969</link>
    <description>&lt;P&gt;I've combined your three topics into one.&amp;nbsp; Since it's the same question and same people responding, it's most efficient for everyone if we can keep all of this together.&amp;nbsp; Posting new topics just increases the number of conversations to track.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you trying to trigger this e-mail from&amp;nbsp;&lt;STRONG&gt;within the same&lt;/STRONG&gt;&lt;STRONG&gt; SAS job &lt;/STRONG&gt;that triggered the error?&amp;nbsp; I guess so, if you're relying on SYSERR macro vars.&amp;nbsp; If so, &lt;A href="https://blogs.sas.com/content/sasdummy/2016/08/25/error-180-322-missing-semicolon/" target="_self"&gt;ERROR 180-322&lt;/A&gt; -- a syntax error most often caused by a missing semicolon or mismatched parentheses -- can leave the SAS session in a bad state, making it difficult for a subsequent step to be a reliable mechanism to send e-mail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, if this is critical, you would need to save the SAS log and parse it as a separate file within a separate SAS job, and then send e-mail based on the findings.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2018 12:32:12 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2018-01-31T12:32:12Z</dc:date>
    <item>
      <title>How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432129#M27900</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need one small help. I want to read one specific error from the SAS LOG. In respect of that error I want to send mail to USER. I can read all errors or&amp;nbsp;if any error comes in LOG by &amp;amp;SYSERR or &amp;amp;SYSERRORTEXT and send mail also. But not able to read specific error there I can mention the error.&lt;/P&gt;&lt;P&gt;I am showing the code for example,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile email                                                                                                                   
to= "xxx.xxxxxx@xxxx.xxx"                                                                                                               
subject= "Error in Report"                                                                                                              
type= "text/plain"
importance="HIGH";
 

%macro errmail;                                                                                                                        
 /*%if &amp;amp;syserrortext = "Statement is not valid or it is used out of proper order." %then %do; */                                                                                                          
  data _null_;                                                                                                                          
   file myfile;                                                                                                                         
   put 'Your job received the following ERROR/WARNING message:';                                                                        
   put;                                                                                                                                 
   put 'ERROR was:';                                                                                                                    
   put "&amp;amp;syserrortext";                                                                                                                 
   put;                                                                                                                                 
   put 'WARNING was:';                                                                                                                  
   put "&amp;amp;syswarningtext";                                                                                                               
  run;                                                                                                                                  
 %end;                                                                                                                                  
%mend errmail;                                                                                                                          
                                                                                                                                        
data one;                                                                                                                               
 a;                                                                                                                                     
run;  

%put &amp;amp;syserr; or %put &amp;amp;syserrortext;

/*"ERROR 180-322: Statement is not valid or it is used out of proper order.";*/
/*I need to mention the above error specifically*/
/*I need to send mail only for this error not for all error*/
 
                                                                                                                                        
%errmail;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here I need to mention the error details to send mail on when that error will come, not for every error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this situation, if there is any macro variable to use or any code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432129#M27900</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T10:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431782#M27959</link>
      <description>&lt;P&gt;Just look at the possible values in &amp;amp;syserr. It will jump into your eyes so hard it actually hurts (from the documentation I linked to):&lt;/P&gt;
&lt;DIV id="p1edo6ek56zvcgn1fuyq5l4zqm51" class="xis-table" style="box-sizing: border-box; margin-top: 1.4em; overflow: auto; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;TABLE class="tgroup" style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; background-color: transparent; overflow: auto;"&gt;&lt;CAPTION class="xis-title" style="box-sizing: border-box; padding-top: 8px; padding-bottom: 0.75em; color: #353535; text-align: left; font-size: 0.88rem; font-weight: bold; font-style: italic;"&gt;SYSERR Values&lt;/CAPTION&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1pfe3bzzukedin1bw7uiitkb6l7" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Value&lt;/DIV&gt;
&lt;/TH&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1fndyib1y73cbn11j3l784kkmd9" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Description&lt;/DIV&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1pfcn4xqoiwpcn1criv9fp3xxns" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;0&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p10z3q50ymvghnn10rpks7hxdmf3" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution completed successfully and without warning messages.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n09581hhzpfut1n1n6zuo9lrniiu" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;1&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n03a9ffomjn39pn1dn5pad332an3" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution was canceled by a user with a RUN CANCEL statement.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0g690tjkr74r6n19cn3xwoxghw7" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;2&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0yw0js2bz74yan1hktuebpvn1tq" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution was canceled by a user with an ATTN or BREAK command.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1nhivjwd8lasmn0zjdhcx653yws" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;3&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1a83vvu490lq2n1ir2eb7d8kft9" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;An error in a program run in batch or non-interactive mode caused SAS to enter syntax-check mode.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p07xbm99kt7n2fn1sfs09d2a2h1z" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;4&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1teoimgcjq4vqn174eq27ba0hgu" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution completed successfully but with warning messages.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0zqxh2rt1skhwn177rx137clnaq" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;5&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1wzldr49w87van14a8qtygmwk4b" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution was canceled by a user with an ABORT CANCEL statement.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1p68s7p1hnenun150r3i09vcrlf" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;6&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n087a4g58fm9vbn1e4ugzavu5vv1" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Execution was canceled by a user with an ABORT CANCEL FILE statement.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1qnsg3gokaoion1m4cqge0ujb3p" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;&amp;gt;6&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1y009sy6vxgaon1jedpvhuqe27z" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;An error occurred. The value returned is procedure-dependent.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;DIV id="n0xizxy07sbdcxn1euwpt16isk7r" class="xis-paragraph" style="box-sizing: border-box; margin-top: 1.4em; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;The following table contains warning return codes. The codes do not indicate any specific problems. These codes are guidelines to identify the nature of a problem.&lt;/DIV&gt;
&lt;DIV id="n1go9qd57aek23n139mj0kcun84u" class="xis-table" style="box-sizing: border-box; margin-top: 1.4em; overflow: auto; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;TABLE class="tgroup" style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; background-color: transparent; overflow: auto;"&gt;&lt;CAPTION class="xis-title" style="box-sizing: border-box; padding-top: 8px; padding-bottom: 0.75em; color: #353535; text-align: left; font-size: 0.88rem; font-weight: bold; font-style: italic;"&gt;SYSERR Warning Codes&lt;/CAPTION&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0vk3p0xb59u0in1ka8lwssc83lp" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Warning Code&lt;/DIV&gt;
&lt;/TH&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0y22io8bmk4vwn16woscfd74mu0" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Description&lt;/DIV&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p07efdrtu2h7xbn1bm3isjyubd8r" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;108&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0o97zulhiftp0n19yigjdh1lnyj" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Problem with one or more BY groups&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n10s1k3askglb5n1oa6j254nqwi7" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;112&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n18c2ddce3npden1sawlnb31578u" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Error with one or more BY groups&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1aargszbyrmtgn1undpfpr5mltf" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;116&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n05ttol98zvz7bn1x700l3sazwyx" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Memory problems with one or more BY groups&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1m7hxw65zgey1n11c5k2l9sjzok" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;120&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0yw7ptm23rdkkn13h6rzx11d4xi" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;&lt;SPAN class="xis-nobr" style="box-sizing: border-box; white-space: nowrap;"&gt;I/O&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;problems with one or more BY groups&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;DIV id="n0vncwxmjt7z2in18xrogvevcwd8" class="xis-paragraph" style="box-sizing: border-box; margin-top: 1.4em; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;The following table contains error return codes. The codes do not indicate any specific problems. These codes are guidelines to identify the nature of a problem.&lt;/DIV&gt;
&lt;DIV id="p0a7jsg99f7rg2n1uurkxqyfyh6p" class="xis-table" style="box-sizing: border-box; margin-top: 1.4em; overflow: auto; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;TABLE class="tgroup" style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; background-color: transparent; overflow: auto;"&gt;&lt;CAPTION class="xis-title" style="box-sizing: border-box; padding-top: 8px; padding-bottom: 0.75em; color: #353535; text-align: left; font-size: 0.88rem; font-weight: bold; font-style: italic;"&gt;SYSERR Error Codes&lt;/CAPTION&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0hflrxqi0fax0n1ahhc9pt635ec" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Error Code&lt;/DIV&gt;
&lt;/TH&gt;
&lt;TH class="xis-horizontalLeft xis-verticalBottom" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; text-align: left; vertical-align: bottom; font-weight: 600; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0ffka71oi09frn0zx6i1x3sdv3j" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 600; font-size: 0.88rem; margin-top: 0px;"&gt;Description&lt;/DIV&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p03vz1p9qjywp3n1toc5ngkv8rmn" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;1008&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0yq2fqv8yk5uan1xyf906p2i89f" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;General data problem&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p07po28yw89a19n1pf2b4q0rwil0" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;1012&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0bjassdz5i3fhn1mv3g481l4d1g" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;General error condition&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n14lcx37p62fqdn1qacz24at05wn" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;1016&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1df7mibsafwebn1bubcxk49d17u" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Out-of-memory condition&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1lfuivv6ui4y2n1ryupnllclvyp" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;1020&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0cjje0t45ulv6n13tgh4y7uc8wv" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;&lt;SPAN class="xis-nobr" style="box-sizing: border-box; white-space: nowrap;"&gt;I/O&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;problem&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1v1xspveq3w81n10a9sp87zmlf6" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;2000&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0atytw9fqzf8an1vhziw3rle1ql" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Semantic action problem&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0fy97yurbl848n1dja6fvpt6h15" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;2001&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p022d3buhilniyn1t1p9m84c4d6u" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Attribute processing problem&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0636jt23ivu58n10zwf0zqnurrd" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;3000&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1s44upzi3cfbpn1w671ge0te2h0" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Syntax error&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0syqmig14sz7jn1lje823s8a3zx" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;4000&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n16g2eygi0hs67n13i81az12wg95" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Not a valid procedure&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1lilf4et5arabn195es63qpd1rb" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;9999&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1us836suwxa6pn1p8h6iuag0j4z" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Bug in the procedure&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n03i2gpr0zcbegn1ejd7tzz9oqcb" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;20000&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n0purrlarzg73an1wbkcwe0tsfjg" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;A step was stopped or an ABORT statement was issued.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p1k6toxd4ihbntn1qflk4lw32g2i" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;20001&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n1m1gf9i9fbeonn11ec6tq3uh89s" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;An ABORT RETURN statement was issued.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0ltp0bu1uqv9sn12jyjht6kfu0b" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;20002&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0crpkcjzcl9qzn1jjc2b16glsn2" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;An ABORT ABEND statement was issued.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="box-sizing: border-box; vertical-align: top;"&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="n13h767z6wcehjn1oge56055dm63" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;25000&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop" style="box-sizing: border-box; padding: 0.2em 0.5em 0.4em; vertical-align: top; text-align: left; border-top: 1px solid #e0e2e5; border-bottom: 1px solid #e0e2e5;"&gt;
&lt;DIV id="p0w0u3ccefzaadn1io8rpn7s9y2j" class="xis-paraTableFirst" style="box-sizing: border-box; font-weight: 400; font-size: 0.88rem; margin-top: 0px;"&gt;Severe system error. The system cannot initialize or continue.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Never will there be any longer text like the one you used in the comparison.&lt;/P&gt;
&lt;P&gt;You REALLY have to start reading the documentation, or you'll be damned to commit such very obvious mistakes time and again.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 14:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431782#M27959</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-29T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431802#M27960</link>
      <description>&lt;P&gt;I am glad, I have learned some new error codes. But I am not able to find out the exact error code matching with my error. I have tried with couple of like 1016, 1012, 3000, 1008. But only it is working and sending mail when I am using&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NE 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need your little bit more support, If you can help me here with the exact error code. I am using&amp;nbsp; EG 7.13&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431802#M27960</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-29T15:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431810#M27961</link>
      <description>&lt;P&gt;Scroll down in the link I gave you, there's a further link to the SYSERRORTEXT automatic macro variable. Run your code so that it produces the error, and issue a %put &amp;amp;syserrortext; immediately after the step.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/431810#M27961</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-29T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432052#M27962</link>
      <description>&lt;P&gt;Super. With&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;%put &amp;amp;syserrortext;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;BR /&gt;This one is working. I am getting mail. But I am looking for getting mail only for the specific error &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/P&gt;&lt;P&gt;With "syserrortext" for any text type error I am getting mail. But I need user only gets mail when specific error will arrive.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt; "ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 04:07:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432052#M27962</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T04:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432055#M27963</link>
      <description>&lt;P&gt;With SYSERR and SYSERRORTEXT we can read the log error in SAS. But my point is I need to read one specific error. There I am not able to do that. For all error it is sending mail. That is not my expectation. I want to send mail respect to one single error from the LOG.&lt;/P&gt;&lt;P&gt;Is there any way I can do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 04:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432055#M27963</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T04:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to send mail to the user or show any popup window if my output size is bigger than the locat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432074#M27964</link>
      <description>&lt;P&gt;Check for the substring 180-322 in &amp;amp;syserrortext. You can't be more specific than that.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 07:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432074#M27964</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-30T07:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432131#M27901</link>
      <description>&lt;P&gt;Are you putting this in the code which creates the error?&amp;nbsp; syserr and syslog and such like only hold the information for the last error, and may be cleared at certain points.&amp;nbsp; Your code should be robust enough to&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt; generate errors or warnings (hence the whole testing process) and should capture problems itself:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Defensive_programming" target="_blank"&gt;https://en.wikipedia.org/wiki/Defensive_programming&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hence if you want to capture an error where dataset is missing, your code would have a handler at the beginning of the code to check this, and only proceed if the dataset is present, and would throw out an email notification if missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could do it post hoc, but then you need to read in and parse the log, check the various things in combination - for instance a warning might lead to an error or series of errors etc.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432131#M27901</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-30T10:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432134#M27902</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Thanks for your advice. Error is due to space issue. and the space issue we can not fix. For that I am saying only for that error I need to send mail to user, the error is like "&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/P&gt;&lt;P&gt;This error details I need to mention to code, respect to this I will get mail.&lt;/P&gt;&lt;P&gt;Only for this error, not for any other error.&lt;/P&gt;&lt;P&gt;Is there any way that I can do that. Any macro, or any short code?&lt;/P&gt;&lt;P&gt;like&amp;nbsp;IF the ERROR "as mentioned above" THEN mail will be sent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432134#M27902</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432135#M27903</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Error is due to space issue" - ??&amp;nbsp; do you mean physical disk space?&amp;nbsp; If so do a pre-check for how many observations and estimate it, or increase workspace.&amp;nbsp; Unless your talking Tb not sure thats a reason.&amp;nbsp; Anyways you would need to capture it at the time it happens, or by scanning a log.&amp;nbsp; There isn't a special fix my process bit of code we can supply.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 11:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432135#M27903</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-30T11:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432136#M27904</link>
      <description>&lt;P&gt;180-322 is the typical syntax error for wrongly written code, and has nothing to do with space issues. These look completely different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should really work at improving your code to make it robust in the first place. Informing people that you are unable to write working code is not helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 11:12:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432136#M27904</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-30T11:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432137#M27905</link>
      <description>&lt;P&gt;Hi thanks for the help. But I know that the code is wrong, I am intentionally creating error. But I want to send mail respective of these error. That is my concern. Is there any way I can do that? Please help me on that. Instead of error code if I want to mention the error test then how would I do that in a macro, that is my point. This is user choice, they want like this, I need to follow that, so please help me on this.&lt;/P&gt;&lt;P&gt;Simply in case of specific error like above mentioned How can I send mail to user or any mail ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 11:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432137#M27905</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T11:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432147#M27906</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148042"&gt;@Sourav_sas&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi thanks for the help. But I know that the code is wrong, I am intentionally creating error. But I want to send mail respective of these error. That is my concern. Is there any way I can do that? Please help me on that. Instead of error code if I want to mention the error test then how would I do that in a macro, that is my point. This is user choice, they want like this, I need to follow that, so please help me on this.&lt;/P&gt;
&lt;P&gt;Simply in case of specific error like above mentioned How can I send mail to user or any mail ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Sourav&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry, but I don't get it. If you are &lt;EM&gt;intentionally&lt;/EM&gt; creating an error, you know the condition for the mail in the first place, so just send it there. No need to complicate things unnecessarily.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432147#M27906</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-30T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432149#M27907</link>
      <description>&lt;P&gt;Exactly. I am getting mail, fine. But I want to get mail respect to one specified error. Right now using &amp;amp;SYSERR and &amp;amp;SYSERRORTEXT I am getting mail when any error showing in the SAS Log,&lt;/P&gt;&lt;P&gt;so is there any way where I can make one condition there I will mention the error text and will get mail respect to that error only, not for all error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your effort. Thanks for your valuable feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432149#M27907</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-30T12:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432155#M27908</link>
      <description>&lt;P&gt;Why are you insisting on that wasteful detour with the ERROR? Show where you detect the condition in the code, and we'll help you send the email there, if that's a problem.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432155#M27908</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-30T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432411#M27911</link>
      <description>&lt;P&gt;I have ripped the sas log to pieces and have a parser that works great. That is my background.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use a regular expression and parse the log. Minor issue. It is easy to capture the error and the code that generated it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your error regex (in C#):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal static string rxError { get { return @"^ERROR:\s([\d\D]+?)(?=\r)"; } }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code this in SAS and you can find whatever you need. I recommend RegexBuddy if you will do a lot of regex.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432411#M27911</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2018-01-30T18:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432603#M27936</link>
      <description>&lt;P&gt;In my sample code I am using wrong code as&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;                                                                                                                               
 a;                                                                                                                                     
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to get error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro errmail;                                                                                                                        
  data _null_;                                                                                                                          
   file myfile;                                                                                                                         
   put 'Your job received the following ERROR/WARNING message:';                                                                        
   put;                                                                                                                                 
   put 'ERROR was:';                                                                                                                    
   put "&amp;amp;syserrortext";                                                                                                                 
   put;                                                                                                                                 
   put 'WARNING was:';                                                                                                                  
   put "&amp;amp;syswarningtext";                                                                                                               
  run;                                                                                                                                  
 %end;                                                                                                                                  
%mend errmail;   
data one;                                                                                                                               
 a;                                                                                                                                     
run;  

/*%put &amp;amp;syserr; or %put &amp;amp;syserrortext;*/ 
                                                                                                                        
%errmail; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Entire code mentioned in the above,&amp;nbsp;you can see there.&lt;/P&gt;&lt;P&gt;I am using this part to get mail as&amp;nbsp;you can see&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Filename myfile email                                                                                                                   
to= "xxx.xxxx@xxx.xxx"                                                                                                               
subject= "Error in Report"                                                                                                              
type= "text/plain"
importance="HIGH";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now in the section where error should be mentioned specifically, there I am using generic condition as&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro errmail;                                                                                                                        
  data _null_;                                                                                                                          
   file myfile;                                                                                                                         
   put 'Your job received the following ERROR/WARNING message:';                                                                        
   put;                                                                                                                                 
   put 'ERROR was:';                                                                                                                    
   put "&amp;amp;syserrortext";                                                                                                                 
   put;                                                                                                                                 
   put 'WARNING was:';                                                                                                                  
   put "&amp;amp;syswarningtext";                                                                                                               
  run;                                                                                                                                  
 %end;                                                                                                                                  
%mend errmail;                                                                                                                          
                                                                                                                                        
data one;                                                                                                                               
 a;                                                                                                                                     
run;  

/*%put &amp;amp;syserr; or %put &amp;amp;syserrortext;*/ 
                                                                                                                                        
%errmail;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here instead of %put I&amp;nbsp;want to use like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro errmail;                                                                                                                        
 %if "&amp;amp;syserrortext" is "Statement is not valid or it is used out of proper order." %then %do;
  data _null_;                                                                                                                          
   file myfile;                                                                                                                         
   put 'Your job received the following ERROR/WARNING message:';                                                                        
   put;                                                                                                                                 
   put 'ERROR was:';                                                                                                                    
   put "&amp;amp;syserrortext";                                                                                                                 
   put;                                                                                                                                 
   put 'WARNING was:';                                                                                                                  
   put "&amp;amp;syswarningtext";                                                                                                               
  run;                                                                                                                                  
 %end;                                                                                                                                  
%mend errmail;                                                                                                                          
                                                                                                                                        
data one;                                                                                                                               
 a;                                                                                                                                     
run;  

/*%put &amp;amp;syserr; or %put &amp;amp;syserrortext;*/

/*"ERROR 180-322: Statement is not valid or it is used out of proper order.";*/
/*I need to mention the above error specifically*/
/*I need to send mail only for this error not for all error*/
 
                                                                                                                                        
%errmail;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The condition should be specific not generic. I want to get mail in respect to only one error. I am using this error for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 04:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432603#M27936</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-31T04:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432605#M27937</link>
      <description>&lt;P&gt;This&amp;nbsp;error text might be variable. I can use other error from the log in future also.&lt;/P&gt;&lt;P&gt;I need some sort of condition where I can use the error text for condition to get mail.&lt;/P&gt;&lt;P&gt;Hope this time you will again help me like previous case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 04:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432605#M27937</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-31T04:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific error from the SAS LOG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432676#M27952</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the solution still now. If any way will found. Please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 11:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432676#M27952</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-31T11:23:34Z</dc:date>
    </item>
    <item>
      <title>Third attemp to get some help to send mail on SAS Log Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432680#M27965</link>
      <description>&lt;P&gt;Here I have one Sample code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile email                                                                                                                   
to= "***.****@****.****"                                                                                                               
subject= "Error in Report"                                                                                                              
type= "text/plain"
importance="HIGH";
 

%macro errmail;                                                                                                                        
 /*%if "&amp;amp;syserrortext" is "Statement is not valid or it is used out of proper order." %then %do;*/
  data _null_;                                                                                                                          
   file myfile;                                                                                                                         
   put 'Your job received the following ERROR/WARNING message:';                                                                        
   put;                                                                                                                                 
   put 'ERROR was:';                                                                                                                    
   put "&amp;amp;syserrortext";                                                                                                                 
   put;                                                                                                                                 
   put 'WARNING was:';                                                                                                                  
   put "&amp;amp;syswarningtext";                                                                                                               
  run;                                                                                                                                  
/* %end;                                                                                                                                  */
%mend errmail;                                                                                                                          
                                                                                                                                        
data one;                                                                                                                               
 a;                                                                                                                                     
run;  

%put &amp;amp;syserr; /*or %put &amp;amp;syserrortext;*/ 
                                                                                                                                        
%errmail;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am using this sample to get mail I am getting any error in the SAS Log. But I am looking for one condition there I can get mail for some specific error in Log. This is user requirement. I need to solution on urgency basis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating error in this code intentionally to get error.&lt;/P&gt;&lt;P&gt;Anyone has ant solution on this problem please let me know. I am trying for a long time.&lt;/P&gt;&lt;P&gt;Please give me the solution on code. It will be more easier for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 11:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-read-specific-error-from-the-SAS-LOG/m-p/432680#M27965</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2018-01-31T11:42:53Z</dc:date>
    </item>
  </channel>
</rss>

