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

88 lines
5.0 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="Form the body of an edit word in printer files" />
<meta name="abstract" content="These characters have special meanings when used in the body of an edit word." />
<meta name="description" content="These characters have special meanings when used in the body of an edit word." />
<meta name="DC.subject" content="edit word, forming the body of, body of edit word" />
<meta name="keywords" content="edit word, forming the body of, body of edit word" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptedtwr.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="bodyform" />
<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>Form the body of an edit word in printer files</title>
</head>
<body id="bodyform"><a name="bodyform"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Form the body of an edit word in printer files</h1>
<div><p>These characters have special meanings when used in the body of
an edit word.</p>
<div class="section"> <dl><dt class="dlterm">Blank</dt>
<dd>A blank is replaced with the character from the corresponding position
of the data field. A blank position is referred to as a digit position.</dd>
<dt class="dlterm">Ampersand</dt>
<dd>An ampersand causes a blank in the edited field. The ampersand is not
printed.</dd>
<dt class="dlterm">Zero</dt>
<dd>To stop zero suppression, place a zero in the farthest-right
position where it is to stop. The zero is then replaced with the character
from the corresponding position of the data field, unless that character is
a zero. Any zeros in the data that appear to the right of the stop-zero-suppression
character are printed. The stop-zero-suppression character is considered a
digit position; however, when it is the first character, it can not
represent the digit position. At least one leading zero is suppressed. Each
zero that is suppressed is replaced by a blank.</dd>
<dt class="dlterm">Asterisk</dt>
<dd>Placing an asterisk in the farthest-right position where
zero suppression is to stop, stops zero suppression and replaces the zeros
with asterisks (asterisk protection). An asterisk preceding a zero is interpreted
as representing asterisk protection. In this case, the zero prints as a constant.
Any asterisks or zeros to the right of the stop-zero-suppression character
are constants.</dd>
<dt class="dlterm">Currency symbol</dt>
<dd> <p>A currency symbol coded immediately to the left of the zero suppression
code causes the insertion of a currency symbol in the position to the left
of the first significant digit. It is called the <em>floating-currency symbol</em> when
used in this manner.</p>
<p>A currency symbol coded in the
farthest-left column of the edit word is fixed and prints in the same location
each time. When used in this manner, it is called the <em>fixed-currency symbol</em>.</p>
<p>The
currency symbol is not considered a digit-replace position. This symbol must
correspond to the system value QCURSYM.</p>
</dd>
<dt class="dlterm">Decimals and commas</dt>
<dd> <p>Decimals and commas are printed in the same relative positions in
which they are coded in the edit word unless they are to the left of the first
significant digit. In that case, they are blanked out or replaced by an asterisk.</p>
<p>All
other characters are printed if they are to the right of significant digits
in the data field. If they are to the left of the high-order significant digits
in the data, they are blanked out or replaced by asterisks if asterisk protection
is being used.</p>
</dd>
</dl>
</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>
</body>
</html>