Previous Page | Next Page

The TRANTAB Procedure

PROC TRANTAB Statement


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.

PROC TRANTAB TABLE=table-name <NLS>;

Required Arguments

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.


Options

NLS

specifies that the table 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:

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.

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= .

Note:   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.  [cautionend]

Previous Page | Next Page | Top of Page