ZDBw.d Informat: z/OS

Reads zoned decimal data in which zeros have been left blank.
Category: Numeric
Ranges: 1-32 bytes, 0-32
z/OS specifics: Used on IBM 1410, 1401, and 1620
See: S370FZDBw.d Informat in SAS Formats and Informats: Reference

Details

As previously described for the ZDw.d informat, each digit is represented as an EBCDIC character, and the low-order, or rightmost, byte represents both the sign and the least significant digit. The only difference between the two informats is the way in which zeros are represented. The ZDBw.d informat treats EBCDIC blanks ('40'x) as zeros. (EBCDIC zeros are also read as zeros.)
The following examples show how the ZDBw.d informat reads data:
Data Line (Hexadecimal)
Informat
Value
40404040F14040C0
zdb8.
1000
4040404040F1F2D3
zdb8.
-123
4040404040F1F2C3
zdb8.
123
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. For a table of commonly used EBCDIC characters, see EBCDIC Code: Commonly Used Characters.

See Also