RPG (IBM i / AS/400) · File status code
What does Status Code 00202 mean in RPG (IBM i / AS/400)?
A program invoked with CALL ended abnormally due to an unhandled exception, and none of its halt indicators (H1-H9) were set to report the failure back to the caller.
A program invoked with CALL ended abnormally due to an unhandled exception, and none of its halt indicators (H1-H9) were set to report the failure back to the caller.
Check %STATUS and %ERROR after the CALL (or use the E extender) instead of relying on halt indicators, since most modern RPG shops don't wire up H1-H9 and need another way to detect the failure.