|
Weidenhammer
|
WebMail
|
All Recipes
|
The Weather Channel »
|
Content from :http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/c0mintro.htm Introduction to MessagesIt is assumed that you are familiar with the functions of the operating system where DB2 is installed. You can use the information contained in the following chapters to identify an error or problem and resolve the problem by using the appropriate recovery action. This information can also be used to understand where messages are generated and logged. Message StructureMessage help describes the cause of a message and describes any action you should take in response to the message. Message identifiers consist of a three character message prefix, followed by a four or five digit message number, followed by a single letter suffix. For example, SQL1042C. For a list of message prefixes, see Invoking message help and Other DB2 Messages. The single letter suffix describes the severity of the error message. In general, message identifiers ending with a C are severe messages. Those ending with an E are urgent messages. Message identifiers ending with an N are error messages, those ending with a W are warning messages and an I indicates an informational message. For ADM messages, message identifiers ending with a C are severe messages. Those ending with an E are urgent messages. Message identifiers ending with a W are important messages and an I are indicates an informational messages. 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. Invoking message helpThe following DB2 messages are accessible from the command line processor:
To invoke message help, open the command line processor and enter: ? XXXnnnnn The message text associated with a given SQLSTATE value can be retrieved by issuing: ? nnnnn or ? nn where nnnnn is a five digit SQLSTATE (alphanumeric) and nn is the two digit SQLSTATE class code (first two digits of the SQLSTATE value). Note:
The message identifier accepted as a parameter of the db2 command is not case sensitive.
Therefore, the following commands will produce the same result:
To invoke message help on the command line of a unix-based system, enter: db2 "? XXXnnnnn" where XXX represents a valid message prefix and nnnnn represents a valid message number. If the message text is too long for your screen, use the following command (on unix-based systems and others which support 'more'): db2 "? XXXnnnnn" | more Other DB2 MessagesSome DB2 components return messages that are not available online or are not described in this manual. Some of the message prefixes may include:
In most cases, these messages provide sufficient information to determine the cause of the warning or error. For more information on the command or utility that generated the messages, please refer to the appropriate manual where the command or utility is documented. Other Message SourcesWhen running other programs on the system, you may receive messages with prefixes other than those mentioned in this reference. For information on these messages, refer to the information available for that program product. |