PHP Doku:: MQSeries MQOPEN - function.mqseries-open.html

Verlauf / Chronik / History: (3) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Sonstige Dienste ≥ mqseries ≥ mqseries Funktionen ≥ mqseries_open

Ein Service von Reinhard Neidl - Webprogrammierung.

mqseries Funktionen

<<mqseries_inq

mqseries_put1>>

mqseries_open

(PECL mqseries >= 0.10.0)

mqseries_open — MQSeries MQOPEN

Beschreibung

void mqseries_open ( resource $hconn , array &$objDesc , int $option , resource &$hobj , resource &$compCode , resource &$reason )

The mqseries_open() (MQOPEN) call establishes access to an object.

Parameter-Liste

hConn

Connection handle.

This handle represents the connection to the queue manager.

objDesc

Object descriptor. (MQOD)

options

Options that control the action of the function.

hObj

Object handle.

This handle represents the object to be used.

compCode

Completion code.

reason

Reason code qualifying the compCode.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Beispiele

Beispiel #1 mqseries_open() example

<?php
    $mqods 
= array('ObjectName' => 'TESTQ');
    
mqseries_open(
                
$conn,
                
$mqods,
                
MQSERIES_MQOO_INPUT_AS_Q_DEF | MQSERIES_MQOO_FAIL_IF_QUIESCING | MQSERIES_MQOO_OUTPUT,
                
$obj,
                
$comp_code,
                
$reason);
    if (
$comp_code !== MQSERIES_MQCC_OK) {
        
printf("open CompCode:%d Reason:%d Text:%s<br>\n", $comp_code, $reason, mqseries_strerror($reason));
        exit;
    }
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)