ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakd_5.4.0.1/expanseform.htm

84 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="Format the expansion of an edit word in printer files" />
<meta name="abstract" content="The characters in the expansion portion of an edit word are always written." />
<meta name="description" content="The characters in the expansion portion of an edit word are always written." />
<meta name="DC.subject" content="edit word, formatting the expansion of, formatting the expansion of an edit word" />
<meta name="keywords" content="edit word, formatting the expansion of, formatting the expansion of an edit word" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptedtwr.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstdfedwrd.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="expanseform" />
<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>Format the expansion of an edit word in printer files</title>
</head>
<body id="expanseform"><a name="expanseform"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Format the expansion of an edit word in printer files</h1>
<div><p>The characters in the expansion portion of an edit word are always
written.</p>
<div class="section"><p>The expansion cannot contain blanks. If a blank is required in
the edited output field, specify an ampersand in the body of the edit word.</p>
<div class="p">Follow
these guidelines when specifying a valid edit word: <ul><li>You cannot specify both EDTWRD and EDTCDE for the same field.</li>
<li>You must enclose the edit word in apostrophes.</li>
<li>The EDTWRD keyword is valid for numeric-only fields (S specified in position
35).</li>
<li>The sum of the blanks and stop-zero-suppression characters (digit positions)
in the edit word must equal the length of the field.</li>
<li>If the stop-zero-suppression characters is the first character in the
edit word, the sum of the blanks can equal the length of the
field or the length of the field minus one.</li>
<li>If you use the floating-currency symbol, it is not counted as a digit
position. For example, if you specify the floating-currency symbol for a field
length of 7 and 2 decimal positions, the edit word is: <pre>EDTWRD('____$0.__')</pre>
<p>where
_ represents a blank.</p>
</li>
<li>If you want to show a negative sign with a negative number, include a
sign in the edit word. Use either the minus sign (-) or the letters CR (credit)
to the right of the last digit replacement character. These print only if
the number is negative.</li>
</ul>
</div>
<p>Option indicators are not valid for this keyword.</p>
<p>The DFT
keyword cannot be specified with the EDTWRD keyword.</p>
</div>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the EDTWRD keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A CRYCST 7 2 5 2EDTWRD(' $0. ')
A</pre>
<p><a href="#expanseform__samedit">Figure 1</a> shows sample
edit words with the program value of the field and the printed value of the
field (as edited).</p>
<div class="fignone" id="expanseform__samedit"><a name="expanseform__samedit"><!-- --></a><span class="figcap">Figure 1. Sample edit words</span><br /><img src="rv2f514.gif" alt="Sample edit words" /><br /></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstptedtwr.htm" title="If you cannot accomplish the required editing by using the EDTCDE keyword, specify an edit word instead.">EDTWRD (Edit Word) keyword in printer files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzakc/rzakcmstdfedwrd.htm">EDTWRD keyword for display files</a></div>
</div>
</div>
</body>
</html>