Reads zoned decimal data with blanks
| Numeric |
|
| Width range: |
0- 31
|
| Default width: |
1
|
| Decimal range: |
none
|
| CMS specifics: |
used on IBM 1410, 1401, and 1620
|
-
w
-
specifies the field width of the input value,
in bytes.
-
d
-
specifies a divisor for the input value.
If the informat includes a d value, the input value is divided
by 10d.
The ZDB informat reads zoned decimal data that are produced
in IBM 1410, 1401, and 1620 form, in which zeros are left blank rather than
being written. Each digit is represented as an EBCDIC character as previously
described for the ZD informat. The only differences are the way in which zeros
are represented, and that the ZDB informat does not allow you to use a d value while ZD does. The ZDB informat treats EBCDIC blanks ('40'x)
as zeros. (EBCDIC zeros are also read as zeros.) Like the ZD informat, the
ZDB informat also uses the rightmost byte to represent both the least significant
digit and the sign.
The table under ZD shows the convention that is used to store
digits in zoned decimal format. The following table shows several examples
of how the ZDB informat reads data.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.