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

Status Code 01201

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

An EXFMT or READ against a display file returned a record layout that doesn't match what the program expected, typically because the display file DDS was changed and recompiled independently of the RPG program.

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

Condition

An EXFMT or READ against a display file returned a record layout that doesn't match what the program expected, typically because the display file DDS was changed and recompiled independently of the RPG program.

Fix

Recompile the RPG program against the current display file object so field and format layouts stay in sync, and confirm the display file wasn't updated separately in production.

Related file status code