In Detector batch report utility you got the following error message.
PDT0325 AUTHORIZATION CHECK FAILED FOR BATCH UTILITY DB2=SSID REASON=X'00F30040'
The GRANT statements over the PDT Batch Reporting Plan in PLANSxx for the Xmanager DB2 authorization ID were fine.
Even with SYSADM authority error message persists.
Problem was with the SUFFIX parameter in EP=PDTBATCC program and the setup in HLQ.CDBAPARM library.
There was the following in ENVDEF member:
For the DB2 Subsystem SSID PTISYSPZ member had the following:
Then you have to specify PARM='EP=PDTBATCC,SUFFIX=PZ' and Detector batch report utility will work with the right PLANS19 member, otherwise
in this case the batch program worked with the default PLANS00 member with the default Plan name so got the authorization error message.
The complete card in the batch JCL should be:
//STEP1 EXEC PGM=PTLDRIVM,PARM='EP=PDTBATCC,SUFFIX=PZ'