Case code lists

You can group return codes, HCL Workload Automation for Z job codes, and abend codes for the purposes of recovery. Each group is assigned a name, called a case code. In the RECOVER statement, you can specify the recovery action for a number of abend situations, using one RECOVER statement and the case codes. The case code definition list is kept in a load module, EQQCASEM. A macro, EQQCASEC, is available to help you set up the case code lists.

With automatic recovery, the case codes are used in the following way: HCL Workload Automation for Z tries to match the error code from the failing operation with a value specified in the JOBCODE and STEPCODE parameter. If no direct match is found and a case code list exists, HCL Workload Automation for Z assumes that the codes defined in the JOBCODE and STEPCODE parameters are case codes. It searches the case code list for each parameter value. If it finds a match, implying that the value in the parameter is a true case code, it then seeks to match the error code of the failing operation with the list of return and abend codes associated with the case code. If a match is found and the other RECOVER criteria are met, recovery occurs.

For a description of how you define case codes, see Customization and Tuning.