Reads zoned decimal data in which zeros have been left blank.
- w
-
specifies the width of the input field.
- d
-
specifies the power of 10 by which to divide the value.
This argument is optional.
Use the S370ZFDBw.d informat
on other operating environments to read zoned decimal data from IBM mainframe
files.
input @1 x s370fzdb8.;
Data Line * |
Results |
----+----1 |
|
40404040F14040C0 |
1000 |
4040404040F1F2D3 |
-123 |
*
The 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. |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.