The MQCMIT subroutine notifies the queue manager that the application has reached a sync point and that the message gets and puts that have occurred since the last sync point are to be made permanent. Messages put as a part of a unit of work are made available to other applications and messages retrieved as part of a unit of work are deleted.
call MQCMIT(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. |