reference/ibm_db2/functions/db2-pconnect.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -11,11 +11,11 @@
11
11
<refsect1 role="description">
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
-
<type>resource</type><methodname>db2_pconnect</methodname>
14
+
<type class="union"><type>resource</type><type>false</type></type><methodname>db2_pconnect</methodname>
15
15
<methodparam><type>string</type><parameter>database</parameter></methodparam>
16
-
<methodparam><type>string</type><parameter>username</parameter></methodparam>
17
-
<methodparam><type>string</type><parameter>password</parameter></methodparam>
18
-
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
16
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>username</parameter></methodparam>
17
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter></methodparam>
18
+
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
19
19
</methodsynopsis>
20
20

21
21

...
...
@@ -26,7 +26,7 @@
26
26

27
27
<para>
28
28
For more information on persistent
29
-
connections, refer to <xref linkend='features.persistent-connections' />.
29
+
connections, refer to <xref linkend="features.persistent-connections"/>.
30
30
</para>
31
31

32
32
<para>
...
...
@@ -84,11 +84,11 @@
84
84
<term><parameter>autocommit</parameter></term>
85
85
<listitem>
86
86
<para>
87
-
Passing the <literal>DB2_AUTOCOMMIT_ON</literal> value turns
87
+
Passing the <constant>DB2_AUTOCOMMIT_ON</constant> value turns
88
88
autocommit on for this connection handle.
89
89
</para>
90
90
<para>
91
-
Passing the <literal>DB2_AUTOCOMMIT_OFF</literal> value turns
91
+
Passing the <constant>DB2_AUTOCOMMIT_OFF</constant> value turns
92
92
autocommit off for this connection handle.
93
93
</para>
94
94
</listitem>
...
...
@@ -97,15 +97,15 @@
97
97
<term><parameter>DB2_ATTR_CASE</parameter></term>
98
98
<listitem>
99
99
<para>
100
-
Passing the <literal>DB2_CASE_NATURAL</literal> value specifies
100
+
Passing the <constant>DB2_CASE_NATURAL</constant> value specifies
101
101
that column names are returned in natural case.
102
102
</para>
103
103
<para>
104
-
Passing the <literal>DB2_CASE_LOWER</literal> value specifies
104
+
Passing the <constant>DB2_CASE_LOWER</constant> value specifies
105
105
that column names are returned in lower case.
106
106
</para>
107
107
<para>
108
-
Passing the <literal>DB2_CASE_UPPER</literal> value specifies
108
+
Passing the <constant>DB2_CASE_UPPER</constant> value specifies
109
109
that column names are returned in upper case.
110
110
</para>
111
111
</listitem>
...
...
@@ -114,12 +114,12 @@
114
114
<term><parameter>CURSOR</parameter></term>
115
115
<listitem>
116
116
<para>
117
-
Passing the <literal>DB2_FORWARD_ONLY</literal> value specifies a
117
+
Passing the <constant>DB2_FORWARD_ONLY</constant> value specifies a
118
118
forward-only cursor for a statement resource. This is the default
119
119
cursor type and is supported on all database servers.
120
120
</para>
121
121
<para>
122
-
Passing the <literal>DB2_SCROLLABLE</literal> value specifies a
122
+
Passing the <constant>DB2_SCROLLABLE</constant> value specifies a
123
123
scrollable cursor for a statement resource. This mode enables
124
124
random access to rows in a result set, but currently is supported
125
125
only by IBM DB2 Universal Database.
...
...
@@ -407,7 +407,7 @@ db2set DB2COMM=TCPIP</literallayout>
407
407
<para>
408
408
A character value that indicates the library list that will be used for
409
409
resolving unqualified file references. Specify the library list
410
-
elements separated by blanks 'i5_libl'=>"MYLIB YOURLIB ANYLIB".
410
+
elements separated by blanks 'i5_libl'=&gt;"MYLIB YOURLIB ANYLIB".
411
411
<note>
412
412
<para>
413
413
i5_libl calls qsys2/qcmdexc('cmd',cmdlen), which is only available
...
...
@@ -610,7 +610,6 @@ User has been switched.
610
610

611
611

612
612
</refentry>
613
-

614
613
<!-- Keep this comment at the end of the file
615
614
Local variables:
616
615
mode: sgml
617
616