DB2 Version 9.7 for Linux, UNIX, and Windows

SQLCODEMAP CLI/ODBC configuration keyword

Specifies whether SQLCODE mapping is used or turned off.

db2cli.ini keyword syntax:
SQLCODEMAP = <MAP> | <NOMAP>
Default setting:
MAP
Usage notes:
You can set this keyword in the [Data Source] section of the db2cli.ini file, or in the connection string.

If the value of the keyword is MAP, SQLCODE mapping is used. If you specify the NOMAP option, SQLCODE mapping is turned off.