The MQPUT subroutine puts a message on an open queue.
call MQPUT( Hconn, HObj, MsgDesc, PutMsgOpts, Blen, Buff, CompCode, Reason )
Parameter | Data Transfer | Description |
---|---|---|
Hconn | inbound | Connection handle. |
Hobj | inbound | Object Descriptor Handle. |
MsgDesc | inbound | Message Descriptor. |
PutMsgOpts | inbound | Options controlling action of MQPUT. |
Blen | inbound | Length of message in Buff. |
Buff | outbound | Message Data. |
Dlen | outbound | Data Length. |
CompCode | outbound | Completion Code (MSQCC_OK|MSQCC_WARNING| MSQCC_FAILED). |
Reason | outbound | Reason code for qualifying CompCode. |