The default Db2 exit routine

The default Db2 exit routine at the DSNX@XAC exit point returns a code to the Db2 authorization module.

The code indicates that an installation-defined access control authorization exit routine is unavailable. Db2 then performs native authorization checking and does not attempt to invoke this exit routine again. The default Db2 exit routine called DSNX@XAC is in library prefix.SDSNLOAD. The source code for the default Db2 exit routine is in the DSNXSXAC member of prefix.SDSNSAMP. The Db2 installation process puts the results of the assembly into prefix.SDSNEXIT.

By contrast, the RACF access control module is provided in DSNXRXAC member of prefix.SDSNSAMP and provides access control using a combination of RACF and Db2 checking. You can easily alter the Db2 installation process by modifying the DSNTIJEX job to assemble the RACF access control module, rather than the default Db2 exit routine.