CLEAR or RESET operation is not allowed for a record format without I and O specifications.
30
Cause . . . . . : When a file is defined in a subprocedure or is defined with the LIKEFILE keyword, no Input and Output specifications are generated for the file, therefore no fields are associated with the record formats. The CLEAR and RESET operations have no meaning in this case.
Recovery . . . : Remove the CLEAR or RESET operation.