RPG (IBM i / AS/400) · Runtime error
What does RNX0112 mean in RPG (IBM i / AS/400)?
A date, time, or timestamp field read from a database record contains a value that is not valid for its type, most often a null-capable date column that actually holds a null, or a record written by a different program that did not populate the field the way this one expects.
A date, time, or timestamp field read from a database record contains a value that is not valid for its type, most often a null-capable date column that actually holds a null, or a record written by a different program that did not populate the field the way this one expects.
Check whether the column is null-capable and add explicit null handling (%NULLIND or a null indicator array) before referencing it as a date, rather than assuming every date field in an existing file is always populated.