ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagsjobdefaultccsid.htm

90 lines
6.0 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="task" />
<meta name="DC.Title" content="Job default coded character set identifier" />
<meta name="abstract" content="A job attribute, job default CCSID (DFTCCSID), is created for jobs with a CCSID of 65535. The DFTCCSID value is used by a system code when a CCSID other than 65535 is needed." />
<meta name="description" content="A job attribute, job default CCSID (DFTCCSID), is created for jobs with a CCSID of 65535. The DFTCCSID value is used by a system code when a CCSID other than 65535 is needed." />
<meta name="DC.Relation" scheme="URI" content="rbagslingandcultjobattrib.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsdataman.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsgraphcharcontbls.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagslngidsdefaultccsids.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="rbagsjobdefaultccsid" />
<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>Job default coded character set identifier</title>
</head>
<body id="rbagsjobdefaultccsid"><a name="rbagsjobdefaultccsid"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Job default coded character set identifier</h1>
<div><p>A job attribute, job default CCSID (DFTCCSID), is created for jobs
with a CCSID of 65535. The DFTCCSID value is used by a system code when a
CCSID other than 65535 is needed.</p>
<div class="section"><p>The DFTCCSID attribute can only be retrieved or displayed. The
value of this attribute is determined as follows:</p>
<ul><li>If the job CCSID is not 65535, the DFTCCSID equals the job CCSID.</li>
<li>If the job CCSID is 65535, the DFTCCSID value is based on an appropriate
value derived from the job language identifier (LANGID).</li>
</ul>
<p>When the job is running, the system determines the default
CCSID for a job using the following logic (you can find the corresponding
CCSID for LANGID in default CCSID table):</p>
</div>
<ol><li><span>If the job CCSID is set to a value, it uses that value.</span></li>
<li><span>If the job CCSID is set to *USRPRF, then the system checks the
user profile for the value.</span></li>
<li><span>If the user profile is set to a value, it uses that value.</span></li>
<li><span>If the user profile is set to *SYSVAL, the system checks the system
value.</span></li>
<li><span>If the system value for QCCSID is set to a value, it uses that
value.</span></li>
<li><span>If the system value is set to 65535, the system checks the job's
language ID.</span></li>
<li><span>If the job's LANGID is set to a value, the QTQ_DEFAULT_CCSID environment
variable is checked for that LANGID value. If the QTQ_DEFAULT_CCSID environment
variable contains a value for that LANGID, the CCSID specified in the QTQ_DEFAULT_CCSID
environment variable is used. If the QTQ_DEFAULT_CCSID environment variable
does not contain a value for the LANGID, the system converts that LANGID to
a CCSID.</span></li>
<li><span>If the job's LANGID is set to *USRPRF, the system checks the user
profile's language ID.</span></li>
<li><span>If the user profile's LANGID is set to a value, the QTQ_DEFAULT_CCSID
environment variable is checked for that LANGID value. If the QTQ_DEFAULT_CCSID
environment variable contains a value for that LANGID, the CCSID specified
in the QTQ_DEFAULT_CCSID environment variable is used. If the QTQ_DEFAULT_CCSID
environment variable does not contain a value for the LANGID, the system converts
that LANGID to a CCSID.</span></li>
<li><span>If the user profile's LANGID is set to *SYSVAL, the QTQ_DEFAULT_CCSID
environment variable is checked for that LANGID value. If the QTQ_DEFAULT_CCSID
environment variable contains a value for that LANGID, the CCSID specified
in the QTQ_DEFAULT_CCSID environment variable is used. If the QTQ_DEFAULT_CCSID
environment variable does not contain a value for the LANGID, the system converts
that LANGID to a CCSID.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagslingandcultjobattrib.htm" title="Job attributes are set at the time a job starts.">Job attributes</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbagsdataman.htm" title="Database management support provides default coded character set identifier (CCSID) values for database files on the server. All database files are assigned a CCSID. At file creation time, the CCSID is either explicitly assigned through DDS, SQL, or IDDU, or it is implicitly assigned the job default CCSID (DFTCCSID).">Database management</a></div>
<div><a href="rbagsgraphcharcontbls.htm">Graphic character conversion tables</a></div>
<div><a href="rbagslngidsdefaultccsids.htm" title="This table shows the language identifiers and the job default CCSID (DFTCCSID) values associated with those identifiers.">Language identifiers and associated default CCSIDs</a></div>
</div>
</div>
</body>
</html>