92 lines
5.1 KiB
HTML
92 lines
5.1 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="CNTFLD (Continued-Entry Field) keyword" />
|
|
<meta name="abstract" content="Use this field-level keyword to define a field as a continued entry field." />
|
|
<meta name="description" content="Use this field-level keyword to define a field as a continued entry field." />
|
|
<meta name="DC.subject" content="CNTFLD (Continued-Entry Field) keyword, Continued-Entry Field (CNTFLD) keyword, continued-entry field, DBCS consideration" />
|
|
<meta name="keywords" content="CNTFLD (Continued-Entry Field) keyword, Continued-Entry Field (CNTFLD) keyword, continued-entry field, DBCS consideration" />
|
|
<meta name="DC.Relation" scheme="URI" content="dspkwd.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="dbcscn" />
|
|
<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>CNTFLD (Continued-Entry Field) keyword</title>
|
|
</head>
|
|
<body id="dbcscn"><a name="dbcscn"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">CNTFLD (Continued-Entry Field) keyword</h1>
|
|
<div><p>Use this field-level keyword to define a field as a continued entry
|
|
field.</p>
|
|
<div class="section"><p>Continued-entry fields are sets of associated entry fields that
|
|
are treated by the workstation controller as a single field during field-data
|
|
entry and editing. If the display device is not attached to a controller that
|
|
supports an enhanced interface for nonprogrammable workstations, each segment
|
|
of the continued entry field is treated separately when editing is performed
|
|
on the field.</p>
|
|
<div class="p">The format of the keyword is: <pre>CNTFLD(width of column)</pre>
|
|
</div>
|
|
<p>One
|
|
parameter must be specified.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">DBCS considerations</h4><div class="p">DBCS data types have the following
|
|
restrictions: <dl><dt class="dlterm">J</dt>
|
|
<dd>The width of each continued-entry field segment must be an even number
|
|
of at least 4 bytes.</dd>
|
|
<dt class="dlterm">E</dt>
|
|
<dd>The width of each continued-entry field segment must be an even number
|
|
of at least 4 bytes.</dd>
|
|
<dt class="dlterm">O</dt>
|
|
<dd>The width of each continued-entry field segment must be at least 4 bytes
|
|
wide.</dd>
|
|
<dt class="dlterm">G</dt>
|
|
<dd>The width of each continued-entry field segment must be an even number
|
|
of at least 4 bytes.</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="p">Special consideration must be taken when defining the
|
|
length of the DBCS continued-entry field to account for the SO/SI character
|
|
pairs that must bracket the DBCS data on each segment of the continued-entry
|
|
field. The following total field lengths are required to ensure that
|
|
the field data fits into DBCS continued-entry fields: <dl><dt class="dlterm">J or E (with DBCS data)</dt>
|
|
<dd>Data Length + (Number of segments - 1) * 2</dd>
|
|
<dt class="dlterm">O</dt>
|
|
<dd>Data Length + (Number of segments - 1) * 3</dd>
|
|
<dt class="dlterm">G or E (with SBCS data)</dt>
|
|
<dd>Data Length</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="note"><span class="notetitle">Note:</span> The (Number of segments - 1) * 2 portion of the calculation
|
|
in the first equation allows for the SO/SI sets that must bracket the DBCS
|
|
data on the segments of the continued-entry field after the first segment.</div>
|
|
<p>The
|
|
(Number of segments - 1) * 3 portion of the calculation in the second equation
|
|
allows for the SO/SI sets that must bracket the DBCS data on the segments
|
|
of the continued-entry field after the first segment. Additional consideration
|
|
is made for the possibility that a NULL must be placed at the end of a segment
|
|
wherever a DBCS character is split.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> WRDWRAP cannot be used on DBCS
|
|
continued-entry fields.</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dspkwd.htm" title="Some DDS keywords should be avoided in DBCS data fields, and others used with caution.">Keyword considerations for display files that use DBCS</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |