The severity level of a JCLCheck error message can be modified in the Message Processing routine of the JCLCheck REXX interface.
This Knowledge Document describes how to implement this feature.
Release: 12.0
Component: JCLCheck Workload Automation
1. Use JCLCheck runtime options REXXMSG and STDREXX(rexxpgm).
Notes: The rexxpgm must exist in the library that is allocated to SYSEXEC DD.
Two sample REXX programs are provided in the JCLCheck CAZ2CLS0 library, and are named CAZ1REXX, CAZ1REX2.
2. Set the desired message severity level in the MSG_PROCESSING routine of the REXX program.
Example: Change error message CAY6093E to an informational message CAY6093I.
MSG_PROCESSING:
/* Reset the 'PROGRAM xxxxxxxx NOT FOUND' message severity to 'I'. */
IF MSG.NUMBER = '093' THEN DO
MSG.SEVERITY = '00'
SEV_CHANGED = 'Y'
END
The severity level of JCLCheck messages can also be altered using these methods: