![]() Chapter Contents |
![]() Previous |
![]() Next |
| $PHEXw. |
| Category: | Character |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples |
Syntax |
| $PHEXw. |
| Details |
| Comparisons |
The PDw.d. informat reads packed decimal data and converts them to numeric data.
| Examples |
input @1 devaddr $phex2.;
| Data Lines* | Results |
|---|---|
0001111000001111 |
1E0 |
| *The data line represents two bytes of actual binary data, with each half byte corresponding to a single hexadecimal digit. The equivalent hexadecimal representation for the data line is 1E0F. | |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.