Functions for NLS |
Category: | DBCS |
Restriction: | I18N Level 2 |
Tip: | Non-DBCS equivalent function is TRANSLATE in SAS Language Reference: Dictionary. |
See: | KTRANSLATE Function under z/OS |
Syntax | |
Arguments | |
Details |
Syntax |
KTRANSLATE(source,to-1,from-1<,...to-n,from-n>) |
specifies the SAS expression that contains the original character value.
specifies the characters that you want KTRANSLATE to use as substitutes.
specifies the characters that you want KTRANSLATE to replace.
Operating Environment Information: You must have pairs of to and from arguments on some operating environments. On other operating environments, a segment of the collating sequence replaces null from arguments. See the SAS documentation for your operating environment for more information.
Details |
You can use KTRANSLATE to translate a single-byte character expression to a double-byte character expression, or translate a double-byte character expression to a single-byte character expression.
The maximum number of pairs of to and from arguments that KTRANSLATE accepts depends on the operating environment you use to run SAS. There is no functional difference between using several pairs of short arguments, or fewer pairs of longer arguments.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.