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.
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:
|
Type of Translation
Table
|
|
local-to-transport-format
|
|
transport-to-local-format
|
|
|
|
|
|
|
|
|
|
|
|
scanner character classification
|
|
|
|
|
CAUTION:
Do not
change a translation table unless you are familiar with its purpose.
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.