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 host or System i™ database server, such as DB2® Universal Database (UDB) for OS/390® and z/OS®, you might want to turn off SQLCODE mapping. This would let you use the application without changing the SQLCODEs that it references.
Parent topic: SQLCODE mapping