S370FZDBw.d Informat

Reads zoned decimal data in which zeros have been left blank.

Category: Numeric
Interaction: List input is incompatible with binary input when this informat is specified in an INFORMAT= statement or an ATTRIB= statement using the INFORMAT= argument. SAS issues a warning and uses formatted input to read the data.
See: ZDBw.d Informat: z/OS in SAS Companion for z/OS

Syntax

S370FZBDw.d

Syntax Description

w

specifies the width of the input field.

Default 8
Range 1–32

d

specifies the power of 10 by which to divide the value. This argument is optional.

Default 0
Range 0–31

Details

Use the S370FZDBw.d informat on other operating environments to read zoned decimal data from IBM mainframe files.

Example

input @1 x s370fzdb8.;
Data Line 1
Result
----+----1
40404040F14040C0
1000
4040404040F1F2D3
–123
1The data lines contain a hexadecimal representation of a binary number that is stored in zoned decimal format on an IBM mainframe operating environment. Two hexadecimal characters correspond to one byte of binary data, and each byte corresponds to one column of the input field.