ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaii_5.4.0.1/rzaiiodbc53.htm

61 lines
3.7 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="concept" />
<meta name="DC.Title" content="ODBC incorrect output and unpredictable errors" />
<meta name="abstract" content="Ensure that the iSeries Access ODBC driver and the database server program are at matching code levels." />
<meta name="description" content="Ensure that the iSeries Access ODBC driver and the database server program are at matching code levels." />
<meta name="DC.Relation" scheme="URI" content="rzaiiodbc34.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiiodbc53" />
<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>ODBC incorrect output and unpredictable errors</title>
</head>
<body id="rzaiiodbc53"><a name="rzaiiodbc53"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ODBC incorrect output and unpredictable errors</h1>
<div><p>Ensure that the iSeries™ Access ODBC driver and the database server
program are at matching code levels.</p>
<p>Check for PTF corequisite requirements on any PTF that you order or in
the readme.txt file of the Service Pack. If problems continue, verify that
you have disabled the prefetch option in the ODBC Data Source. The prefetch
option should not be used if the application uses either the SQLExtendedFetch
or SQLFetchScroll ODBC API, or if you are not sure.</p>
<p>Note that <var class="varname">result set cursors</var> from stored procedures
are forward only, read only.</p>
<div class="p"><div class="note"><span class="notetitle">Note:</span> Binary or hexadecimal data instead of ASCII characters<p>The
default value of the Translation parameter is set to not convert binary data
(CCSID 65535) to text. A CCSID is attached to files, tables, and even fields
(columns) to identify the conversion table that is used to convert the data.
A CCSID of 65535 often identifies raw data (binary or hexadecimal), such as
bitmapped graphics, that is language independent. Not selecting <var class="varname">Convert
binary data (CCSID 65535) to text</var> ensures that the raw data is not
damaged.</p>
<p>Setting the Translation parameter to <var class="varname">Convert binary
data (CCSID 65535) to text</var>, changes the CCSID that is attached to
the data to the CCSID that is attached to the job. <span class="uicontrol">This parameter
setting can cause damage to the data, if the data is truly binary.</span></p>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiiodbc34.htm" title="Find and resolve ODBC errors.">Common ODBC errors</a></div>
</div>
</div>
</body>
</html>