Chapter Contents

Previous

Next
ZDBw.d

ZDBw.d



Reads zoned decimal data in which zeros have been left blank

Category: Numeric


Syntax
Syntax Description
Details
Examples

Syntax

ZDBw.d

Syntax Description

w
specifies the width of the input field.
Default: 1
Range: 1-32

d
optionally specifies the power of 10 by which to divide the value.
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 Lines* 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.


Chapter Contents

Previous

Next

Top of Page

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