ROLS
You can use the ROLS call to back out to the prior commit point and
return the processed input messages to IMS for later
reprocessing.
- Issue the
ROLScall using the I/O PCB but without an I/O area or token in the call. The parameters for this form of theROLScall are:- The call function
ROLS - The name of the I/O PCB or AIB
- The call function
- Issue the
ROLScall using a database PCB that has received one of the data-unavailable status codes. This has the same result as if unavailable data were encountered, and theINITcall was not issued.ROLSmust be the next call for that PCB. Intervening calls using other PCBs are permitted.
On a ROLS with a token, message queue repositioning can occur for all
non-express messages including all messages processed by IMS.
This processing using APPC/MVS calls and includes the initial
message segments. The original input transaction can be represented to the IMS application program. Input and output positioning is determined by the
SETS call. This positioning applies to current and modified IMS application programs but does not apply to CPI-C driven IMS programs. The IMS application program
must notify all remote transaction programs of the ROLS.
On a ROLS without a token, IMS
issues the APPC/MVS verb, ATBCMTP TYPE(ABEND), specifying the
TPI. Issuing this verb causes all conversations associated with the application program to be
DEALLOCATED TYPE(ABEND_SVC). If the original transaction was entered from an LU 6.2 device and IMS received the message from APPC/MVS, a discardable transaction is discarded rather than being placed on the suspend queue like
a non-discardable transaction.
Related Reading: For more information on LU 6.2, see IMS Version 15.6 Communications and Connections.
The parameters for this form of the ROLS call are:
- The call function,
ROLS - The name of the DB PCB that received the BA or BB status code
In both of the ways to use ROLS calls, the ROLS call causes a 3303
abnormal termination and does not return control to the application program. IMS keeps the input message for future processing.