mqseries_put1
mqseries_put1
MQSeries MQPUT1
void **mqseries_put1** resource $hconn resource $objDesc resource $msgDesc resource $pmo string $buffer resource $compCode resource $reason
The
(MQPUT1) call puts one message on a queue. The queue need not be open.
mqseries_put1
You can use both the and
calls to put messages on a queue; which call to use depends on the circumstances.
Use the (MQPUT) call to place multiple messages on the same queue.
Use the (MQPUT1) call to put only one message on a queue.
This call encapsulates the MQOPEN, MQPUT, and MQCLOSE calls into a single call, minimizing the
number of calls that must be issued.
mqseries_put``mqseries_put1``mqseries_put``mqseries_put1
hConnConnection handle.
This handle represents the connection to the queue manager.
objDescObject descriptor. (MQOD)
This is a structure which identifies the queue to which the message is added.
msgDescMessage descriptor (MQMD).
pmoPut message options (MQPMO).
compCodeCompletion code.
reasonReason code qualifying the compCode.
return.void
mqseries_conn``mqseries_connx``mqseries_open``mqseries_get