Modify CA JCLCheck Workload Automation error message severity level using a REXX exec.

Document ID : KB000024107
Last Modified Date : 14/02/2018
Show Technical Document Details


A Message Processing routine is added to the sample CAZ1REXX exec to demonstrate how to modify the severity level of a CA JCLCheck WA error message. This Knowledge Document describes what needs to be done to use this new Message Processing routine.


The severity level of any CA JCLCheck WA error message can be altered using one or more of the following methods:

  1. Modify csect JCLMSG

  2. Use runtime option MCOSYS

  3. Use runtime option MCOUSR

  4. Use Assembler exit CAZ1XERR

  5. Use a REXX exec.

This Knowledge Document describes the latest method which uses a REXX exec.

To alter the severity level of an error message, specify runtime option REXXMSG and STDREXX(rexxexec) on the CA JCLCheck WA job. The REXX exec name is user-defined, and the library containing the REXX exec must be allocated to a SYSEXEC DD statement before CA JCLCheck is executed. The CA sample REXX exec is named CAZ1REXX and is located in the CAZ2OPTN library.

The following REXX routine changes error message CAY6093E to an informational message CAY6093I.


/* Reset the 'PROGRAM xxxxxxxx NOT FOUND' message severity to 'I'.  */
     MSG.SEVERITY = '00'
     SEV_CHANGED = 'Y'

As always, please contact CA Technologies support for CA JCLCheck Workload Automation if you have further questions.