Creating case-code-definition modules

EQQCASEM is a nonexecutable module that holds case-code definitions. A case-code definition is a list of abend codes and return codes that require the same recovery actions, grouped so that they can be referenced under a single name. These lists are used by the automatic-recovery function.

You create your own case-code definitions by assembling a file consisting of a number of EQQCASEC assembler macro invocations. The EQQCASEC invocations must be the only codes in the assembler file. Give the load module the name EQQCASEM when it is link-edited, and place it in a load module library that is available to HCL Workload Automation for Z. Use RMODE(24) and AMODE(24) when linking the module.


1 +  EQQCASEC
2.1  CASE = code name , CODES = ( + , code )
2.1  END
CASE
Specifies the case code to be defined when this macro is invoked. It can be 1 to 4 characters and should follow JCL naming standards.
CODES
Specifies a list of HCL Workload Automation for Z job completion codes, return codes, and case codes. The code name in the CASE parameter represents all the codes in the CODES parameter.

Each macro invocation except the last defines a case code. The last record of the module must be EQQCASEC END.

The distributed load module defines two case codes, NOAR and SYST. They are created by the following assembler file:

Example of EQQCASEM module definition

 EQQCASEC CASE=NOAR,CODES=(S122,S222,CAN,JCLI,JCL,JCCE)
 EQQCASEC CASE=SYST,CODES=S222
 EQQCASEC END