Internal error code
Db2 ODBC provides an internal error code for ODBC diagnosis that is intended for use under the guidance of IBM® Software Support. This unique error location, ERRLOC, is useful for APAR searches.
The following example of a failed SQLAllocHandle() (with HandleType set
to SQL_HANDLE_DBC) shows an error location:
DB2 ODBC Sample SQLError Information
DB2 ODBC Sample SQLSTATE : 58004
DB2 ODBC Sample Native Error Code : -99999
DB2 ODBC Sample Error message text:
{DB2 for z/OS}{ODBC Driver} SQLSTATE=58004 ERRLOC=2:170:4;
RRS "IDENTIFY" failed using DB2 system:V81A,
RC=08 and REASON=00F30091