411 REFERENCE · Wikibooks
Structured Query Language/Return Codes
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The return code of programms calling the IBM database DB2 is stored in the field SQLCODE of its SQLCA area. You can find a detailed explanation of SQLCODE's meaning at: DB2 return codes.
During the initial phase of the SQL standard SQLCODE was a part of it. But over time it was replaced by the more detailed SQLSTATE.
100%