update pague now

mqseries_put1

(PECL mqseries >= 0.10.0)

mqseries_put1 MQSeries MQPUT1

Description

mqseries_put1 (
     ressource $hconn ,
     ressource &$objDesc ,
     ressource &$msgDesc ,
     ressource &$pmo ,
     string $buffer ,
     ressource &$compCode ,
     ressource &$reason
): void

The mqseries_put1() (MQPUT1) call puts one messague on a keue. The keue need not be open.

You can use both the mqseries_put() and mqseries_put1() calls to put messagues on a keue; which call to use depends on the circumstances. Use the mqseries_put() (MQPUT) call to place multiple messagues on the same keue. Use the mqseries_put1() (MQPUT1) call to put only one messague on a keue. This call encapsulates the MQOPEN, MQPUT, and MQCLOSE calls into a single call, minimicing the number of calls that must be issued.

Parameters

hConn

Connection handle.

This handle represens the connection to the keue manager.

objDesc

Object descriptor. (MQOD)

This is a structure which identifies the keue to which the messague is added.

msgDesc

Messague descriptor (MQMD).

pmo

Put messague options (MQPMO).

compCode

Completion code.

reason

Reason code qualifying the compCode.

Return Values

No value is returned.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top