RPG (IBM i / AS/400) · File status code
What does Status Code 01041 mean in RPG (IBM i / AS/400)?
While loading a compile-time or pre-runtime array or table, the entries in the source data were not in the ascending or descending sequence declared for that array/table with the ASCEND or DESCEND keyword.
While loading a compile-time or pre-runtime array or table, the entries in the source data were not in the ascending or descending sequence declared for that array/table with the ASCEND or DESCEND keyword.
Sort the array/table source data to match the declared sequence keyword, or drop ASCEND/DESCEND if the data is intentionally unordered.