The ON-ERROR status is already handled for the MONITOR operation group.
20
Cause . . . . . : A status code can be handled by one ON-ERROR group at most. If *ALL has been specified for an ON-ERROR operation in a MONITOR operation, or if an ON-ERROR operation has been specified with factor 2 blank, no further ON-ERROR groups can be specified for that MONITOR group. If *PROGRAM has been specified for an ON-ERROR group, no further program errors (status codes less than 1000) can be specified for that monitor group; similarly, if *FILE has been specified, no further file errors (status codes greater than 1000) can be specified. The status code is ignored.
Recovery . . . : Correct the ON-ERROR operations in the MONITOR group so that no status code appears more than once. If the special values *PROGRAM, *FILE, and *ALL are used, ensure that they are coded after any ON-ERROR codes with specific status codes. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.