Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mqseries_conn(3) [php man page]

MQSERIES_CONN(3)							 1							  MQSERIES_CONN(3)

mqseries_conn - MQSeries MQCONN

SYNOPSIS
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_BACK(3)							 1							  MQSERIES_BACK(3)

mqseries_back - MQSeries MQBACK

SYNOPSIS
void mqseries_back (resource $hconn, resource &$compCode, resource &$reason) DESCRIPTION
The mqseries_back(3) (MQBACK) call indicates to the queue manager that all the message gets and puts that have occurred since the last syncpoint are to be backed out. Messages put as part of a unit of work are deleted; messages retrieved as part of a unit of work are rein- stated on the queue. Using mqseries_back(3) only works in conjunction with mqseries_begin(3) and only function when connecting directly to a Queueu manager. Not via the mqclient interface. 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_back(3) example <?php mqseries_back($conn, $comp_code, $reason); if ($comp_code !== MQSERIES_MQCC_OK) { printf("CompCode:%d Reason:%d Text:%s<br> ", $comp_code, $reason, mqseries_strerror($reason)); } ?> NOTES
Note mqseries_back(3) will not function when using MQSeries Client to connect to a Queueu Manager. SEE ALSO
mqseries_conn(3), mqseries_connx(3), mqseries_begin(3). PHP Documentation Group MQSERIES_BACK(3)
Man Page

8 More Discussions You Might Find Interesting

1. Programming

Connection Pooling

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)
Discussion started by: vjsony
0 Replies

2. Programming

Shellscript for MQSeries

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)
Discussion started by: ram2s2001
0 Replies

3. Solaris

X-manager

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)
Discussion started by: iwbasts
4 Replies

4. Shell Programming and Scripting

using MQCONN

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)
Discussion started by: Satyak
2 Replies

5. IP Networking

app to broadcast availability to ethernet?

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)
Discussion started by: sneakyimp
3 Replies

6. UNIX for Dummies Questions & Answers

Command to delay password entry - putty connection manager

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)
Discussion started by: skinnygav
1 Replies

7. Linux

Need help on apache and PHP

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)
Discussion started by: ranjancom2000
2 Replies

8. Programming

PERL MQSeries MQCONN issue

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)
Discussion started by: mrn6430
2 Replies