RNF5294

The status code specified for the ON-ERROR operation is not valid.

20

Cause . . . . . : The status code specified for the ON-ERROR operation must be *ALL, *FILE, *PROGRAM, or a numeric value with zero decimal positions having a value between 00100 and 01999. Furthermore, a numeric status must be a constant and must represent a valid RPG status:

The status code is ignored.

Recovery . . . : Change factor 2 so that it contains a valid list of status codes or remove factor 2 to indicate that all status codes should be handled by the ON-ERROR block. Compile again.

Technical description . . . . . . . . : Some status codes cannot be monitored because they relate to errors that can never occur during calculations,