What part of the CA Pan/SQL product determines which DB2 subsystem DSN is being used?

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

What part of the CA Pan/SQL product determines which DB2 subsystem DSN is being used?

Answer:

The CA Pan/SQL products indicates that we are using the module name DSNHDECP as a method of identifying the correct SSID to us.

The DB2 module name to locate is hard coded in the CA Pan/SQL program SMSMDFT2, which is in the CA Pan/SQL load module DQSPSCC.

MVC LOADNAME,=CL8'DSNHDECP' GET DB2 LOAD MODULE THAT 

You can prepare multiple load module libraries containing DQSPSCC, one for each DB2 subsystem.

The name ‘DSNHDECP’ can be altered by the AMASPZAP program in each of the load module libraries to the appropriate target DECP program. 

Your JCL can then be symbolically reference a specific load module library.