<?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 CODES AND ERROR MESSAGES in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/417342#M102515</link>
    <description>&lt;P&gt;I get that.... Ok to start off, is there a way to run a code to find out syntax errors in a program?&lt;/P&gt;&lt;P&gt;For example, I have a template code. My validation code should perform a set of pre-checks.&lt;/P&gt;&lt;P&gt;A) To check&amp;nbsp;for syntax errors&lt;/P&gt;&lt;P&gt;B)to be defined&lt;/P&gt;&lt;P&gt;C)to be defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The points B and C shall be defined later.&lt;/P&gt;&lt;P&gt;So what do I need to do in order to get the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 09:27:18 GMT</pubDate>
    <dc:creator>DOBBINHO</dc:creator>
    <dc:date>2017-11-30T09:27:18Z</dc:date>
    <item>
      <title>ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415761#M102023</link>
      <description>&lt;P&gt;IS THERE A LIBRARY CONTAINING ALL POSSIBLE ERROR CODES AND THEIR RESPECTIVE ERROR MESSAGES?&lt;/P&gt;&lt;P&gt;IF NOT IS THERE A POSSIBLE WAY TO PINPOINT AN ERROR USING ERROR CODES PRODUCED BY SYSCD() AND &amp;amp;SYSERR.&lt;/P&gt;&lt;P&gt;I AM TRYING TO USE THAT FOR A PROJECT, BUT I AM UNABLE TO IDENTIFY HOW THESE ERROR CODES WORK. PLEASE COMMENT WITH SUGGESTIONS ON THE SAME. USING SAS VERSION 9&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 07:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415761#M102023</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-23T07:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415777#M102031</link>
      <description>&lt;P&gt;Please don't shout at us.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 08:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415777#M102031</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-23T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415780#M102033</link>
      <description>&lt;P&gt;Sorry about that. was typing and talking at the same time and didn't notice the caps lock was on.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 09:09:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415780#M102033</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-23T09:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415781#M102034</link>
      <description>&lt;P&gt;Thanks for the advice, but I'm actually trying to work on a way for the program to debug itself. The primary requirement is to make a database of all different kinds of error messages and codes. which is what I'm trying to do.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 09:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415781#M102034</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-23T09:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415784#M102035</link>
      <description>&lt;P&gt;You might look at the possible values of the &lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000208995.htm" target="_blank"&gt;SYSERR&lt;/A&gt; automatic variable.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 09:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/415784#M102035</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-23T09:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416390#M102222</link>
      <description>&lt;P&gt;Even the syserr automatic variable values do not particularly point out to any specific error. I want to know a way by which I can identify the type of specific error, and thus correct the same subsequently....&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 13:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416390#M102222</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-27T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416395#M102230</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/176838"&gt;@DOBBINHO&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Even the syserr automatic variable values do not particularly point out to any specific error. I want to know a way by which I can identify the type of specific error, and thus correct the same subsequently....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is a very simple, time-proven method to deal with ERRORs and WARNINGs: the programmer reads the log and fixes the code. We're still very far away from expert systems that can do this automatically.&lt;/P&gt;
&lt;P&gt;Certain problems caused by the environment can be signaled to the operators of the scheduler by setting specific error codes (eg "not enough input records", "non-unique key in input data") to facilitate correction without programmer intervention, but that's it. For these cases I have specific code in the programs, but there's no "swiss army knife" that works over all possible issues.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416395#M102230</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-27T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416400#M102233</link>
      <description>&lt;P&gt;Isn't it possible to create this swiss army knife?&lt;/P&gt;&lt;P&gt;I mean I know its too much to ask, but there is always a solution to every problem. If only there was a way to compile all of these "issues", i.e; make a Database out of it,&amp;nbsp;Thus making it&amp;nbsp;more probable than the predicament it is now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416400#M102233</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-27T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416409#M102237</link>
      <description>&lt;P&gt;Oh, I own such a swiss army knife. It sits between my ears.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In earnest, you'd spend way more time on creating (and constantly expanding/maintaining) that helper than you will ever spend maintaining/fixing code.&lt;/P&gt;
&lt;P&gt;If such a thing made any economic (in terms of time spent) sense, it would already be here.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/416409#M102237</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-27T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/417342#M102515</link>
      <description>&lt;P&gt;I get that.... Ok to start off, is there a way to run a code to find out syntax errors in a program?&lt;/P&gt;&lt;P&gt;For example, I have a template code. My validation code should perform a set of pre-checks.&lt;/P&gt;&lt;P&gt;A) To check&amp;nbsp;for syntax errors&lt;/P&gt;&lt;P&gt;B)to be defined&lt;/P&gt;&lt;P&gt;C)to be defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The points B and C shall be defined later.&lt;/P&gt;&lt;P&gt;So what do I need to do in order to get the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 09:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/417342#M102515</guid>
      <dc:creator>DOBBINHO</dc:creator>
      <dc:date>2017-11-30T09:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/417344#M102517</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/176838"&gt;@DOBBINHO&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;A) To check&amp;nbsp;for syntax errors&lt;/P&gt;
&lt;BR /&gt;&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's very easy. Run it in batch, a syntax error will end up with a return code of 2.&lt;/P&gt;
&lt;P&gt;If you run it from a GUI, you'll be notified visually ("red cross" in EG, for example)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 09:41:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/417344#M102517</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-30T09:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/846855#M334791</link>
      <description>hahaha</description>
      <pubDate>Tue, 29 Nov 2022 16:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/846855#M334791</guid>
      <dc:creator>avellani</dc:creator>
      <dc:date>2022-11-29T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR CODES AND ERROR MESSAGES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/847093#M334913</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/176838"&gt;@DOBBINHO&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for the advice, but I'm actually trying to work on a way for the program to debug itself. The primary requirement is to make a database of all different kinds of error messages and codes. which is what I'm trying to do.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One reason this is likely to be an issue is that if you ever connect to another program, for example an external data base or ODBC are likely places, the errors returned could be from the external source. So even if you have every possible SAS error code it does nothing to help with Oracle, SQL Server or similar. If you are using tools such as Proc HTML to access website based date then have the whole gamut of HTML errors added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 17:10:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-CODES-AND-ERROR-MESSAGES/m-p/847093#M334913</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-11-30T17:10:55Z</dc:date>
    </item>
  </channel>
</rss>

