Functions and CALL Routines under z/OS |
Category: | Character |
z/OS specifics: | to/from pairs |
See: | TRANSLATE Function in SAS Language Reference: Dictionary |
Syntax | |
Arguments | |
Details | |
See Also |
Syntax |
TRANSLATE(source, to-1, from-1, <... to-n, from-n>) |
Arguments |
specifies the SAS expression that contains the original character value.
specifies the characters that you want TRANSLATE to use as substitutes.
specifies the characters that you want TRANSLATE to replace.
Details |
Under z/OS, you must specify pairs of to and from arguments. Also, there is no practical limit to the number of to or from pairs you can specify.
TRANSLATE handles character replacement for single-byte character sets only. See KTRANSLATE to replace single-byte characters with double-byte characters, or to replace double-byte characters with single-byte characters.
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.