The
w value
specifies the number of bytes, not the number of digits. If the informat
specification includes a
d value,
the number is divided by 10
d.
The format of floating-point
numbers is host-specific. See the data representation information
in
SAS Language Reference: Concepts for a description of the IBM floating-point format
that is used under
z/OS.
The following examples
show how data that represent decimal numbers are read as floating-point
numbers using the RB
w.d informat:
|
|
|
|
|
|
|
a d value
of 1 causes the number to be divided by 10 1
|
|
|
|
a d value
of 2 causes the number to be divided by 10 2
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: In these examples, Data Line
(Hexadecimal) represents the bit pattern stored, which is the value
that you see when you view it in a text editor that displays values
in hexadecimal representation. Value is the number that is used by
SAS after the data pattern has been read using the corresponding informat.