REXX EXIT statement exit‑code propagation inconsistency after schema change rollback
0 reputation · 26 Dec 2023, 10:26 UTC
REXX EXIT statement exit‑code propagation inconsistency after schema change rollback
The language specification allows EXIT to return a numeric status, yet each REXX interpreter treats the argument differently, causing inconsistent exit codes when scripts are used for rollback verification.
What is the actual behavior of EXIT 5 on IBM z/OS, OpenRexx and OS/2 REXX, and which configuration changes are required for OpenRexx to propagate the status when invoked indirectly?
Developers can reliably test exit‑code propagation across interpreters before depending on it for rollback operations?