You can encounter the following kinds of problems when building or running your applications:
You can use the following sources of information to resolve these problems:
The SQLCA data structure returns error information in the SQLCODE and SQLSTATE fields. The database manager updates the structure after every SQL statement is executed, and after most database manager API calls.
Your application can retrieve and print the error information or display it on the screen. Refer to the Embedded SQL Programming Guide for more information.
A four or five digit message number follows the prefix. A single letter follows the message number indicating the severity of the error.
You can use the command line processor to see the help for the message. Type:
db2 "? xxxnnnn"
where xxx is the message prefix, and nnnn is the message number. Include the quotes.
Refer to the Message Reference for more information about online error messages.