DB2 Version 9.7 for Linux, UNIX, and Windows

SQLCODEMAP IBM Data Server Driver Configuration Keyword

Specifies whether SQLCODE mapping is used or turned off.

Equivalent CLI keyword
SQLCODEMAP
Equivalent IBM® Data Server Provider for .NET connection string keyword
NA
db2dsdriver.cfg configuration syntax
<parameter name="SQLCODEMAP" value="MAP | NOMAP"/>
Default setting:
MAP
Usage notes:

You can set this parameter in the main <configuration> section to have the global effect or in individual <dsn> or <database> section for specific database connection.

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