80 lines
5.2 KiB
HTML
80 lines
5.2 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="EDTWRD (Edit Word) keyword in printer files" />
|
||
|
<meta name="abstract" content="If you cannot accomplish the required editing by using the EDTCDE keyword, specify an edit word instead." />
|
||
|
<meta name="description" content="If you cannot accomplish the required editing by using the EDTCDE keyword, specify an edit word instead." />
|
||
|
<meta name="DC.subject" content="EDTWRD (Edit Word) keyword, Edit Word (EDTWRD) keyword" />
|
||
|
<meta name="keywords" content="EDTWRD (Edit Word) keyword, Edit Word (EDTWRD) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakdmstprkey.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="editwordparts.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="bodyform.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="statusform.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="expanseform.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="rzakdmstptedtwr" />
|
||
|
<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>EDTWRD (Edit Word) keyword in printer files</title>
|
||
|
</head>
|
||
|
<body id="rzakdmstptedtwr"><a name="rzakdmstptedtwr"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">EDTWRD (Edit Word) keyword in printer files</h1>
|
||
|
<div><p>If you cannot accomplish the required editing by using the EDTCDE
|
||
|
keyword, specify an edit word instead.</p>
|
||
|
<p>An edit word specifies the form in which the field values are to print
|
||
|
and clarifies the data by inserting characters, such as decimal points, commas,
|
||
|
floating- and fixed-currency symbols, and credit balance indicators. Also
|
||
|
use it to suppress leading zeros and to provide asterisk fill protection.</p>
|
||
|
<div class="p">The format of the keyword is: <pre>EDTWRD('edit-word')</pre>
|
||
|
</div>
|
||
|
<p>If you specify EDTWRD in a field previously defined in a database file,
|
||
|
you need not specify EDTWRD for the field you are defining. Instead, specify
|
||
|
R in column 29 to refer to the previously defined field. The editing specified
|
||
|
for the referenced field is then included in the printer file.
|
||
|
If, however, you specify length, data type, or decimal positions for a printer
|
||
|
file field, editing specified for the referenced field is not included in
|
||
|
the printer file, and you must specify editing in the printer file.</p>
|
||
|
<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="#rzakdmstptedtwr__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="rzakdmstptedtwr__samedit"><a name="rzakdmstptedtwr__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>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="editwordparts.htm">Parts of an edit word in printer files</a></strong><br />
|
||
|
An edit word consists of the body, the status, and the expansion.</li>
|
||
|
<li class="ulchildlink"><strong><a href="bodyform.htm">Form the body of an edit word in printer files</a></strong><br />
|
||
|
These characters have special meanings when used in the body of an edit word.</li>
|
||
|
<li class="ulchildlink"><strong><a href="statusform.htm">Form the status of an edit word in printer files</a></strong><br />
|
||
|
These characters have special meanings when used in the status of an edit word.</li>
|
||
|
<li class="ulchildlink"><strong><a href="expanseform.htm">Format the expansion of an edit word in printer files</a></strong><br />
|
||
|
The characters in the expansion portion of an edit word are always written.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstprkey.htm" title="See the valid keyword entries for defining printer files in this topic.">Keyword entries for printer files (positions 45 through 80)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|