downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

mqseries_get> <mqseries_connx
[edit] Last updated: Fri, 17 May 2013

view this page in

mqseries_disc

(PECL mqseries >= 0.10.0)

mqseries_discMQSeries MQDISC

説明

void mqseries_disc ( resource $hconn , resource &$compCode , resource &$reason )

mqseries_disc() (MQDISC) をコールすると、キューマネージャとアプリケーションプログラムとの間の接続を切断します。 mqseries_conn() (MQCONN) や mqseries_connx() (MQCONNX) の逆の意味です。

パラメータ

hConn

接続ハンドル。

このハンドルは、キューマネージャへの接続を表します。

compCode

完了コード。

reason

compCode の原因を表すコード。

返り値

値を返しません。

例1 mqseries_disc() の例

<?php
    mqseries_disc
($conn$comp_code$reason);
    if (
$comp_code !== MQSERIES_MQCC_OK) {
        
printf("disc CompCode:%d Reason:%d Text:%s<br>\n"$comp_code$reasonmqseries_strerror($reason));
    }
?>

参考



add a note add a note User Contributed Notes mqseries_disc - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites