QRG7163

Keyed input and output operations are not allowed when the field used as a KFLD corresponds to a null-capable key field in an externally-described input-only file (with no file addition) when ALWNULL(*YES) is specified as a compile option. The specification is ignored.

Remove the specification or use compile option ALWNULL(*NO). Compile again.