Specifying connection and sign-on routines

Your connection routine must have a CSECT name and entry point of DSN3@ATH. The name of the load module for the connection routine can be the same name, or it can be a different name. Your sign-on routine must have a CSECT name and entry point of DSN3@SGN. The name of the load module for the sign-on routine can be the same, or it can be a different name.

About this task

Begin program-specific programming interface information.You can use an ALIAS statement of the linkage editor to provide the entry-point name.

Default routines exist in library prefix.SDSNLOAD. To use your routines instead, place your routines in library prefix.SDSNEXIT. You can use the installation job DSNTIJEX to assemble and link-edit the routines and place them in the new library. If you use any other library, you might need to change the STEPLIB or JOBLIB concatenations in the Db2 start-up procedures.

You can combine both routines into one CSECT and load module, but the module must include both entry points, DSN3@ATH and DSN3@SGN. Use standard assembler and linkage editor control statements to define the entry points. Db2 loads the module twice at startup, by issuing the z/OS® LOAD macro first for entry point DSN3@ATH and then for entry point DSN3@SGN. However, because the routines are reentrant, only one copy of each remains in virtual storage.End program-specific programming interface information.