You may 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 Application Development Guide for more information.
You can use the command line processor to see the help for the message by entering:
db2 "? xxxnnnn"
where xxx is the message prefix, and nnnn is the message number. Include the quotes.
For the full list and description of DB2 error messages, see the Message Reference.