Field Blanking Modifiers; Fill Character Modifier - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Clauses
AS Clause
5–16

Field Blanking Modifiers

Field blanking modifiers indicate under what circumstances to print blanks. The
syntax is:
BN
{ }
BZ
BN
prints a blank field if value is null.
BZ
prints a blank field if value is zero.
Although most edit descriptors cause a minimum number of characters to be printed
regardless of the value of the field, a field blanking modifier causes the entire field to
be filled with blanks if the specified condition is met.
Examples of the Field Blanking Modifiers. The following examples show the effect of the
field blanking modifiers.
Format
------
"[BZ] F10.2"
"[BN] F10.2"
"[BN] F10.2"

Fill Character Modifier

The fill character modifier specifies the fill character that is used in the current display
format. The default fill character is a blank. The syntax is:
FL char
char
is a single ASCII character enclosed within apostrophes (' ').
A fill character prints in each appropriate character position when one of the following
occurs: alphanumeric data contains fewer characters than the field specified by the
alphanumeric edit descriptor, leading zero suppression is performed, or embedded
text in an mask edit descriptor is not printed because its neighboring digits are not
printed.
Examples of the Fill Character Modifier. The following examples show the affect of the fill
character modifier.
Format
------
"[FL'.'] A10"
"[RJ,FL'>'] A10"
"[FL'*'] M<$ZZ,ZZ9.99>"
058057 Tandem Computers Incorporated
Item Value
----------
.00
null value
100.00
Item Value
----------
THEN
HERE
127.39
Printed Item
------------
100.00
Printed Item
------------
THEN......
>>>>>>HERE
$***127.39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents