Use the RUNARRAY subcommand to process an array of control blocks. You can specify the order that subscripts should be processed.
RUNARRAY optionally displays each control block.
RUNARRAY
[ data-descr | ADDRESS(X) ]
[ ASCENDING | DESCENDING ]
[ EXEC((clist|rexx-exec|subcommand)) ]
[ SUMMARY | NOSUMMARY ]
-------- SETDEF-Defined Parameters -------------------------
Note: You can override the following SETDEF parameters.
[ DISPLAY[(display-options)] ]
[ NODISPLAY[(display-options)] ]
[ FLAG(severity) ]
[ PRINT | NOPRINT ]
[ TERMINAL | NOTERMINAL ]
[ TEST | NOTEST ]
[ VERIFY | NOVERIFY ]
The RUNARRAY subcommand generates a return code that consists of its own return code plus the return code from the CLIST, REXX exec, or IPCS subcommand designated on the EXEC parameter. If the CLIST, REXX exec, or IPCS subcommand returns with a serious condition, RUNARRAY processing ends with the current array entry.
See Standard subcommand return codes for a description of the return codes produced by the RUNARRAY subcommand.
The RUNARRAY subcommand generates a return code that consists of its own return code plus the return code from a CLIST, REXX exec, or IPCS subcommand if designated by the EXEC parameter. If the CLIST, REXX exec, or IPCS subcommand returns with a serious condition, RUNARRAY processing ends with the current control block.