<?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: Error gathering in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211756#M52310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your requirements correctly then I don't think there is a generic way to trap all possible errors and return them users as a list. One possibility might be to run your stored processes with the SAS option ERRORABEND. This will cause SAS to abort when it gets an error, so you will only ever get one error with your job. The web service interface should then at least report a general failure message. Others who have used stored processes more might be able to offer further advice.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 08:09:13 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-06-24T08:09:13Z</dc:date>
    <item>
      <title>Error gathering</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211752#M52306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Hello all members,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;I would like to thank you all who are able to give me a hint or advice how to solve my current issues im facing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;My issue is regarding errror gathering to one place (variable,..). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Question is, if there exist any special variable, options settings or whatever what could help me to gather of all errors, which happened in e.g. macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Currently Im using system &lt;SPAN style="font-size: 10pt;"&gt;variables&amp;nbsp; &amp;amp;syserr&lt;SPAN lang="CS" style="color: black; background: white;"&gt; and &amp;amp; syserrortext but i am able to handle only last error and if happened any errors before the last one, im not able to retreive information regarding it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Thank you very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Richard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211752#M52306</guid>
      <dc:creator>rytch</dc:creator>
      <dc:date>2015-06-22T20:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error gathering</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211753#M52307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In EG 6.1 or higher, a log summary is produced which lists all of the log warnings, errors and notes - in one place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why try doing it for yourself when SAS has done it for you? If you don't have at least EG 6.1 you can easily request it from SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 23:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211753#M52307</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-06-22T23:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error gathering</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211754#M52308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is that i have stored process where a include several files of macros. I run this stored process from external application through ws. I thought that there can be some workaround or functionallity, which could help me to return list of errors from executed macros to external application. I really would like to avoid parsing log summary :smileyshocked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RIchard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 23:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211754#M52308</guid>
      <dc:creator>rytch</dc:creator>
      <dc:date>2015-06-22T23:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error gathering</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211755#M52309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is that we use an external tool in cooperation with SAS database. We call through web services stored processes created in SAS EG. Stored processes contain source code with included other macro file. When we call ws, stored&amp;nbsp; process starts and if any error in macro file occur, we would like to return it to user in external tool. We are able only to catch last error and it is kind of unpleasant to return it one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211755#M52309</guid>
      <dc:creator>rytch</dc:creator>
      <dc:date>2015-06-23T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error gathering</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211756#M52310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your requirements correctly then I don't think there is a generic way to trap all possible errors and return them users as a list. One possibility might be to run your stored processes with the SAS option ERRORABEND. This will cause SAS to abort when it gets an error, so you will only ever get one error with your job. The web service interface should then at least report a general failure message. Others who have used stored processes more might be able to offer further advice.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 08:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-gathering/m-p/211756#M52310</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-06-24T08:09:13Z</dc:date>
    </item>
  </channel>
</rss>

