Accessing SQLCA variables

The SQLCA variables listed in the previous section provide additional information about errors and return codes to help in debugging as well as in the normal processing of your application.

WARNING! Do not define both a SQLCODE and a SQLCA as SQLCODE, as SQLCODE is a field within the SQLCA structure.