Reads and validates zoned decimal data.
Category: | Numeric |
Restriction: | This option does not perform validation on z/OS. |
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. |
input @1 test zdv4.;
Data Line 1
|
Result
|
---|---|
----+----1 |
|
F0F1F2C8 |
128 |
1The data line contains a hexadecimal representation of a binary number stored in zoned decimal form. The example was run on an IBM mainframe. The results might vary depending on your operating environment. |