112 lines
6.2 KiB
HTML
112 lines
6.2 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="iSeries system value QCCSID" />
|
||
|
<meta name="abstract" content="The iSeries server is shipped with a QCCSID system value set to 65535." />
|
||
|
<meta name="description" content="The iSeries server is shipped with a QCCSID system value set to 65535." />
|
||
|
<meta name="DC.subject" content="QCCSID value, iSeries, system value, QCCSID" />
|
||
|
<meta name="keywords" content="QCCSID value, iSeries, system value, QCCSID" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1xplat.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgjob.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgsysval.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../nls/rbagsglobalmain.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="rbal1apendixqccsid" />
|
||
|
<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>iSeries system
|
||
|
value QCCSID</title>
|
||
|
</head>
|
||
|
<body id="rbal1apendixqccsid"><a name="rbal1apendixqccsid"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">iSeries system
|
||
|
value QCCSID</h1>
|
||
|
<div><p>The <span class="keyword">iSeries™ server</span> is
|
||
|
shipped with a QCCSID system value set to 65535.</p>
|
||
|
<div class="section"><p>Data tagged with this CCSID is not to be converted by the receiving
|
||
|
server. You might not be able to connect to an unlike server when your <span class="keyword">iSeries server</span> application requester (AR)
|
||
|
is using this CCSID. Also, you might not be able to use source files that
|
||
|
are tagged with this CCSID to create applications on unlike servers.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>The CCSID used at connection time is determined by the job CCSID.
|
||
|
When a job begins, its CCSID is determined by the user profile the job is
|
||
|
running under. The user profile can, and as a default does, use the system
|
||
|
value QCCSID.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>If you are connecting to a server that does not support the server
|
||
|
default CCSID, you need to change your job CCSID. You can change the job CCSID
|
||
|
by using the <span class="cmdname">Change Job (CHGJOB)</span> command. However, this
|
||
|
solution is only for the job you are currently working with. The next time
|
||
|
you will have to change the job CCSID again.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>A more permanent solution is to change the CCSID designated by
|
||
|
the user profiles used in the distributed relational database. When you change
|
||
|
the user profiles, you affect only those users that need to have their data
|
||
|
converted. If you are working with a <span class="keyword">DB2 Universal Database™ for iSeries</span> application
|
||
|
server (AS), you need to change the user profile that the AS uses.</p>
|
||
|
</div>
|
||
|
<div class="section"><p id="rbal1apendixqccsid__changeccsid"><a name="rbal1apendixqccsid__changeccsid"><!-- --></a>If an unlike application requester connects to
|
||
|
a DB2<sup>®</sup> UDB
|
||
|
for iSeries application
|
||
|
server using job CCSID 65535, the job will be switched to use the job default
|
||
|
CCSID. The job default CCSID is determined by the job's language identifier
|
||
|
(LANGID). For better performance, the job's CCSID should be switched to a
|
||
|
value other than 65535 in this case. For example, the CCSID value can be changed
|
||
|
to the value of the user profile under which the server jobs are run.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>The default CCSID value in a user profile is *SYSVAL. This references
|
||
|
the QCCSID system value. You can change the QCCSID system value
|
||
|
that is used by all user profiles with the <span class="cmdname">Change System Value (CHGSYSVAL)</span> command.
|
||
|
If you do this, you would want to select a CCSID that represents most (if
|
||
|
not all) of the users on your server. </p>
|
||
|
</div>
|
||
|
<div class="section"><p>If you suspect that you are working with a server that does not
|
||
|
support a CCSID used by your job or your server, look for the following indicators
|
||
|
in a job log, SQLCA or SQL diagnostic area: </p>
|
||
|
<dl><dt class="dlterm">Message</dt>
|
||
|
<dd>SQ30073</dd>
|
||
|
<dt class="dlterm">SQLCODE or DB2_RETURNED_SQLCODE</dt>
|
||
|
<dd>-30073</dd>
|
||
|
<dt class="dlterm">SQLSTATE</dt>
|
||
|
<dd>58017</dd>
|
||
|
<dt class="dlterm">Text</dt>
|
||
|
<dd>Distributed Data Management (DDM) parameter X'0035' not supported.</dd>
|
||
|
<dt class="dlterm">Message</dt>
|
||
|
<dd>SQL0332</dd>
|
||
|
<dt class="dlterm">SQLCODE or DB2_RETURNED_SQLCODE</dt>
|
||
|
<dd>-332</dd>
|
||
|
<dt class="dlterm">SQLSTATE</dt>
|
||
|
<dd>57017</dd>
|
||
|
<dt class="dlterm">Text</dt>
|
||
|
<dd>Total conversion between CCSID &1 and CCSID &2 not valid.</dd>
|
||
|
</dl>
|
||
|
</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 class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="../nls/rbagsglobalmain.htm">i5/OS globalization</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="../cl/chgjob.htm">Change Job (CHGJOB) command</a></div>
|
||
|
<div><a href="../cl/chgsysval.htm">Change System Value (CHGSYSVAL) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|