Chapter Contents

Previous

Next
ZDBw.d

ZDBw.d



Reads zoned decimal data in which zeros have been left blank

Numeric
Width range: 1-32 bytes
Decimal range: 0-32
OS/390 specifics: used on IBM 1410, 1401, and 1620


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 (Hex) Informat Value
40404040F14040C0 zdb8. 1000
4040404040F1F2D3 zdb8. -123
4040404040F1F2C3 zdb8. 123

Note:   In these examples, Data Line (Hex) 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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.