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

104 lines
5.9 KiB
HTML
Raw Permalink 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="CNTFLD (Continued-Entry Field) keyword for display files" />
<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, creating" />
<meta name="keywords" content="CNTFLD (Continued-Entry Field) keyword, Continued-Entry Field (CNTFLD) keyword, continued-entry field, creating" />
<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="rzakcmstcntfld" />
<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 for display files</title>
</head>
<body id="rzakcmstcntfld"><a name="rzakcmstcntfld"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CNTFLD (Continued-Entry Field) keyword for display files</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>
<p><a href="#rzakcmstcntfld__rec">Figure 1</a> illustrates the
use of continued fields to create a rectangular text entry field.</p>
</div>
<div class="example"> <div class="fignone" id="rzakcmstcntfld__rec"><a name="rzakcmstcntfld__rec"><!-- --></a><span class="figcap">Figure 1. Continued-Entry field in rectangular arrangement</span><pre>Enter Text . . . ________________________________________
________________________________________
________________________________________
________________________________________
________________________________________</pre>
</div>
</div>
<div class="section"><p>The text input format is more appealing to the user than a single
input field that wraps across multiple display lines. Even though the last
line does not occupy the full width of the column, no other field is allowed
in the rectangle. A continued-entry field allows a multiple-row entry field
to be defined inside a window.</p>
<p>The format of the keyword is:</p>
<pre>CNTFLD(width of column)</pre>
<p>One
parameter must be specified.</p>
<p>The width of the column parameter specifies
the number of columns to be used for this continued field. This value must
fit within the width of the display or window. This value must be less than
the length of the field.</p>
<p>The field containing the CNTFLD keyword must
be defined as an input-capable field with the data type A. It cannot be defined
in a subfile.</p>
<p>The following keywords cannot be specified on a field
with the CNTFLD keyword:</p>
<ul><li>AUTO (RAB, RAZ)</li>
<li>CHECK(AB, MF, RB, RZ, RLTB)</li>
<li>CHOICE</li>
<li>DSPATR(OID SP)</li>
<li>EDTMSK</li>
</ul>
<p>The CNTFLD keyword must be defined with at least 2 spaces separating
it from other fields.</p>
<p>Option indicators are not valid for this keyword.</p>
<p>The
CNTFLD keyword reduces the number of available input fields by the total number
of segments that are used to compose that particular field. For example, a
60-character input field CNTFLD(10) keyword is displayed with 6 lines of 10
characters. Each line or segment is counted as an input-capable field by the
controller. Thus, this field reduces the available input field count by 6.</p>
<p>See
the DBCS-specific <a href="dbcscn.htm">CNTFLD (Continued-Entry Field) keyword</a> topic for information about
using this keyword with DBCS data.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the CNTFLD keyword:</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD
00020A F1 90A B 3 4CNTFLD(30)</pre>
<p>In this
example, a multiple-row entry field is defined. The entry field contains 3
lines and is 30 columns wide.</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>