The ZDV
w.
d informat
reads data in which every digit requires one byte and in which the
last byte contains the value's sign along with the last digit. It
also validates the input string and disallows invalid data.
ZDV
w.
d is
dependent on the operating environment. For example, on IBM mainframes,
ZDV
w.
d requires an F for all high-order nibbles except the last. (In contrast,
the ZD
w.
d informat ignores the high-order nibbles for
all bytes except for the nibbles that are associated with the sign.)
The last high-order nibble accepts values ranging from A-F, where
A, C, E, and F are positive values and B and D are negative values.
The low-order nibble on IBM mainframes must be a numeric digit that
ranges from 0-9, as with ZD.
Note: Different operating environments
store zoned decimal values in different ways. However, the ZDV
w.
d informat
reads zoned decimal values with consistent results if the values are
created in the same type of operating environment that you use to
run SAS.