JCLCheck error message CAY6572E is issued with no indication what the error is. It does have a DSN after the message but no other reason.
Component: JCLCheck Workload Automation
JCLCheck PTF SO03870 introduced informational message CAY6572I GDG Resolved Name: 'GDG.DSN.NAME.G????V00' to display the resolved G0000V00 name for GDG data sets.
When this message is commented out or removed from table JCLMSG, the message error level is defaulted to 08 (E level error).
1. Ensure that message #572 exists, and is not commented out in table JCLMSG from the CAZ2SRC library.
#572 $DMSG 'GDG Resolved Name:',,SEV=0 JCK01438
2. Update table JCLMSG by applying the JCLCheck usermod MZ2C023 from the CAZ2JCL library.
Once this is done, informational message CAY6572I will be displayed to show the resolved GDG, and no longer CAY6572E.
To suppress message CAY6572, set the SEV to SUPPRESS in JCLMSG. Example:
#572 $DMSG 'GDG Resolved Name:',,SEV=SUPPRESS JCK01438