Batch Processor Job failed with the following error messages and finished with RC=08.
.CONNECT ssid
PTIDB2-CAF: Error retrieving DB2 application defaults.
BPA0010E: CONNECTION TO DB2 SSID ssid HAS FAILED USING PLAN: RBPAxxxx.
RETCODE = 8
Problem was in SETUPxx member, DSNHDECP module is loaded from a library in LOADLIBS parameter, it is not loaded from a Library in STEPLIB DD or PTILIB DD. Must define the
correct Db2 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 the SETUPxx member.