RPG (IBM i / AS/400) · File status code

Status Code 01071

What does Status Code 01071 mean in RPG (IBM i / AS/400)?

During matching-record or control-break processing, a numeric key field on an input record fell out of the ascending (or descending) sequence RPG expected relative to the previously read record.

Status Code 01071IBM i / OS/400 · ILE RPG

Condition

During matching-record or control-break processing, a numeric key field on an input record fell out of the ascending (or descending) sequence RPG expected relative to the previously read record.

Fix

Verify the file's key definition and access path really enforce the sequence the program relies on, and check for manual data loads or restores that bypassed the keyed access path.

Related file status code