Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mqseries_disc(3) [php man page]

MQSERIES_DISC(3)							 1							  MQSERIES_DISC(3)

mqseries_disc - MQSeries MQDISC

SYNOPSIS
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)

Check Out this Related Man Page

MQSERIES_CMIT(3)							 1							  MQSERIES_CMIT(3)

mqseries_cmit - MQSeries MQCMIT

SYNOPSIS
void mqseries_cmit (resource $hconn, resource &$compCode, resource &$reason) DESCRIPTION
The mqseries_cmit(3) (MQCMIT) call indicates to the queue manager that the application has reached a syncpoint, and that all of the mes- sage gets and puts that have occurred since the last syncpoint are to be made permanent. Messages put as part of a unit of work are made available to other applications; messages retrieved as part of a unit of work are deleted. 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_cmit(3) example <?php mqseries_cmit($conn, $comp_code, $reason); if ($comp_code !== MQSERIES_MQCC_OK) { printf("cmit 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_begin(3), mqseries_back(3), mqseries_conn(3), mqseries_connx(3). PHP Documentation Group MQSERIES_CMIT(3)
Man Page

7 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. Post Here to Contact Site Administrators and Moderators

Thread was closed without a valid reason

Dear Administrators, I think Mr. Vino is one of your Moderators here because he closes this thread: https://www.unix.com/showthread.php?p=302086230#post302086230 without a valid reason. Rule 7 states no headhunters or recruiters, but career advice is not prohibited here i think, because it... (2 Replies)
Discussion started by: patras
2 Replies

4. Shell Programming and Scripting

Is there a way to find the version of my MQSeries?

Is there a way to find the version of my MQSeries? Thanks, Vijay. (0 Replies)
Discussion started by: Vijay06
0 Replies

5. 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

6. HP-UX

Reason to keep old /var/opt/perf/datafiles/logproc files

Would there be a reason to keep old logproc files that have been tarred up for any longer than a few days? (1 Reply)
Discussion started by: jeffbusz
1 Replies

7. 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