ERRORACT keyword
The ERRORACT keyword specifies the action for the utility to take at certain error conditions.
ERRORACT is an optional keyword for the following statements:
- ANALYZE statement of OPC
- REORG statement of OER
If you specify this keyword, you must specify a variable.
- Format:
-
- ABEND (or A)
- For OPC, specifies that when the number of errors encountered exceeds the value specified in the MAXERROR parameter, processing ends with a user abend code 3510.
- STOP (or S)
- Specifies that processing ends without a dump, but with a return code of 8.
For OER, if RFSSCAN=(NO,YES) or RFSSCAN=(NO,NO) is specified, ERRORACT=ABEND is not effective for the Error-2 error case. In this case, the processing always stops with a return code of 8 regardless of the ERRORACT parameter.
- Default:
- For OPC, if the ERRORACT keyword is not specified, the default is ABEND.
- For OER, if the ERRORACT keyword is not specified, the default is STOP.
- Site default support:
- Supported.
- Restriction:
- Specification of ERRORACT=ABEND is mutually exclusive with PROC_AFT_ERROR=NEXTAREA.