RNF7070
The Factor 1 KLIST is not valid with the type of file in Factor 2.
30
Cause . . . . . : A KLIST is not allowed as the Factor 1 operand when the file specified as the Factor 2 operand is a program-described file or an externally-described file that is not accessed by key. The specification is ignored.
Recovery . . . :
- If the file is program described, specify a literal or field as the search argument.
- If the file is externally described and the file is not keyed, or if you do not want to process it by key, specify a numeric relative record number to access the file.
- If the file is externally described and the file is keyed, and you want to process the file by key, specify K in position 31 of the File specification.
Compile again.