How to fix PDT0325 AUTHORIZATION CHECK FAILED FOR BATCH UTILITY DB2=DB2B REASON=X'00F30040' error message in Detector batch report utility?.
Article ID: 128949
Bind Analyzer for DB2 for z/OSSQL-Ease for DB2 for z/OSSYSVIEW Performance Management Option for DB2 for z/OSPlan Analyzer for DB2 for z/OSSubsystem Analyzer for DB2 for z/OS
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.
Release: Component: PDT
Problem was with the SUFFIX parameter in EP=PDTBATCC program and the setup in HLQ.CDBAPARM library.
There was the following in ENVDEF member:
MVSS.SSID (PZ) ...
For the DB2 Subsystem SSID PTISYSPZ member had the following:
DSNAME=PZ SETUP=PZ PLANS=19 ISPF=00 *=PZ
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'