How to fix PDT0325 AUTHORIZATION CHECK FAILED FOR BATCH UTILITY DB2=DB2B REASON=X'00F30040' error message in Detector batch report utility?.

book

Article ID: 128949

calendar_today

Updated On:

Products

CA Bind Analyzer for DB2 for z/OS CA Detector CA SQL-Ease for DB2 for z/OS CA Sysview Performance Management Option for DB2 for z/OS CA Database Detector for DB2 for z/OS CA Plan Analyzer for DB2 for z/OS CA Subsystem Analyzer for DB2 for z/OS

Issue/Introduction

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.     
 

Environment

Release:
Component: PDT

Resolution

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'