This section contains a table that lists the SQLSTATEs explicitly returned by DB2 CLI (SQLSTATEs generated by the DBMS may also be returned) and indicates the cause of the error. These values are obtained by calling SQLError() after the function returns a SQL_ERROR or SQL_SUCCESS_WITH_INFO.
Refer to "Diagnostics" for more information about diagnostics.