Accessing an application defaults module

If your application program currently uses LOAD DSNHDECP, consider changing the application program to use the DECP address that is returned by ICFID 373, DSNALI, or DSNRLI.

About this task

By using the DECP address that is returned by IFCID 373, DSNALI, or DSNRLI, guarantees that you are using the same DECP module that was used to start Db2. It also allows the code to skip the LOAD entirely, only after successfully connecting to Db2. DSNHDECP is loaded by Db2 into Global, pageable storage, so all programs can share it.