MAXFAILS keyword

The MAXFAILS keyword specifies the maximum allowable number of UOWs that fail to be reorganized, before the utility ends abnormally.

If the number of failures has exceeded the number specified in the MAXFAILS keyword, the reorganization processing is stopped and OER stops its processing or abends depending on the value specified for the ERRORACT keyword.

If PTRCHK=YES is specified with CHKUOW=REORGED for the PTRCHK control statement, and the MAXFAILS number has not been reached, only those UOWs that have been actually reorganized are checked by OPC. UOWs that caused errors are excluded from the list of UOWs that are to be checked by OPC.

MAXFAILS is an optional keyword for the REORG statement of OER.

Format:
Read syntax diagramSkip visual syntax diagramMAXFAILS=5integer
integer
An integer value in the range of 0 - 999.

If MAXFAILS is specified as 0, then no limit is set and the reorganization continues the attempt to reorganize the next UOW until all UOW in the area has been processed or the reorganization limit, if it is specified, is reached.

The failed UOWs will be reported in the SYSPRINT or the MFILE stream. The failed UOWs are also marked in the UOW Space Statistics report.

Default:
5, if the MAXFAILS keyword is not specified.
Site default support:
Supported.