RPG (IBM i / AS/400) · File status code
What does Status Code 01051 mean in RPG (IBM i / AS/400)?
The number of elements supplied in the compile-time data for an array or table exceeded the number of elements declared for it (DIM or %ELEM) in the definition specs.
The number of elements supplied in the compile-time data for an array or table exceeded the number of elements declared for it (DIM or %ELEM) in the definition specs.
Raise the declared element count to match the source data, or trim the extra data lines so the counts line up exactly.