MQI CONN
It returns a queue manager connection handle to the EXEC, which is used by the application for all other IMFEXEC MQI statements.
Command | Parameters |
---|---|
IMFEXEC MQI CONN | NAME(qmgr) HCONN(hconn) |
The following table describes the IMFEXEC MQI CONN parameters.
Parameter | Function | Notes |
---|---|---|
NAME | The name of a connectable queue manager. | n/a |
HCONN | Provides a variable to contain the connection handle. | This parameter:
If omitted, the connection handle value is the default variable IMFHCONN. |
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.
Comments
Log in or register to comment.