A Detector for Db2 for z/OS (PDT) batch job abended with the following message:
PDT0326 CROSS SYSTEM FAILURE ATTEMPTING TO ACCESS DATASTORE=xxxxxxxx ON DB2=ssid
with USER COMPLETION CODE=0806 in module NAME=PDTBATCC.
What is the root cause of the problem and how to prevent it from reoccurring?
The User 806 abend happens when the cross-system communication fails. The most probable cause of the failure is that the datastore
has been archived. As there is a circumvention to this problem, no processing changes will be made to address this issue, however,
an PDT0326 message will be issued prior to the abend to clarify the circumstances of the abend.
The abend User 806 is due to the attempt to run PDTBATCH on one LPAR, while the Db2 subsystem for the unload is on another.
Xmanager from LPAR1 calls the Xmanager on LPAR2 to retrieve the data, but the collection datasets, DTR0001, DTR0002, DTR0003
are archived or LPAR2 take longer than the default value of the TIMEOUT parm which is 20 seconds. The restore process takes too
long and the cross-system request fails to meet the Xmanager TIMEOUT value. When the cross-system request fails, DT#BAT abends
with the User 806 and PDT0326 CROSS SYSTEM FAILURE ATTEMPTING TO ACCESS DATASTORE=xxxxxxx ON DB2=ssid with
USER COMPLETION CODE=0806 in module NAME=PDTBATCC will be issued prior to the abend to clarify the circumstances of the abend.
The recommendation is to add the TIMEOUT(150), or higher to all your Xmanagers JCL or increase it significantly if it exists. The maximum value is 600.
More information on the TIMEOUT Xmanager parameters can be found in the General Facilities Reference Guide.
Another workaround is to run the batch job on the same system as the Db2 subsystem.