The
w.d format
writes numeric values one digit per byte using EBCDIC code. Because
the values are stored in EBCDIC, they can be printed without further
formatting.
Numbers written with
the
w.d format are rounded
to the nearest number that can be represented in the output field.
If the number is too large to fit, the BEST
w.d format
is used. Under
z/OS, the range of the magnitude of numbers that
can be written with the BEST
w.d format
is from 5.4 x 10
-79 to 7.2 x 10
75.
The following table
contains examples that illustrate the use of the
w.d format:
Note: In these examples, the Value
column represents the value of the data, and the Results column shows
what the numeric value looks like when viewed from a text editor.
The b characters in the Results column indicate blank spaces. For
a table of commonly used EBCDIC characters, see
EBCDIC Code: Commonly Used Characters.