REXX and DB2: Intermittent Connection Pool Exhaustion Diagnosis
REXX and DB2: Intermittent Connection Pool Exhaustion Diagnosis When a REXX program that connects to DB2 via DSNREXX or RRSAF terminates, the address space sometimes retains idle DB2 threads that are not reclaimed until the TSO session ends. The threads remain in an “in‑doubt” state if the script opens a WITH HOLD cursor and exits without an explicit COMMIT