DB2 SQL Return Codes - SQLCA

SQLCA

The SQL communications area (SQLCA) structure is used within the DB2 program to return error information to the application program. This information in the SQLCA and the SQLCODE field is updated after every API call for the SQL statement...

Read more about this topic:  DB2 SQL Return Codes