Feedback

  • Contents
 

MQ Open

This WebSphere MQ tool executes the MQOPEN call to establish access to a queue or queue manager. See the MQOPEN call documentation in your WebSphere MQ Application Programming Guide for more information.

Inputs

Hconn

The connection handle to the Queue Manager. The MQConnect tool generates this connection handle. This value corresponds to the Hconn input parameter in the MQOPEN call.

ObjectType (MQOD)

The structure that identifies the object to be opened. See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

ObjectName (MQOD)

See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

ObjectQMgrName (MQOD)

See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

DynamicQName (MQOD)

See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

Options

See MQOPEN documentation in the WebSphere MQ Application Programming Guide for more information.

Outputs

Hobj

See MQOPEN documentation in the WebSphere MQ Application Programming Guide for more information.

See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

ObjectName (MQOD)

See MQOD - Object Descriptor documentation in the WebSphere MQ Application Programming Guide for more information.

Reason Code

For each call, a completion code and a reason code are returned by the queue manager or by an exit routine, to indicate the success or failure of the call. This value corresponds to the Reason code parameter in the MQOPEN call. The WebSphere MQ Application Programming Guide contains a list of reason codes and their meanings.

Exit Paths

Success

This step takes the Success exit path if the completion code indicates success.

Failure

This step takes the Failure exit path if the completion code indicates failure. The reason for tool failure is contained in the Reason Code parameter.