Home

 

Visual Basic invocation

MQCONNX QMgrName, ConnectOpts, Hconn, CompCode, Reason

Declare the parameters as follows:

Dim QMgrName    As String*48 'Name of queue manager'
Dim ConnectOpts As MQCNO     'Options that control the action of'
                             'MQCONNX'
Dim Hconn       As Long      'Connection handle'
Dim CompCode    As Long      'Completion code'
Dim Reason      As Long      'Reason code qualifying CompCode'


 

Home