What is the required sequence of datasets in the STEPLIB and the PTILIB DD concatenation for batch job executions for the CA Database Management Solutions for DB2 for z/OS tools?

Document ID : KB000024139
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

The STEPLIB and PTILIB DD statements designate the datasets required for executing the CA DB2 Tools in a batch environment. If they are not concatenated in the correct sequence results could be unpredictable and difficult to debug.

Instructions: 

The load libraries must be concatenated in a specific sequence in order for the tools to find the correct load modules. The LOADLIB containing the CA DB2 Tools must be the first library in the concatenation for both the STEPLIB and PTILIB. It should be followed by the DB2 SDSNEXIT and then by the SDSNLOAD libraries.

The CA LOADLIB is specified in the highlvl.PARMLIB(DSNAMESxx) member.

The DB2 LOADLIBS are specified in the highlvl.PARMLIB(SETUPxx). Each subsystem has a LOADLIBS parm that specifies the DB2 load libraries for this subsystem. The DB2 DSNEXIT library should be the first data set listed with the SDSNLOAD library next.

An example would be:

//STEPLIB  DD  DISP=SHR,DSN=cahighlvl.LOADLIB                      -CA LOADLIB
//         DD  DISP=SHR,DSN=db2highlvl.SDSNEXIT                    -DB2           
//         DD  DISP=SHR,DSN=db2highlvl.SDSNLOAD                    -DB2           
//PTILIB   DD  DISP=SHR,DSN=cahighlvl.LOADLIB                      -CA LOADLIB
//         DD  DISP=SHR,DSN=db2highlvl.SDSNEXIT                    -DB2           
//         DD  DISP=SHR,DSN=db2highlvl.SDSNLOAD                    -DB2