Home
COBOL invocation
CALL 'MQCONN' USING QMGRNAME, HCONN, COMPCODE, REASON.Declare the parameters as follows:
** Name of queue manager 01 QMGRNAME PIC X(48). ** Connection handle 01 HCONN PIC S9(9) BINARY. ** Completion code 01 COMPCODE PIC S9(9) BINARY. ** Reason code qualifying COMPCODE 01 REASON PIC S9(9) BINARY.
Home