ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstdfchrid.htm

79 lines
4.9 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="CHRID (Character Identifier) keyword for display files" />
<meta name="abstract" content="Use this field-level keyword to specify that a named field be translated if the CHRID parameter value for the display file differs from the CHRID parameter value for the workstation." />
<meta name="description" content="Use this field-level keyword to specify that a named field be translated if the CHRID parameter value for the display file differs from the CHRID parameter value for the workstation." />
<meta name="DC.subject" content="CHRID (Character Identifier) keyword, Character Identifier (CHRID) keyword" />
<meta name="keywords" content="CHRID (Character Identifier) keyword, Character Identifier (CHRID) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakcmstdfchrid" />
<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>CHRID (Character Identifier) keyword for display files</title>
</head>
<body id="rzakcmstdfchrid"><a name="rzakcmstdfchrid"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CHRID (Character Identifier) keyword for display files</h1>
<div><p>Use this field-level keyword to specify that a named field be translated
if the CHRID parameter value for the display file differs from the CHRID parameter
value for the workstation.</p>
<div class="section"><p>This can be important when extended alphabetics (characters such
as u with an umlaut or c with a cedilla) are to be displayed or typed in.</p>
<p>This
keyword has no parameters.</p>
<p>If the CHRID keyword is not specified for
a field and the CHRID value for the display file is not *JOBCCSID, data displayed
in that field is displayed in the character set of the device used to type
the data. How the data is displayed cannot be predicted and depends on how
code points used in the original code page map to the code page used on the
device.</p>
<p>The CHRID keyword is not valid on constant fields, numeric fields
(fields with decimal positions specified in positions 36 through 37), message
fields (M specified in position 38), hidden fields (H specified in position
38), or program-to-system fields (P in Position 38).</p>
<p>The CHRID keyword
is ignored if the CHRID value for the display file is *JOBCCSID.</p>
<p>The
CHRID keyword cannot be specified with the DUP (Duplication) keyword.</p>
<p>If
you specify the CHRID keyword with the DFT keyword on a field, the initial
(default) value of the field is not translated, but data entered into that
field is translated.</p>
<p>Option indicators are not valid for this keyword,
although option indicators can be used to condition the field for which it
is specified.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the CHRID keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD1
00020A TITLE 40 1 20CHRID
A</pre>
<p>The field TITLE is a named field. With the CHRID keyword
specified, character translation can occur on both output and input, depending
on the conditions described in the <a href="../books/sc415715.pdf" target="_blank">Application Display Programming book</a><img src="wbpdf.gif" alt="Link to PDF" />.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>