Defining multiple entries for the same database


For each database, define at least one entry in each of the three directories (node directory, DCS directory, and system database directory). In some cases, you might want to define more than one entry for the database.

For example, you might want to turn off SQLCODE mapping for applications that were ported from the host or System i™ database server but accept the default mapping for applications that were developed for the client/server environment. You would do this as follows:

Both aliases access the same database, one with SQLCODE mapping and the other without SQLCODE mapping.

Parent topic: Updating database directories