(
(
rf
(
Packed Print Zones (Null
or
Semicolon Delimiter): For arithmetic expressions, the length
of
the packed zone
is
determined by
the
length
of
the converted value, including
the sign, digits, decimal point, and
the
exponent,
as
shown
in
Figure 9.
For character constants,
the
length
of
the
packed print zone
is
equal
to
the
length
of
the
characters enclosed
in
single quotation marks, including blanks,
but
excluding
the
single quotation marks preceding an apostrophe.
For character variables,
the
length
of
the
packed print zone
is
equal
to
the
length
of
the
character string, minus any trailing blanks.
Packed print zones usually produce a denser line of
output
than full print zones.
Length
of
Converted Length
of
Packed
Example
(16
Data Item Print Zone represents a
(Characters) (Characters)
blank)
2-4
6
167.31616
5-7
9
1617.3571616
8-10
12
-45.63927161616
11-13 15
161.73579E-23161616
14-16
18
-8.9227049311516161616
17-19
21
-1.234567890123E-22
The number
of
digits displayed
or
printed
is
controlled by the current value
assigned
to
RD=
(see RD= Command, Chapter 2).
Figure 9. Packed Print Zone Lengths
for
Arithmetic
Expressions
Standard
Output
Formats for Printing
or
Displaying
Character Constants
The actual characters enclosed
in
single quotation marks (including trailing blanks
but
excluding the single quotation marks preceding an apostrophe) are printed
or
displayed.
Character Variables
The actual characters (excluding trailing blanks) are printed
or
displayed.
91