Batch Processor failed with 'PTIDB2-CAF: Error retrieving DB2 application defaults' error message

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

Batch Processor Job failed with the following error messages and finished with RC=08.
 
.CONNECT D11A
PTIDB2-CAF: Error retrieving DB2 application defaults.
 BPA0010E: CONNECTION TO DB2 SSID D11A HAS FAILED USING PLAN: RBPAR190.
RETCODE =     8

Resolution:

Problem was in SETUP00 member, DSNHDECP module is loaded from a Library in LOADLIBS parameter, it is not loaded from a Library in STEPLIB DD or PTILIB DD, then you have to define the right Libraries in LOADLIBS parameter to avoid these error messages. Although the Libraries might be in LINKLIST they have to be defined in LOADLIBS parameter in SETUP00 member.