mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
mqseries: fix XML to remove useless wrapping para tags via script
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<appendix xml:id="mqseries.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<appendix xmlns="http://docbook.org/ns/docbook" xml:id="mqseries.constants">
|
||||
&reftitle.constants;
|
||||
<para>
|
||||
For each WebSphere MQ Constant there is a mqseries counterpart.
|
||||
@@ -11,40 +11,37 @@
|
||||
<para>The name of the mqseries counterpart is made by appending the WebSphere MQ constant with MQSERIES_,
|
||||
for example the CompletionCode constants are:
|
||||
</para>
|
||||
<para>
|
||||
<table>
|
||||
<title>mqseries constants</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>PHP Constant</entry>
|
||||
<entry>MQ Constant</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row xml:id="constant.mqseries-mqcc-ok">
|
||||
<entry><constant>MQSERIES_MQCC_OK</constant></entry>
|
||||
<entry>MQCC_OK</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-warning">
|
||||
<entry><constant>MQSERIES_MQCC_WARNING</constant></entry>
|
||||
<entry>MQCC_WARNING</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-failed">
|
||||
<entry><constant>MQSERIES_MQCC_FAILED</constant></entry>
|
||||
<entry>MQCC_FAILED</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-unknown">
|
||||
<entry><constant>MQSERIES_MQCC_UNKNOWN</constant></entry>
|
||||
<entry>MQCC_UNKNOWN</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
<table>
|
||||
<title>mqseries constants</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>PHP Constant</entry>
|
||||
<entry>MQ Constant</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row xml:id="constant.mqseries-mqcc-ok">
|
||||
<entry><constant>MQSERIES_MQCC_OK</constant></entry>
|
||||
<entry>MQCC_OK</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-warning">
|
||||
<entry><constant>MQSERIES_MQCC_WARNING</constant></entry>
|
||||
<entry>MQCC_WARNING</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-failed">
|
||||
<entry><constant>MQSERIES_MQCC_FAILED</constant></entry>
|
||||
<entry>MQCC_FAILED</entry>
|
||||
</row>
|
||||
<row xml:id="constant.mqseries-mqcc-unknown">
|
||||
<entry><constant>MQSERIES_MQCC_UNKNOWN</constant></entry>
|
||||
<entry>MQCC_UNKNOWN</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-back" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-back">
|
||||
<refnamediv>
|
||||
<refname>mqseries_back</refname>
|
||||
<refpurpose>MQSeries MQBACK</refpurpose>
|
||||
@@ -31,38 +31,36 @@
|
||||
mqclient interface.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -72,13 +70,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_back</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_back</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mqseries_back($conn, $comp_code, $reason);
|
||||
@@ -88,9 +85,8 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
@@ -105,16 +101,13 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_begin</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_begin</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-begin" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-begin">
|
||||
<refnamediv>
|
||||
<refname>mqseries_begin</refname>
|
||||
<refpurpose>MQseries MQBEGIN</refpurpose>
|
||||
@@ -34,35 +34,33 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -72,17 +70,16 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_begin</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_begin</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$mqbo = array();
|
||||
mqseries_begin( $conn,
|
||||
mqseries_begin( $conn,
|
||||
$mqbo,
|
||||
$comp_code,
|
||||
$reason);
|
||||
@@ -94,9 +91,8 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
@@ -111,17 +107,14 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_back</function></member>
|
||||
<member><function>mqseries_cmit</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_back</function></member>
|
||||
<member><function>mqseries_cmit</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-close">
|
||||
<refnamediv>
|
||||
<refname>mqseries_close</refname>
|
||||
<refpurpose>MQSeries MQCLOSE</refpurpose>
|
||||
@@ -27,52 +27,50 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>options</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>options</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para/>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -82,13 +80,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_close</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_close</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mqseries_close($conn, $obj, MQSERIES_MQCO_NONE, $comp_code, $reason);
|
||||
@@ -97,23 +94,19 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-cmit" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-cmit">
|
||||
<refnamediv>
|
||||
<refname>mqseries_cmit</refname>
|
||||
<refpurpose>MQSeries MQCMIT</refpurpose>
|
||||
@@ -27,35 +27,33 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -65,13 +63,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_cmit</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_cmit</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mqseries_cmit($conn, $comp_code, $reason);
|
||||
@@ -80,11 +77,10 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
@@ -94,20 +90,17 @@
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_begin</function></member>
|
||||
<member><function>mqseries_back</function></member>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_begin</function></member>
|
||||
<member><function>mqseries_back</function></member>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-conn" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-conn">
|
||||
<refnamediv>
|
||||
<refname>mqseries_conn</refname>
|
||||
<refpurpose>MQSeries MQCONN</refpurpose>
|
||||
@@ -26,44 +26,42 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>qManagerName</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Name of queue manager.</para>
|
||||
<para>Name of the queue manager the application wishes to connect.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>qManagerName</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Name of queue manager.</para>
|
||||
<para>Name of the queue manager the application wishes to connect.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -73,13 +71,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_conn</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_conn</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mqseries_conn('WMQ1', $conn, $comp_code, $reason);
|
||||
@@ -89,21 +86,17 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_disc</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_disc</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-connx" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-connx">
|
||||
<refnamediv>
|
||||
<refname>mqseries_connx</refname>
|
||||
<refpurpose>MQSeries MQCONNX</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -24,69 +24,67 @@
|
||||
on subsequent MQ calls.
|
||||
</para>
|
||||
<para>
|
||||
The <function>mqseries_connx</function> call is like the
|
||||
<function>mqseries_conn</function> (MQCONN) call, except that MQCONNX
|
||||
The <function>mqseries_connx</function> call is like the
|
||||
<function>mqseries_conn</function> (MQCONN) call, except that MQCONNX
|
||||
allows options to be specified to control the way that the call works.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>qManagerName</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Name of queue manager.</para>
|
||||
<para>Name of the queue manager the application wishes to connect.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>connOps</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Options that control the action of function</para>
|
||||
<para>See also the MQCNO structure.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>qManagerName</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Name of queue manager.</para>
|
||||
<para>Name of the queue manager the application wishes to connect.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>connOps</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Options that control the action of function</para>
|
||||
<para>See also the MQCNO structure.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>&return.void;</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -111,7 +109,7 @@
|
||||
printf("Connx CompCode:%d Reason:%d Text:%s<br>\n", $comp_code, $reason, mqseries_strerror($reason));
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -129,16 +127,16 @@
|
||||
'Options' => MQSERIES_MQCNO_STANDARD_BINDING,
|
||||
'MQCD' => array(
|
||||
'Version' => 7, //MQCD_VERSION_7
|
||||
'ConnectionName' => 'localhost',
|
||||
'TransportType' => MQSERIES_MQXPT_TCP,
|
||||
'ChannelName' => 'CONNECTIONCHANNEL',
|
||||
'ConnectionName' => 'localhost',
|
||||
'TransportType' => MQSERIES_MQXPT_TCP,
|
||||
'ChannelName' => 'CONNECTIONCHANNEL',
|
||||
'SSLCipherSpec' => 'NULL_SHA'
|
||||
),
|
||||
),
|
||||
'MQSCO' => array(
|
||||
'KeyRepository' => '/var/mqm/qmgrs/QUEUEMGR/ssl/key', //Local path where the SSL key repository can be found
|
||||
'MQAIR' => array(
|
||||
'Version' => 2, //MQAIR_VERSION_2
|
||||
'AuthInfoType' => 2, //MQAIT_OCSP
|
||||
'AuthInfoType' => 2, //MQAIT_OCSP
|
||||
'OCSPResponderURL' => 'http://dummy.OCSP.responder'
|
||||
)
|
||||
)
|
||||
@@ -149,24 +147,21 @@
|
||||
printf("Connx CompCode:%d Reason:%d Text:%s<br>\n", $comp_code, $reason, mqseries_strerror($reason));
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_disc</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_disc</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-disc" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-disc">
|
||||
<refnamediv>
|
||||
<refname>mqseries_disc</refname>
|
||||
<refpurpose>MQSeries MQDISC</refpurpose>
|
||||
@@ -28,35 +28,33 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -66,13 +64,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_disc</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_disc</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mqseries_disc($conn, $comp_code, $reason);
|
||||
@@ -81,22 +78,18 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-get" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-get">
|
||||
<refnamediv>
|
||||
<refname>mqseries_get</refname>
|
||||
<refpurpose>MQSeries MQGET</refpurpose>
|
||||
@@ -32,86 +32,84 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>md</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>gmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Get message options (MQGMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>bufferLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Expected length of the result buffer</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>msg</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Buffer holding the message that was retrieved from the object.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>data_length</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Actual buffer length</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>md</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>gmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Get message options (MQGMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>bufferLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Expected length of the result buffer</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>msg</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Buffer holding the message that was retrieved from the object.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>data_length</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Actual buffer length</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -121,13 +119,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_get</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_get</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// open connection to the queue manager
|
||||
@@ -146,41 +143,37 @@
|
||||
|
||||
// setup empty message descriptor.
|
||||
$mdg = array();
|
||||
// setup get message options
|
||||
// setup get message options
|
||||
$gmo = array('Options' => MQSERIES_MQGMO_FAIL_IF_QUIESCING | MQSERIES_MQGMO_WAIT, 'WaitInterval' => 3000);
|
||||
|
||||
// get the message from the queue
|
||||
// get the message from the queue
|
||||
mqseries_get($conn, $obj, $mdg, $gmo, 255, $msg, $data_length, $comp_code, $reason);
|
||||
if ($comp_code !== MQSERIES_MQCC_OK) {
|
||||
printf("GET CompCode:%d Reason:%d Text:%s<br>", $comp_code, $reason, mqseries_strerror($reason));
|
||||
}
|
||||
|
||||
// close the object reference $obj
|
||||
|
||||
// close the object reference $obj
|
||||
mqseries_close($conn, $obj, MQSERIES_MQCO_NONE, $comp_code, $reason);
|
||||
|
||||
// disconnect from the queue manager.
|
||||
// disconnect from the queue manager.
|
||||
mqseries_disc($conn, $comp_code, $reason);
|
||||
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_put</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_put</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-inq" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-inq">
|
||||
<refnamediv>
|
||||
<refname>mqseries_inq</refname>
|
||||
<refpurpose>MQSeries MQINQ</refpurpose>
|
||||
@@ -31,92 +31,90 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectorCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectors</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of attribute selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttr</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Length of character attributes buffer.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttr</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Character attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectorCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectors</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of attribute selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttr</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Length of character attributes buffer.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttr</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Character attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -126,20 +124,19 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_inq</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_inq</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$int_attr = array();
|
||||
$char_attr = "";
|
||||
|
||||
|
||||
mqseries_inq($conn, $obj, 1, array(MQSERIES_MQCA_Q_MGR_NAME), 0, $int_attr, 48, $char_attr, $comp_code, $reason);
|
||||
|
||||
|
||||
if ($comp_code !== MQSERIES_MQCC_OK) {
|
||||
printf("INQ CompCode:%d Reason:%d Text:%s<br>\n", $comp_code, $reason, mqseries_strerror($reason));
|
||||
} else {
|
||||
@@ -147,23 +144,19 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-open" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-open">
|
||||
<refnamediv>
|
||||
<refname>mqseries_open</refname>
|
||||
<refpurpose>MQSeries MQOPEN</refpurpose>
|
||||
@@ -26,60 +26,58 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>objDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object descriptor. (MQOD)</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>options</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Options that control the action of the function.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>objDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object descriptor. (MQOD)</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>options</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Options that control the action of the function.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -89,13 +87,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_open</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_open</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$mqods = array('ObjectName' => 'TESTQ');
|
||||
@@ -112,21 +109,17 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_close</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_close</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-put" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-put">
|
||||
<refnamediv>
|
||||
<refname>mqseries_put</refname>
|
||||
<refpurpose>MQSeries MQPUT</refpurpose>
|
||||
@@ -28,68 +28,66 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>md</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>pmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Put message options (MQPMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>message</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>The actual message to put onto the queue.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>md</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>pmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Put message options (MQPMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>message</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>The actual message to put onto the queue.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -99,13 +97,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_put</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_put</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// open connection to the queue manager
|
||||
@@ -134,7 +131,7 @@
|
||||
|
||||
// setup the put message options.
|
||||
$pmo = array('Options' => MQSERIES_MQPMO_NEW_MSG_ID|MQSERIES_MQPMO_SYNCPOINT);
|
||||
|
||||
|
||||
// put the message 'Ping' on the queueu.
|
||||
mqseries_put($conn, $obj, $md, $pmo, 'Ping', $comp_code, $reason);
|
||||
|
||||
@@ -142,32 +139,28 @@
|
||||
printf("put CompCode:%d Reason:%d Text:%s<br>\n", $comp_code, $reason, mqseries_strerror($reason));
|
||||
}
|
||||
|
||||
// close the object reference $obj
|
||||
// close the object reference $obj
|
||||
mqseries_close($conn, $obj, MQSERIES_MQCO_NONE, $comp_code, $reason);
|
||||
|
||||
// disconnect from the queue manager.
|
||||
// disconnect from the queue manager.
|
||||
mqseries_disc($conn, $comp_code, $reason);
|
||||
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_get</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_get</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-put1" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-put1">
|
||||
<refnamediv>
|
||||
<refname>mqseries_put1</refname>
|
||||
<refpurpose>MQSeries MQPUT1</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -32,87 +32,82 @@
|
||||
number of calls that must be issued.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>objDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object descriptor. (MQOD)</para>
|
||||
<para>
|
||||
This is a structure which identifies the queue to which the message is
|
||||
added.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>msgDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>pmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Put message options (MQPMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>objDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object descriptor. (MQOD)</para>
|
||||
<para>
|
||||
This is a structure which identifies the queue to which the message is
|
||||
added.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>msgDesc</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Message descriptor (MQMD).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>pmo</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Put message options (MQPMO).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>&return.void;</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_get</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_conn</function></member>
|
||||
<member><function>mqseries_connx</function></member>
|
||||
<member><function>mqseries_open</function></member>
|
||||
<member><function>mqseries_get</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-set"
|
||||
xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-set">
|
||||
<refnamediv>
|
||||
<refname>mqseries_set</refname>
|
||||
<refpurpose>MQSeries MQSET</refpurpose>
|
||||
@@ -31,92 +30,90 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectorCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectors</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of attribute selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrs</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Length of character attributes buffer.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrs</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Character attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hConn</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Connection handle.</para>
|
||||
<para>This handle represents the connection to the queue manager.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>hObj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Object handle.</para>
|
||||
<para>This handle represents the object to be used.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectorCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>selectors</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of attribute selectors.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrCount</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Count of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>intAttrs</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Array of integer attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrLength</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Length of character attributes buffer.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>charAttrs</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Character attributes.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>compCode</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Completion code.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -126,14 +123,11 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_inq</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>mqseries_inq</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.mqseries-strerror" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mqseries-strerror">
|
||||
<refnamediv>
|
||||
<refname>mqseries_strerror</refname>
|
||||
<refpurpose>Returns the error message corresponding to a result code (MQRC)</refpurpose>
|
||||
@@ -20,18 +20,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>reason</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Reason code qualifying the compCode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -41,13 +39,12 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_strerror</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>
|
||||
<function>mqseries_strerror</function>
|
||||
example
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if ($comp_code !== MQSERIES_MQCC_OK) {
|
||||
@@ -56,18 +53,16 @@
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Connx CompCode:2 Reason:2059 Text:Queue manager not available for connection.
|
||||
Connx CompCode:2 Reason:2059 Text:Queue manager not available for connection.
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
Reference in New Issue
Block a user