The MQBACK subroutine ensures that message puts and gets that have occurred since the last sync point are backed out. Messages such as a part of a unit of work are deleted and messages that were retrieved as part of a unit of work are reinstated on the queue.
call MQBACK(Hconn, CompCode, Reason)
Parameter | Data Transfer | Description |
---|---|---|
Hconn | inbound | Connection handle. |
CompCode | outbound | Completion Code (MSQCC_OK|MSQCC_WARNING| MSQCC_FAILED). |
Reason | outbound | Reason code for qualifying CompCode. |