150 lines
8.3 KiB
HTML
150 lines
8.3 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="Error messages" />
|
||
|
<meta name="abstract" content="When an error occurs, the ODBC Driver in iSeries Access for Linux returns the SQLSTATE (an ODBC error code) and an error message. The driver obtains this information both from errors that are detected by the driver and from errors that are returned by the iSeries server." />
|
||
|
<meta name="description" content="When an error occurs, the ODBC Driver in iSeries Access for Linux returns the SQLSTATE (an ODBC error code) and an error message. The driver obtains this information both from errors that are detected by the driver and from errors that are returned by the iSeries server." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzatvtrblodbc.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="odbcerr" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Error messages</title>
|
||
|
</head>
|
||
|
<body id="odbcerr"><a name="odbcerr"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Error messages</h1>
|
||
|
<div><p>When an error occurs, the ODBC Driver in iSeries™ Access for Linux<sup>®</sup> returns
|
||
|
the SQLSTATE (an ODBC error code) and an error message. The driver obtains
|
||
|
this information both from errors that are detected by the driver and from
|
||
|
errors that are returned by the iSeries server.</p>
|
||
|
<div class="section"><p>For errors that occur in the data source, the ODBC Driver in iSeries Access
|
||
|
for Linux maps
|
||
|
the returned native error to the appropriate SQLSTATE. When both the driver
|
||
|
and the driver manager detect an error, they generate the appropriate SQLSTATE.
|
||
|
The ODBC Driver in iSeries Access for Linux returns an error message based on
|
||
|
the message returned by the iSeries server. </p>
|
||
|
</div>
|
||
|
<div class="section"><p>For errors that are detected within the ODBC Driver, the driver
|
||
|
returns an error message based on the text associated with the SQLSTATE. These
|
||
|
error messages are translated messages. Error message files and the help text
|
||
|
for error messages found in the underlying components of the iSeries Access
|
||
|
product are shipped in the /opt/ibm/iSeriesAccess/doc directory.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Error message format</h4><p>Error messages have the following
|
||
|
format: </p>
|
||
|
<pre>[vendor][ODBC-component][data-source]
|
||
|
|
||
|
error-message</pre>
|
||
|
</div>
|
||
|
<div class="section"><p>The prefixes in brackets ([ ]) identify the source of the error.
|
||
|
When the error occurs in the data source, the [vendor] and [ODBC-component]
|
||
|
prefixes identify the vendor and name of the ODBC component that received
|
||
|
the error from the data source. The following table shows the values of these
|
||
|
prefixes returned by iSeries ODBC Driver for Linux:</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" id="d0e68">Error Source</th>
|
||
|
<th colspan="2" valign="top" id="d0e70">Value</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e68 ">Driver Manager</td>
|
||
|
<td colspan="2" valign="top" headers="d0e70 ">[unixODBC] [Driver Manager]</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e68 ">ODBC Driver in iSeries Access for Linux</td>
|
||
|
<td colspan="2" valign="top" headers="d0e70 ">unixODBC] [IBM] [iSeries Access ODBC
|
||
|
Driver]</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e68 ">NLS messages</td>
|
||
|
<td colspan="2" valign="top" headers="d0e70 ">[unixODBC] [IBM] [iSeries Access ODBC
|
||
|
Driver] Column #: NLS error message number NLS error message text
|
||
|
<p>See the message prefix table below to find second level help text.</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e68 ">Communication and Security</td>
|
||
|
<td colspan="2" valign="top" headers="d0e70 ">unixODBC] [IBM] [iSeries Access ODBC
|
||
|
Driver] Communications link failure. comm rc=xxxx - (message text) <p>xxxx
|
||
|
is the error number in decimal, not hexadecimal, format. Message text describing
|
||
|
the nature of your error appears with the error number. See the message prefix
|
||
|
table below to find second level help text.</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td rowspan="4" valign="top" headers="d0e68 ">DB2<sup>®</sup> UDB for iSeries</td>
|
||
|
<td colspan="2" valign="top" headers="d0e70 ">[unixODBC] [IBM] [iSeries Access ODBC
|
||
|
Driver] [DB2 UDB] Server error message <p>To view error message text
|
||
|
for DB2 UDB
|
||
|
for iSeries errors:</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e70 "><strong>For errors that begin with:</strong></td>
|
||
|
<td valign="top" headers="d0e70 "><strong>Use this OS/400<sup>®</sup> command</strong></td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e70 ">SQL</td>
|
||
|
<td valign="top" headers="d0e70 ">DSPMSGD RANGE(SQLxxxx) MSGF(QSQLMSG)</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e70 ">IWS or PWS</td>
|
||
|
<td valign="top" headers="d0e70 ">DSPMSGD RANGE(ZZZxxxx) MSGF(QIWS/QIWSMSG) ZZZ is either
|
||
|
IWS or PWS</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="section"><p>For other prefixes that may be seen through the ODBC Driver in iSeries Access
|
||
|
for Linux,
|
||
|
see the following table: </p>
|
||
|
</div>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="24.054982817869416%" id="d0e155">Message Prefix</th>
|
||
|
<th valign="top" width="23.711340206185564%" id="d0e157">Message File</th>
|
||
|
<th valign="top" width="52.23367697594502%" id="d0e159">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWB####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwber.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">Base error messages</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWBCO####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwbcoer.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">Communication error messages</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWBNL####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwbnler.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">Conversion error messages</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWBSY####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwbsyer.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">Security error messages</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWBRC####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwbrcer.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">Remote Command error messages</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="24.054982817869416%" headers="d0e155 ">CWBLM####</td>
|
||
|
<td valign="top" width="23.711340206185564%" headers="d0e157 ">cwblmer.html</td>
|
||
|
<td valign="top" width="52.23367697594502%" headers="d0e159 ">License error messages</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzatvtrblodbc.htm" title="Use this information to help you understand, isolate, and resolve problems with ODBC.">Troubleshoot ODBC</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|