KTRANSLATE Function: z/OS

Replaces specific characters in a character expression.
Category: DBCS
z/OS specifics: to or from pairs
See: KTRANSLATE Function in SAS National Language Support (NLS): Reference Guide

Syntax

KTRANSLATE(source, to-1, from-1<...to-n, from-n>)

Details

In the z/OS environment, KTRANSLATE requires a from argument for each to argument. Also, there is no practical limit to the number of to or from pairs that you can specify.
KTRANSLATE differs from TRANSLATE in that it supports single-byte character set replacement by double-byte characters, or double-byte character set replacement for single-byte characters.