Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-15
Modifiers
The following examples show the effect of the optional plus edit descriptor:
Format Item Value Printed Item
------ ---------- ------------
"SP F10.2" 123.00 +123.00
F10.2 123.00 123.00
"SP F10.2" -123.00 -123.00
"SP F10.2" 000.00 .00
Modifiers
Modifiers alter the normal effect of edit descriptors. A modifier must immediately
precede the edit descriptor it modifies. Modifiers are enclosed within brackets ([ ]) and
separated by commas.
Table 5-2
indicates which modifiers can be used with which edit descriptors. An X
indicates the combination is permitted.
Field Blanking Modifiers
Field blanking modifiers indicate under what circumstances to print blanks. The syntax
is:
BN
prints a blank field if the value is null.
BZ
prints a blank field if the 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.
Table 5-2. Permissible Modifiers and Edit Descriptors
Edit Descriptors
Modifiers A F I M
BZ, BN XXXX
LJ, RJ X
OC XXX
FL XXXX
SS XX
{ BN }
{ BZ }