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
- N/A
- IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="SQLCODEMAP" value="MAP | NOMAP"/>
- Default setting:
- MAP
- Usage notes:
You can set the SQLCODEMAP keyword 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.