JCLCheck issues message CAY6321W trying to validate a PDSE. The user has the proper access authority to the data set and its volume.
JCL:
//TSTUSR1A JOB (xxxxxxxxx),'TSTUSR1',CLASS=A,MSGCLASS=X,
// NOTIFY=TSTUSR1,MSGLEVEL=(1,1),USER=TSTUSR1
//RECAT EXEC PGM=IEFBR14
//ALLOC DD DSN=TEST.DATA.PDSE,
// DISP=(,CATLG),UNIT=SYSDA,DATACLAS=#SMSDATA,
// SPACE=(TRK,(1,1,1),RLSE),DCB=(DSORG=PO,RECFM=U),
// DSNTYPE=(LIBRARY,2)
1. CAY6320I USER 'TSTUSR1 /TSTUSR1' VIRTUAL SIGNON TO CAISSF COMPLETE SOURCE: CAZ1SSF+003B16
4. CAY6321W POTENTIAL SECURITY VIOLATION DETECTED 'DATASET, ACCESS LEVEL=CREATE' ACID = 'TSTUSR1' SOURCE: CAZ1SSF+0017EC
Release : 12.0
Component: JCLCheck Workload Automation
Apply JCLCheck PTF LU08527.
++PTF (LU08527) REWORK(2023012)
/******************************************************************
The following items are included in this solution:
1. MISSING CAY6081E MESSAGE
2. MESSAGE CAY6197I IMPROPERLY ISSUED (PDSE)
===================================================================
MISSING CAY6081E MESSAGE
PROBLEM DESCRIPTION:
Missing CAY6081E message when allocating
a PDSE dataset with keyword DSNTYPE=(LIBRARY,2).
SYMPTOMS:
Message CAY6081E not issued.
IMPACT:
JCLCheck Reports are incorrect.
CIRCUMVENTION:
None