| Informats |
| Category: | Numeric |
| See: | HEXw. Informat under Windows UNIX OpenVMS z/OS |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples |
Syntax |
| HEXw. |
specifies the field width of the input value and also specifies whether the final value is fixed-point or floating-point.
| Details |
Note: Different operating environments store floating-point
values in different ways. However, HEX16. reads hexadecimal representations
of floating-point values with consistent results if the values are expressed
in the same way that your operating environment stores them. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
The HEXw. informat ignores leading or trailing blanks.
| Examples |
input @1 x hex3. @5 y hex16.;
| Data Line* | Results |
|---|---|
----+----1----+----2 |
|
88F 4152000000000000 |
2191 5.125 |
| * The data line shows IBM mainframe hexadecimal data. | |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.