74 lines
4.6 KiB
HTML
74 lines
4.6 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="concept" />
|
||
|
<meta name="DC.Title" content="Display length" />
|
||
|
<meta name="abstract" content="The display length is increased for certain types of fields and must be considered when laying out the display." />
|
||
|
<meta name="description" content="The display length is increased for certain types of fields and must be considered when laying out the display." />
|
||
|
<meta name="DC.subject" content="field specification, incorrect" />
|
||
|
<meta name="keywords" content="field specification, incorrect" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="pos3944.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="rzakcdisplength" />
|
||
|
<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>Display length</title>
|
||
|
</head>
|
||
|
<body id="rzakcdisplength"><a name="rzakcdisplength"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Display length</h1>
|
||
|
<div><p>The display length is increased for certain types of fields and
|
||
|
must be considered when laying out the display.</p>
|
||
|
<div class="p">The display length is increased by the <span class="keyword">i5/OS™</span> operating
|
||
|
system in the following situations: <ul><li>For numeric-only fields with editing, the display length is determined
|
||
|
from the edit word or the program length and the edit code.</li>
|
||
|
<li>For input-capable signed numeric fields, the display length is one more
|
||
|
than the program length.</li>
|
||
|
<li>The display length is one more than the program length for numeric shift
|
||
|
fields and for numeric-only fields without editing when these fields are input-capable
|
||
|
and have decimal positions greater than zero.</li>
|
||
|
<li>The display length for floating-point fields is 7 more than the length
|
||
|
specified in positions 30 through 34. The 7 extra positions are for the significand
|
||
|
sign, the decimal point or comma, the exponent character, the exponent sign,
|
||
|
and the 3 exponent digits.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>For an unsigned numeric field (like FIELD4 in Figure 1) with a nonzero
|
||
|
decimal position, the system requires a decimal character to be typed into
|
||
|
the field when decimal values are typed in as data. In Figure 2, 123 in FIELD4
|
||
|
does not require a decimal character, but 1234 does (123.4). For this field,
|
||
|
the display length is 6.</p>
|
||
|
<div class="fignone" id="rzakcdisplength__nondisp"><a name="rzakcdisplength__nondisp"><!-- --></a><span class="figcap">Figure 1. Incorrect field specification</span><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A FIELD1 10 1 5TEXT('ONE')
|
||
|
00020A 21 FIELD2 5 1 5TEXT('TWO')
|
||
|
00030A 12 FIELD3 2 0 1 5TEXT('THREE')
|
||
|
00040A FIELD4 5Y 2I 1 5TEXT('FOUR')
|
||
|
A</pre>
|
||
|
</div>
|
||
|
<div class="fignone" id="rzakcdisplength__overlap"><a name="rzakcdisplength__overlap"><!-- --></a><span class="figcap">Figure 2. Specify overlapping fields</span><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A 01 FIELD1 10 1 5TEXT('ONE')
|
||
|
00020A 02 FIELD2 5 1 5TEXT('TWO')
|
||
|
00030A FIELD3 2 0 1 5TEXT('THREE')
|
||
|
A</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="pos3944.htm" title="Use these positions to specify the exact location on the display where each field begins.">Location for display files (positions 39 through 44)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|