![]() Chapter Contents |
![]() Previous |
![]() Next |
| $CHARZBw. |
| Category: | Character |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples |
Syntax |
| $CHARZBw. |
| Default: | 1 if the length of the variable is undefined; otherwise, the length of the variable |
| Range: | 1-32767 |
| Details |
| Comparisons |
| Examples |
input @1 name $charzb5.;
| Data Lines* | Results | |
|---|---|---|
| EBCDIC | ASCII | |
E7E8E90000 |
58595A0000 |
XYZþþ |
00E7E8E900 |
0058595A00 |
þXYZþ |
00E700E8E9 |
005800595A |
þXþYZ |
| *The data lines are hexadecimal representations of codes for characters. Each two hexadecimal digits correspond to one byte of binary data, and each byte corresponds to one character. The character þ represents a blank space. | ||
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.