ZDBw.d Informat

Reads zoned decimal data in which zeros have been left blank.
Category: Numeric
See: ZDBw.d Informat: z/OS in SAS Companion for z/OS

Syntax

ZDBw.d

Syntax Description

w
specifies the width of the input field.
Default:1
Range:1–32
d
specifies the power of 10 by which to divide the value. This argument is optional.
Range:0–31

Details

The ZDBw.d informat reads zoned decimal data that are produced in IBM 1410, 1401, and 1620 form, where 0s are left blank rather than being punched.

Example

input @1 x zdb3.;
Data Line 1
Result
----+----1
F140C2
102
1The data line contains a hexadecimal representation of a binary number that is stored in zoned decimal form, including the codes for spaces, on an IBM mainframe operating environment. Each byte occupies one column of the input field.