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

Status Code 00907

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

A field or expression held invalid packed or zoned decimal data (a bad sign or digit nibble) when RPG tried to use it in a numeric operation, usually from corrupted data on the database or an uninitialized or overlaid field.

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

Condition

A field or expression held invalid packed or zoned decimal data (a bad sign or digit nibble) when RPG tried to use it in a numeric operation, usually from corrupted data on the database or an uninitialized or overlaid field.

Fix

Scan for and clean the bad data at its source with a decimal-data-error utility rather than just suppressing the error, and treat relaxing decimal-data-error checking (QIGNOREDECDATA or the compiler option) as a temporary workaround, not a fix.

Related file status code