Modify JCLCheck error message severity level using the REXX interface
search cancel

Modify JCLCheck error message severity level using the REXX interface

book

Article ID: 24107

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

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. 

Environment

Release: 12.0
Component: JCLCheck Workload Automation

Resolution

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

 

 

Additional Information

The severity level of JCLCheck messages can also be altered using these methods: 

  • Modify CSECT JCLMSG by applying Usermod MZ2C023.
  • Use runtime option MCOSYS
  • Use runtime option MCOUSR
  • Use Assembler exit CAZ1XERR