Documente Academic
Documente Profesional
Documente Cultură
https://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.ims11.doc.spr%2Fims_autonomic.htm
Autonomic example 1
In the following example, a transaction is queried. If the transaction is stopped, the REXX SPOC API attempts to
start it. The REXX SPOC API examines the information returned by CSLULGTS, looking specifically for the line
that refers to the transaction of interest.
/* autonomic computing example 1 */
"CART qrytran12"
"qry tran name(CDEBTRN3) show(status)"
results = cslulgts("resp.","qrytran12","3:15")
Do idx = 1 to resp.0
/* find which IMS and the status of tran */
parse var resp.idx . "TRAN(CDEBTRN3" . ,
"MBR(" imsname ")" . ,
"LSTT(" status ")" .