105 lines
5.5 KiB
HTML
105 lines
5.5 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="WRDWRAP (Word Wrap) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this file-, record-, or field-level keyword for named fields that are defined such that they overflow onto subsequent display lines or for continued-entry fields." />
|
||
|
<meta name="description" content="Use this file-, record-, or field-level keyword for named fields that are defined such that they overflow onto subsequent display lines or for continued-entry fields." />
|
||
|
<meta name="DC.subject" content="word, wrap, WRDWRAP (Word Wrap) keyword, Word Wrap (WRDWRAP) keyword" />
|
||
|
<meta name="keywords" content="word, wrap, WRDWRAP (Word Wrap) keyword, Word Wrap (WRDWRAP) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../books/sc415715.pdf" />
|
||
|
<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="rzakcmstwrdwra" />
|
||
|
<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>WRDWRAP (Word Wrap) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstwrdwra"><a name="rzakcmstwrdwra"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">WRDWRAP (Word Wrap) keyword for display files</h1>
|
||
|
<div><p>Use this file-, record-, or field-level keyword for named fields
|
||
|
that are defined such that they overflow onto subsequent display lines or
|
||
|
for continued-entry fields.</p>
|
||
|
<div class="section"><p>The keyword causes wrapping to occur at a blank in the data rather
|
||
|
than at the end of the data line. It is used to make long text fields easier
|
||
|
to read. The default is for data to be wrapped at the end of the physical
|
||
|
line or continued-entry field segment.</p>
|
||
|
<p>This keyword can only be specified
|
||
|
on fields that have a usage of input-only (I) or input/output (B).</p>
|
||
|
<p>This
|
||
|
keyword has no parameters.</p>
|
||
|
<div class="p">You cannot specify the WRDWRAP keyword on
|
||
|
the following keyboard shifts: <ul><li>Signed Numeric (S)</li>
|
||
|
<li>Numeric Only (Y)</li>
|
||
|
<li>Digits Only (D)</li>
|
||
|
<li>Numeric Only Character (M)</li>
|
||
|
<li>Floating Point (F)</li>
|
||
|
<li>DBCS Only (J)</li>
|
||
|
<li>DBCS Open (O)</li>
|
||
|
<li>DBCS Either (E)</li>
|
||
|
<li>Graphic (G)</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="p">WRDWRAP cannot be specified with the following keywords: <ul><li>AUTO(RAZ, RAB)</li>
|
||
|
<li>CHECK(MF, M10F, M11F, RB, RZ, RL, RLTB)</li>
|
||
|
<li>CHGINPDFT(MF)</li>
|
||
|
<li>DSPATR(OID, SP)</li>
|
||
|
<li>DUP</li>
|
||
|
<li>FLTFIXDEC</li>
|
||
|
<li>IGCALTTYP</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>Option indicators are not valid for this keyword.</p>
|
||
|
<div class="p">When WRDWRAP
|
||
|
is used, the field length is not increased. Therefore, if too much data is
|
||
|
entered the word wrapping effect will be turned off. <div class="note"><span class="notetitle">Notes:</span> <ol><li>WRDWRAP is ignored on displays that are not attached to a controller that
|
||
|
supports an enhanced interface for nonprogrammable workstations.</li>
|
||
|
<li>WRDWRAP can be specified on a field that is contained on a single row.
|
||
|
Although wrapping will not occur, the character insert function of the field
|
||
|
will still change.</li>
|
||
|
<li>Subfiles do not support WRDWRAP.</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the WRDWRAP keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
A R RECORD1
|
||
|
A FIELD1 100A O 1 17
|
||
|
A FIELD2 100A I 4 17WRDWRAP
|
||
|
A FIELD3 100A B 7 17WRDWRAP
|
||
|
A FIELD4 100A B 10 17
|
||
|
A FIELD5 100A O 13 17
|
||
|
A</pre>
|
||
|
<p>In this example, RECORD1 is defined with input, output,
|
||
|
and both fields. FIELD2 and FIELD3 will have the benefit of word wrap when
|
||
|
the display is attached to a controller that supports an enhanced interface
|
||
|
for nonprogrammable workstation. FIELD4 will not have the benefits of word
|
||
|
wrap.</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 class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../books/sc415715.pdf" target="_blank">Application Display Programming PDF</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|