mqseries_open
mqseries_put
mqseries Functions
PHP Manual

# mqseries_put1

(PECL mqseries >= 0.10.0)

mqseries_put1 — MQSeries MQPUT1

### Description

void mqseries_put1 ( resource `$hconn` , resource `&$objDesc` , resource `&$msgDesc` , resource `&$pmo` , string `$buffer` , resource `&$compCode` , resource `&$reason` )

The mqseries_put1() (MQPUT1) call puts one message on a queue. The queue need not be open.

### Parameters

`hConn`

  Connection handle.

  This handle represents the connection to the queue manager.

`objDesc`

  Object descriptor. (MQOD)

  This is a structure which identifies the queue to which the message is added.

`msgDesc`

  Message descriptor (MQMD).

`pmo`

  Put message options (MQPMO).

`compCode`

  Completion code.

`reason`

  Reason code qualifying the compCode.

### Return Values

No value is returned.

### See Also

- mqseries_conn() - MQSeries MQCONN
- mqseries_connx() - MQSeries MQCONNX
- mqseries_open() - MQSeries MQOPEN
- mqseries_get() - MQSeries MQGET

mqseries_open
mqseries_put
mqseries Functions
PHP Manual