RNF7115

CLEAR or RESET *ALL not allowed when record does not use all its fields.

30

Cause . . . . . : A CLEAR or RESET of a record format with a factor 2 of *ALL is not valid when:

Recovery . . . : When doing a CLEAR or RESET of a record format with a factor 2 of *ALL, ensure that the record is used in a manner consistent with the definition of all the fields in the record. To use a record for input, define the file as input capable. To use a record for output , define the file as output or update capable AND do an output or update operation on the record. Compile again.