CQCQ gate, GET_CIB function
This function returns a pointer to the MVS console
interface block (CIB) embedded in the first CICS CIB on the QR TCB
processed_n CIB queue.
If the queue is empty then any CICS
CIBs on the CQ TCB processed_n CIB queue are moved to the QR TCB processed_n
CIB queue. If the queue is still empty then an exception response,
either reason CIB_QUEUE_EMPTY or reason CIB_QUEUE_CLOSED is returned.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CIB_QUEUE_CLOSED
- CIB_QUEUE_EMPTY
- CIB_TOKEN
- The address of the first CICS CIB on the QR TCB processed_n queue.
- MVS_CIB
- The address of the MVS CIB embedded in the first CICS CIB on the QR TCB processed_n queue.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.