If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL,DB2 message codes classification

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-04, 14:50
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
SQL,DB2 message codes classification

Is there any classification and category of these messages by type of errors like ( Just Waring ,Fatal etc..)
What I mean is we wanna write something like if the error is fatal and need immediate attention so,we based on category we can parse it.
For example,
it can be between SQL1xxx to SQL3xxx is Warning,SQL4xxx onwards is Fatal .Same for DB2 etcc.
Is there any such or analogus classification ?
I couldnt find it in the guide from ibm.
Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-20-04, 15:20
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
DB2 Message Reference Vol. 1, page 7
Quote:
For SQL messages, message identifiers ending with an N are error messages. Those ending with a W indicate warning or informational messages. Message identifiers ending with a C indicate critical system errors.
However, the real severity of an error can only be known to your application, not the database. For example, if an INSERT fails because of a unique constraint violation, is it a reason to kill the application, or something you can ignore?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On