![]() Chapter Contents |
![]() Previous |
![]() Next |
| RANK |
| CMS specifics: | EBCDIC collating sequence |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| RANK (n) |
| Details |
Under CMS, the RANK function returns an integer that represents the position of a character in the EBCDIC collating sequence. Some operating environments return the ASCII equivalent.
| Example |
The following example returns a value of 193 and assigns it to the variable n:
n = rank('A');
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.