Previous Page | Next Page

Informats under z/OS

ZDBw.d Informat: z/OS



Reads zoned decimal data in which zeros have been left blank.
Numeric
Width range: 1-32 bytes
Decimal range: 0-32
z/OS specifics: used on IBM 1410, 1401, and 1620
See: ZDBw.d Informat in SAS Language Reference: Dictionary

Details
See Also

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 you see if 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. See EBCDIC Code: Commonly Used Characters for a table of commonly used EBCDIC characters.  [cautionend]


See Also

Previous Page | Next Page | Top of Page