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:
Read syntax diagramSkip visual syntax diagramERRORACT=ABEND (for OPC) | STOP (for OER)ABENDSTOP
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.
For OER, specifies that when one of the following conditions is met, processing ends with the following user abend code:
U3500
Error-1: An error that occurs while the Area Sensor is running
U3523
Error-2: The number of errors that occur during the UOW reorganization has exceeded the value specified in the MAXFAILS keyword of the REORG control statement
U3510
Error-3: The number of errors that occurred in OPC has reached the value specified in the MAXERROR keyword of the PTRCHK control statement
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.