REXX SPOC API
The REXX SPOC API allows automated operator application programs written in the REXX programming language to submit IMS operator commands to the IMSplex and to retrieve the command responses.
The command responses are in the form of XML statements. REXX application programs can examine the command responses and perform further processing if needed.
For example, an REXX application program can issue the following command to check the queue count for a transaction:
QRY TRAN NAME(prod001) SHOW(QCNT)
If the response shows a high queue count, the REXX application program can issue other commands to start additional regions or to change the class of the transaction.
You can write REXX applications programs and run them in a TSO, a batch, or a Tivoli® NetView for z/OS® environment. You must start the SCI, the OM, and the IMS control region address spaces before the REXX application program can issue IMS operator commands.