System Options for NLS |
Valid in: | configuration file, SAS invocation, OPTIONS statement, SAS System Options window |
Category: | Environment control: Language control |
PROC OPTIONS GROUP: | LANGUAGECONTROL |
Interaction: | The TRANTAB= system option specifies a translation table to use for the SAS session, including file transfers. The TRANTAB statement specifies a customized translation table (for example, to map an EBCDIC character to an ASCII character) to apply to the character set in the SAS file that is being exported or transferred. |
Syntax | |
Syntax Description | |
Details | |
See Also |
Syntax |
TRANTAB=(catalog-entries) |
Note: TRANTAB= was introduced in SAS 6 to support the requirements of national languages. SAS 8.2 introduced the LOCALE= system option as an improvement on the features of TRANTAB=. SAS 9.2 supports TRANTAB= for backward compatibility. However, using the LOCALE= system option is preferred in later SAS releases.
specifies SAS catalog entries that contain translation tables. If you specify entry-name.type, SAS searches SASUSER.PROFILE first and then SASUSER.HOST.
Details |
Translation tables are specified in a list that is enclosed in parentheses and has ten positions. The position in which a table appears in the list determines the type of translation table that is specified. Individual entries in the list are separated by commas. See the list of positions and types that follows:
Translation tables are used internally by the SAS supervisor to implement NLS. If you are unfamiliar with the purpose of translation tables, do not change the specifications without proper technical advice.
To change one table, specify null entries for the other tables. For example, to change the lowercase-to-uppercase table, which is third in the list, specify uppercase as follows:
options trantab = ( , , new-uppercase-table);
The other tables remain unchanged. The output from the OPTIONS procedure reflects the last specification for the TRANTAB= option and not the composite specification. Here is an example:
options trantab = ( , , new-uppercase-table); options trantab = ( , , , new-lowercase-table);
PROC OPTIONS shows that the value for TRANTAB= is
( , , , new-lowercase-table), but both the new-uppercase and new-lowercase tables are in effect.
See Also |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.