Keyed input and output operations are not allowed when the field specified in factor 1 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.
Remove the specification or use compile option ALWNULL(*NO). Compile again.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.