Home

 

PL/I invocation

call MQCONNX (QMgrName, ConnectOpts, Hconn, CompCode, Reason);

Declare the parameters as follows:

dcl QMgrName     char(48);       /* Name of queue manager */
dcl ConnectOpts  like MQCNO;     /* Options that control the action of
                                    MQCONNX */
dcl Hconn        fixed bin(31);  /* Connection handle */
dcl CompCode     fixed bin(31);  /* Completion code */
dcl Reason       fixed bin(31);  /* Reason code qualifying CompCode */


 

Home