Previous Page | Next Page

Informats

ZDBw.d Informat



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

Syntax
Syntax Description
Details
Examples

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.


Examples

input @1 x zdb3.;

Data Line* Results
----+----1

F140C2
102
* The 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.

Previous Page | Next Page | Top of Page