RPG (IBM i / AS/400) · File status code
What does Status Code 01011 mean in RPG (IBM i / AS/400)?
On an input operation against a file with multiple record formats, none of the identifying indicators (or key values, for externally described files) on the incoming record matched any record format defined in the program, so RPG could not classify it.
On an input operation against a file with multiple record formats, none of the identifying indicators (or key values, for externally described files) on the incoming record matched any record format defined in the program, so RPG could not classify it.
Check the record-identifying indicator specs or key fields against the actual incoming data, and add an INFSR or MONITOR block so an unrecognized record layout doesn't crash the program outright.