TRANTAB Procedure
PROC TRANTAB Statement
Creates, edits or displays a translations table.
Tip: |
If there is an incorrect table name in the PROC TRANTAB
statement, use the LOAD statement to load the correct table. You
do not need to reinvoke PROC TRANTAB. New tables are not stored in
the catalog until you issue the SAVE statement, so you will not have
unwanted tables in your catalog.
|
Syntax
PROC TRANTAB TABLE=table-name <NLS>;
Required Argument
- TABLE=table-name
-
specifies the translation
table to create, edit, or display. The specified table name must
be a valid one-level SAS name with no more than eight characters.
Optional Argument
- NLS
-
specifies that the
table that you listed in the TABLE= argument is one of five special
internal translation tables provided with every copy of the SAS System.
You must use the NLS option when you specify one of the five special
tables in the TABLE= argument. NLS stands for National Language Support.
This option and the associated translation tables provide a method
to translate characters that exist in languages other than English.
To make SAS use the modified NLS table, specify its name in the SAS
system option TRANTAB= . When you load one of these special translation
tables, the SAS log displays a note that states that table 2 is uninitialized.
That is, table 2 is an empty table that contains all zeros. PROC
TRANTAB does not use table 2 at all for translation in these special
cases, so you do not need to be concerned about this note.
- SASXPT
-
the local-to-transport
format translation table (used by the CPORT procedure)
- SASLCL
-
the transport-to-local
format translation table (used by the CIMPORT procedure)
- SASUCS
-
the lowercase-to-uppercase
translation table (used by the UPCASE function)
- SASLCS
-
the uppercase-to-lowercase
translation table (used by the LOWCASE macro)
- SASCCL
-
the character classification
table (used internally), which contains flag bytes that correspond
to each character position that indicate the class or classes to which
each character belongs.
Copyright © SAS Institute Inc. All rights reserved.