How to correct PDT0325 AUTHORIZATION CHECK FAILED for BATCH UTILITY REASON=X'00F30040' error message in Detector batch report utility
search cancel

How to correct PDT0325 AUTHORIZATION CHECK FAILED for BATCH UTILITY REASON=X'00F30040' error message in Detector batch report utility

book

Article ID: 128949

calendar_today

Updated On:

Products

Detector for DB2 for z/OS

Issue/Introduction

In the Detector for Db2 for z/OS (PDT) batch report utility encountering 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. 

Resolution

Problem was with the SUFFIX parameter in the EP=PDTBATCC execution JCL 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 names so encountered the authorization error message.
 
The complete card in the batch JCL should be:
//STEP1    EXEC PGM=PTLDRIVM,PARM='EP=PDTBATCC,SUFFIX=PZ'