DB2 Connect Version 10.5 for Linux, UNIX, and Windows

Turning off SQLCODE mapping

If you port an application directly from a IBM mainframe database server, such as DB2® for z/OS®, you might want to turn off SQLCODE mapping. This would let you use the application without changing the SQLCODEs that it references.

About this task

If you want to turn off SQLCODE mapping, specify NOMAP in the parameter string of the DCS directory.

If you port an application directly from a IBM mainframe database server, such as DB2 for z/OS, you might want to turn off SQLCODE mapping. This would let you use the application without changing the SQLCODEs that it references.

Note: SQLCODE mapping can also be turned off using SQLCODEMAP CLI/ODBC configuration keyword or SQL_ATTR_SQLCODEMAP connection attribute when used with DB2 CLI application programming interface (API).