ibm-information-center/dist/eclipse/plugins/i5OS.ic.sqlp_5.4.0.1/rbafyccsidpackage.htm

70 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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 considerations for SQL" />
<meta name="abstract" content="If you are running a distributed application and one of your systems is not an iSeries system, the job CCSID value on the iSeries server cannot be set to 65535." />
<meta name="description" content="If you are running a distributed application and one of your systems is not an iSeries system, the job CCSID value on the iSeries server cannot be set to 65535." />
<meta name="DC.subject" content="CCSID, package considerations, delimited identifier effect, package, CCSID considerations for, connection to non-, UDB for, DB2, iSeries" />
<meta name="keywords" content="CCSID, package considerations, delimited identifier effect, package, CCSID considerations for, connection to non-, UDB for, DB2, iSeries" />
<meta name="DC.Relation" scheme="URI" content="rbafydrda.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="rbafyccsidpackage" />
<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 considerations for SQL</title>
</head>
<body id="rbafyccsidpackage"><a name="rbafyccsidpackage"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CCSID considerations for SQL</h1>
<div><p>If you are running a distributed application and one of your systems
is not an <span class="keyword">iSeries™</span> system, the
job CCSID value on the <span class="keyword">iSeries</span> server
cannot be set to 65535.</p>
<div class="section"><p>Before requesting that the remote system create an SQL package,
the application requester always converts the name specified on the RDB parameter,
SQL package name, library name, and the text of the SQL package from the CCSID
of the job to CCSID 500. This is required by DRDA<sup>®</sup>. When the remote relational database
is an <span class="keyword">iSeries</span> system, the names
are not converted from CCSID 500 to the job CCSID.</p>
</div>
<div class="section"><p>It is recommended that delimited identifiers not be used for table,
view, index, schema, library, or SQL package names. Conversion of names does
not occur between systems with different CCSIDs. Consider the following example
with system A running with a CCSID of 37 and system B running with a CCSID
of 500. </p>
</div>
<div class="section"> <ul><li>Create a program that creates a table with the name "a¬b|c" on system
A.</li>
<li>Save program "a¬b|c" on system A, then restore it to system B.</li>
<li>The code point for ¬ in CCSID 37 is x'5F' while in CCSID 500 it is x'BA'. </li>
<li>On system B the name displays "a[b]c". If you created a program that referenced
the table whose name was "a¬b|c.", the program will not find the table.</li>
</ul>
</div>
<div class="section"><p>The at sign (@), pound sign (#), and dollar sign ($) characters
should not be used in SQL object names. Their code points depend on the CCSID
used. If you use delimited names or the three national extenders, the name
resolution functions may possibly fail in a future release.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafydrda.htm" title="A distributed relational database consists of a set of SQL objects that are spread across interconnected computer systems.">Distributed relational database function and SQL</a></div>
</div>
</div>
</body>
</html>