MQSERIES_PUT1(3) 1 MQSERIES_PUT1(3)mqseries_put1 - MQSeries MQPUT1SYNOPSIS
void mqseries_put1 (resource $hconn, resource &$objDesc, resource &$msgDesc, resource &$pmo, string $buffer, resource &$compCode,
resource &$reason)
DESCRIPTION
The mqseries_put1(3) (MQPUT1) call puts one message on a queue. The queue need not be open.
PARAMETERS
o $hConn
-Connection handle.This handle represents the connection to the queue manager.
o $objDesc
-Object descriptor. (MQOD) This is a structure which identifies the queue to which the message is added.
o $msgDesc
-Message descriptor (MQMD).
o $pmo
-Put message options (MQPMO).
o $compCode
-Completion code.
o $reason
-Reason code qualifying the compCode.
RETURN VALUES
No value is returned.
SEE ALSO mqseries_conn(3), mqseries_connx(3), mqseries_open(3), mqseries_get(3).
PHP Documentation Group MQSERIES_PUT1(3)
Check Out this Related Man Page
MQSERIES_CONN(3) 1 MQSERIES_CONN(3)mqseries_conn - MQSeries MQCONNSYNOPSIS
void mqseries_conn (string $qManagerName, resource &$hconn, resource &$compCode, resource &$reason)
DESCRIPTION
The mqseries_conn(3) (MQCONN) call connects an application program to a queue manager. It provides a queue manager connection handle,
which is used by the application on subsequent message queuing calls.
PARAMETERS
o $qManagerName
-Name of queue manager.Name of the queue manager the application wishes to connect.
o $hConn
-Connection handle.This handle represents the connection to the queue manager.
o $compCode
-Completion code.
o $reason
-Reason code qualifying the compCode.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
mqseries_conn(3) example
<?php
mqseries_conn('WMQ1', $conn, $comp_code, $reason);
if ($comp_code !== MQSERIES_MQCC_OK) {
printf("conn CompCode:%d Reason:%d Text:%s<br>
", $comp_code, $reason, mqseries_strerror($reason));
exit;
}
?>
SEE ALSO mqseries_disc(3).
PHP Documentation Group MQSERIES_CONN(3)
Hi ,
Could anyone suggest how do you implement a Connection pool in C?
Connection pool to store/reuse connections to any resource manager .. database, MQSeries.
How is this done?
Regards,
VJ (0 Replies)
Iam new to shellscript.
1)How to strart QUERYMANAGER using shellscript.
2)How to put and get messages in MQSeries using shellscripts.
3)iam using local queues .
Thanks lot. (0 Replies)