Using REXX CALL to Run External Commands: Minimal Design, Security, and Failure Handling
When automating system tasks with REXX, the CALL statement can run any OS command. This article outlines a minimal, secure design: whitelist enforcement, output capture, status checks, and cleanup. It also covers failure modes and when to adjust the design for high‑throughput or cross‑platform use.