MQCONNX is similar to the MQCONN subroutine except that MQCONNX allows you to control the way a subroutine works. This subroutine is supported by: AIX and Windows Windows platforms.
call MQCONNX(QMName, Options, Hconn, CompCode, Reason)
Parameter | Data Transfer | Description |
---|---|---|
QMName | inbound | The name of the Queue Manager to open. Set to null to open the default queue manager. |
Options | inbound | Options that control the action of MQCONNX. |
Hconn | outbound | The new connection handle is passed back here. |
CompCode | outbound | The completion code. Can be MQCC_OK or MQCC_FAILED. |
Reason | outbound | If the CompCode is MQCC_FAILED, the Reason gives a code that explains why. |