2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2009-07-11 07:28:18 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.ifx-error" xmlns="http://docbook.org/ns/docbook">
|
2007-02-03 03:10:46 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>ifx_error</refname>
|
|
|
|
<refpurpose>Returns error code of last Informix call</refpurpose>
|
|
|
|
</refnamediv>
|
2007-02-03 03:11:12 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-02-03 03:10:46 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>ifx_error</methodname>
|
2007-02-03 03:11:12 +00:00
|
|
|
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
2007-02-03 03:10:46 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2007-02-03 03:11:12 +00:00
|
|
|
Returns in a string one character describing the general results of a
|
|
|
|
statement and both SQLSTATE and SQLCODE associated with the most recent
|
|
|
|
SQL statement executed.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>link_identifier</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The link identifier.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2007-02-03 03:10:46 +00:00
|
|
|
</para>
|
2007-02-03 03:11:12 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
2007-02-03 03:10:46 +00:00
|
|
|
<para>
|
2007-02-03 03:11:12 +00:00
|
|
|
The Informix error codes (SQLSTATE & SQLCODE) formatted as
|
|
|
|
<literal>x [SQLSTATE = aa bbb SQLCODE=cccc]</literal>.
|
2007-02-03 03:10:46 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
where x = space : no error
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
E : error
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
N : no more data
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
W : warning
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
? : undefined
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
If the "x" character is anything other than space, SQLSTATE and
|
|
|
|
SQLCODE describe the error in more detail.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
See the Informix manual for the description of SQLSTATE and
|
|
|
|
SQLCODE
|
|
|
|
</para>
|
2007-02-03 03:11:12 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2007-02-03 03:10:46 +00:00
|
|
|
<para>
|
2007-02-03 03:11:12 +00:00
|
|
|
<simplelist>
|
|
|
|
<member><function>ifx_errormsg</function></member>
|
|
|
|
</simplelist>
|
2007-02-03 03:10:46 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-02-03 04:04:03 +00:00
|
|
|
|
2007-02-03 03:10:46 +00:00
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|