The data structure is not allowed for the operation.
20
Cause . . . . . : For operation codes CHAIN, READ, READC, READE, READP, READPE, and UPDATE, the data structure does not consist of the input fields of the specified file. For operation code WRITE, the data structure does not consist of the output fields of the specified file. The data structure is ignored.
Recovery . . . : For an input operation, define the data structure using keyword LIKEREC, with the record name as the first parameter and *INPUT as the second parameter. For output operations, code *OUTPUT as the second parameter of LIKEREC. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.