MQI CMIT
This statement invokes the IBM MQ CMIT command which commits all new messages and changes to queues opened with SYNCPoint.
Command | Parameters |
---|---|
IMFEXEC MQI CMIT | HCONN(hconn) |
The following table describes the IMFEXEC MQI CMIT parameters.
Parameter | Function | Notes |
---|---|---|
HCONN | Provides the connection handle that represents the connection to the queue manager. | This parameter:
If omitted, the connection handle value is the default variable IMFHCONN. The connection handle is returned by a previous IMFEXEC MQI CONN request and stored in the IMFHCONN variable or a user-specified variable. |
The completion code is returned in the IMFMQCC and IMFCC variables. For additional information, see How-completion-and-reason-codes-are-returned.
The reason code is returned in the IMFMQRC and IMFRC variables; contents of both variables are the same.
IMFMQI_REASON contains the constant (character) reason code. Refer to the IBM manual MQ Application Programming Reference or the IBM Knowledge Center for the reason code description.