This Rexx Exec can be modified to take advantage of DSNACCOX.
Available from ---> https://ruban.de/db2zos/rexx-procedure-to-execute-dsnaccox-db2-supplied-stored-procedure-v10/
/* HISTORY....: 19.08.10/G.Ruban - V2R0 adapted from DSNACCOR->COX */ /* 01.08.2012 G.Ruban V2.1 - extended to fully support DB2 10 z/OS */ /* 19.12.2012 G.Ruban V2.2 - corrections on chgd DSNACCOX IN/OUT vals*/ /* 20.12.2012 G.Ruban V2.3 - text output and comments improved */ /* 30.12.2012 G.Ruban V2.3.1 corrections */