Usage Note 15435: Determining which characters the ANY* and NOT* functions find
The ANY* and NOT* functions find specific characters within a
character string. The set of characters that the functions find is
based on the translation table used by SAS, and whether the session is
run in an ASCII or EBCDIC environment. To determine which characters
are found in your session of SAS, use the following program. Values
of 1 mean that the character is found by the function, values of 0
mean the character is not found.
data test;
do dec=0 to 255;
byte=byte(dec);
hex=put(dec,hex2.);
anycntrl=anycntrl(byte);
anygraph=anygraph(byte);
anypunct=anypunct(byte);
notalpha=notalpha(byte);
notprint=notprint(byte);
output;
end;
run;
proc print data=test;
run;
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 9 TS M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | |
| Microsoft Windows NT Workstation | 9 TS M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | |
| Microsoft Windows 2000 Server | 9 TS M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | |
| Microsoft Windows 2000 Professional | 9 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
| Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
| 64-bit Enabled Solaris | 9 TS M0 | |
| Solaris | 9 TS M0 | |
| z/OS | 9 TS M0 | |
| HP-UX IPF | 9 TS M0 | |
| HP-UX | 9 TS M0 | |
| Linux | 9 TS M0 | |
| Tru64 UNIX | 9 TS M0 | |
| 64-bit Enabled AIX | 9 TS M0 | |
| OpenVMS Alpha | 9 TS M0 | |
| 64-bit Enabled HP-UX | 9 TS M0 | |
| AIX | 9 TS M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | medium |
| Topic: | SAS Reference ==> Functions
|
| Date Modified: | 2009-06-05 10:39:11 |
| Date Created: | 2005-06-02 11:12:05 |