![]() Chapter Contents |
![]() Previous |
![]() Next |
| BYTE |
| CMS specifics: | EBCDIC collating sequence |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| BYTE (n) |
| Details |
Under CMS, the BYTE function returns the nth character in the EBCDIC collating sequence. Some operating environments return the corresponding character in the ASCII collating sequence for this function.
| Example |
The following DATA step uses the BYTE function:
data; x=byte(193); run;
The example results in x being set to the character A (hexadecimal 'C1'x).
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.