ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1apenccsidconversion.htm

78 lines
5.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="CCSID conversion considerations for DB2 Universal Database for z/OS and DB2 Universal Database server for VM database managers" />
<meta name="abstract" content="One of the differences between a DB2 Universal Database for iSeries and other DB2 databases is that the iSeries system supports a larger set of CCSIDs. This can lead to errors when the other database managers attempt to perform character conversion on the data (SQLCODE 332 and SQLSTATE 57017)." />
<meta name="description" content="One of the differences between a DB2 Universal Database for iSeries and other DB2 databases is that the iSeries system supports a larger set of CCSIDs. This can lead to errors when the other database managers attempt to perform character conversion on the data (SQLCODE 332 and SQLSTATE 57017)." />
<meta name="DC.subject" content="CCSID, conversion considerations, DB2, DB2 Server for VM database managers, conversion considerations, DB2 Server for VM database managers, Coded Character Set Identifier (CCSID), DB2 considerations, DB2 UDB Server for VM considerations, CCSID (Coded Character Set Identifier)" />
<meta name="keywords" content="CCSID, conversion considerations, DB2, DB2 Server for VM database managers, conversion considerations, DB2 Server for VM database managers, Coded Character Set Identifier (CCSID), DB2 considerations, DB2 UDB Server for VM considerations, CCSID (Coded Character Set Identifier)" />
<meta name="DC.Relation" scheme="URI" content="rbal1xplat.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="rbal1apenccsidconversion" />
<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>CCSID conversion considerations for DB2 Universal Database for z/OS and DB2
Universal Database server for VM database managers</title>
</head>
<body id="rbal1apenccsidconversion"><a name="rbal1apenccsidconversion"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CCSID conversion considerations for DB2 Universal Database for z/OS and DB2
Universal Database server for VM database managers</h1>
<div><p>One of the differences between a <span class="keyword">DB2 Universal Database™ for iSeries™</span> and
other DB2<sup>®</sup> databases
is that the iSeries system
supports a larger set of CCSIDs. This can lead to errors when the other database
managers attempt to perform character conversion on the data (SQLCODE 332
and SQLSTATE 57017).</p>
<div class="section"><p>Certain fields in the <span class="keyword">DB2 UDB SQL</span> catalog
tables might be defined to have a DBCS-open data type. This is a data type
that allows both double-byte character set (DBCS) and single-byte character
set (SBCS) characters. The CCSID for these field types is based on the default
CCSID shipped with the server.</p>
</div>
<div class="section"><p>When these fields are selected from a DB2 Universal Database for z/OS<sup>®</sup> or DB2
Universal Database Server for VM application requester (AR), the SELECT
statement might fail because the DB2 Universal Database for z/OS and DB2
Universal Database Server for VM databases might not support the conversion
to this CCSID.</p>
</div>
<div class="section"><p>To avoid this error, you must change the DB2 Universal Database for z/OS database
or the DB2
Universal Database Server for VM AR to run with either one of the following
items: </p>
<ul><li>The same mixed-byte CCSID as the DBCS-OPEN fields in the <span class="keyword">iSeries</span> SQL
catalog tables.</li>
<li>A CCSID that the server allows conversion of data to when the data is
from the mixed-byte CCSID of the DBCS-OPEN fields in the <span class="keyword">iSeries</span> SQL
catalog tables. This CCSID might be a single-byte CCSID if the data in the <span class="keyword">iSeries</span> SQL catalog tables DBCS-OPEN
fields is all single-byte data.</li>
</ul>
<p>This requires some analysis of the CCSID conversions supported on
the DB2
Universal Database for z/OS or DB2 Universal Database Server
for VM so you can make the correct changes to your server. See the <cite>DB2 UDB
for z/OS Administration
Guide</cite> for specific information on how to handle this error.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1xplat.htm" title="This topic collection concentrates on describing iSeries support for distributed relational databases in a network of iSeries servers (a like environment).">User FAQs</a></div>
</div>
</div>
</body>
</html>