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)
Check Out this Related Man Page
MQSERIES_DISC(3) 1 MQSERIES_DISC(3)mqseries_disc - MQSeries MQDISCSYNOPSIS
void mqseries_disc (resource $hconn, resource &$compCode, resource &$reason)
DESCRIPTION
The mqseries_disc(3) (MQDISC) call breaks the connection between the queue manager and the application program, and is the inverse of the
mqseries_conn(3) (MQCONN) or mqseries_connx(3) (MQCONNX) call.
PARAMETERS
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_disc(3) example
<?php
mqseries_disc($conn, $comp_code, $reason);
if ($comp_code !== MQSERIES_MQCC_OK) {
printf("disc CompCode:%d Reason:%d Text:%s<br>
", $comp_code, $reason, mqseries_strerror($reason));
}
?>
SEE ALSO mqseries_conn(3), mqseries_connx(3).
PHP Documentation Group MQSERIES_DISC(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)
Dear all !
When I use X-manager 1.3.9 to connect with server in HP -Unix .It's okey
But when I use it to connect with Sun Solaris 8 .It can't display
So can you help me to solve this (4 Replies)
Hi,
I am trying to connect to a queue manager, but I am not able to use the MQCONN command . If anyone have sample program , please help
thanks in davance
Satya (2 Replies)
I'm working on a queue manager type application. I'd like to be able to delegate a large job constituted of many smaller task to a handful (or potentially dozens) of commodity linux machines on a LAN. It is quite likely this LAN will be ethernet but it might end up being Fibre Channel or... (3 Replies)
Hi all,
putty connection manager is great but when attempting to sudo or ssh to another box via the post login commands it is subject to issues due to network latency (what happens is that pcm enters the password before the unix box is ready to receive it). Is there any clever way I can make... (1 Reply)
Hi All,
I just ordered unmanaged server for my application testing. But when I try to install the application it is showing blank page.
Done know, what will be reason it showing blank page
This is my output
# rpm -q php
php-5.3.10-5.el5.art
# rpm -q mysql
mysql-5.0.95-1.el5_7.1... (2 Replies)
Hi,
I have an issue with a PERL5 script that calls MQCONN. I get this error on this Perl step when connecting to my Q manager: "Undefined Undefined subroutine &main::MQCONN called at ./quelog.pl "
I use this code:$Hconn = MQCONN($QMGR,$CompCode,$Reason);
In my .profile:
export... (2 Replies)