A result data structure is required for I/O to a qualified file.
30
Cause . . . . . : When a file is defined using the QUALIFIED or LIKEFILE keywords, or when a file is defined local to a procedure, Input and Output specifications are not created for the file. I/O operations for the file or the record formats of the file must specify a data structure in the Result field.
Recovery . . . : Specify a result data structure for the I/O operation.