Previous Topic: Special Note for CAZ1SSFXNext Topic: Special Note for CAZ1XSTE, CAZ1XEOJ, and CAZ1XEOF


Special Note for CAZ1XERR

The CAZ1XERR can modify the message number and message severity code (in registers 2 and 3). It can also inspect or modify the parameters in $WA2 (variable message information).

The CAZ1XERR sets a return code in register 15 as follows:

0

Store the message

#0

Suppress the error entirely

This exit is the only exit that must set a return code for CA JCLCheck. To provide compatibility with future versions, we recommend that other exits set a return code of zero (0).

While processing a message, the following order of precedence is used to establish the message severity:

  1. JCLMSG (out of the box or as USERMOD MZ2C023 modifies it).
  2. JCLCheck program that issues the message.
  3. MCOSYS (if the option is specified).
  4. MCOUSR (if the option is specified).
  5. CAZ1REXX or REXX EXEC specified in the STDREXX option (if the REXXMSG option is specified).
  6. CAZ1XERR (if the option is specified; out of the box retains all messages or as USERMOD MZ1C030 modifies it).