Batch Processor failed with PTIDB2-CAF error retrieving Db2 application defaults error message
search cancel

Batch Processor failed with PTIDB2-CAF error retrieving Db2 application defaults error message

book

Article ID: 9158

calendar_today

Updated On:

Products

Batch Processor Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite Database Management for DB2 for z/OS - Utilities Suite DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS

Issue/Introduction

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

Resolution

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.