Suppress or change the severity level of JCLCheck error messages using Usermods
search cancel

Suppress or change the severity level of JCLCheck error messages using Usermods

book

Article ID: 54983

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

Suppress or change the severity level of  JCLCheck error messages using USERMODS.

Environment

Release: 12.0
Component: JCLCheck Workload Automation

Resolution

There are several methods for tailoring JCLCheck error messages.

  1. User Exit CAZ1XERR. This exit is written in Assembler and the sample source code is in the JCLCheck CAZ2SRC data set. To install this user exit, apply usermod MZ1nn30 (nn is the JCLCheck version number). To activate the exit at runtime, use option DYN(XERR).

  2. Runtime option UTLSEV. This option downgrades messages CAY6060 through CAY6085 to warnings (sev=4) when issued for control statements from IBM utility such as IDCAMS. 

  3. JCLMSG from the JCLCheck CAZ2SRC data set. To modify JCLMSG, apply usermod MZ2nn23 from the SAMPJCL data set as follows: 

    • Browse JCLMSG and locate the message. 

    • Copy and paste the 80-byte message record into the usermod between the ./ CHANGE and ./ ENDUP statements. Make sure that that sequence number in columns 73-80 are not changed. 

    • To suppress the message, use the following syntax: 


      #nnn $DMSG 'message text',SEV=SUPPRESS 

    • To change the severity level of a message, use the following syntax: 


      #nnn $DMSG 'message text',SEV=nn 


      The severity value must range between 0 and 15. All JCLCheck messages have severities of 0, 4, 8, or 12. 

      • 0-3 Informational 

      • 4-7 Warning 

      • 8-11 Error 

      • 12-15 Serious error 

    • Submit usermod MZ2nn23   
  4.  Use runtime option MCOSYS/MCOUSR.  Reference: https://knowledge.broadcom.com/external/article?articleId=25210