Previous Page | Next Page

The TRANTAB Procedure

LOAD Statement


Loads a translation table into memory for editing.
Tip: Use LOAD when you specify an incorrect table name in the PROC TRANTAB statement. You can specify the correct name without reinvoking the procedure.
Tip: Use LOAD to edit multiple translation tables in a single PROC TRANTAB step. (Be sure to save the first table before you load another one.)
Featured in: Editing by Using a Quoted Character for Starting Position

LOAD TABLE=table-name <NLS>;

Required Arguments

TABLE=table-name

specifies the name of an existing translation table to be edited. The specified table name must be a valid one-level SAS name.


Option

NLS

specifies that the table you listed in the TABLE= argument is one of five special internal translation tables that are provided with SAS. You must use the NLS option when you specify one of the five special tables in the TABLE= argument:

SASXPT

is the local-to-transport format translation table

SASLCL

is the transport-to-local format translation table

SASUCS

is the lowercase-to-uppercase translation table

SASLCS

is the uppercase-to-lowercase translation table

SASCCL

is the character classification table, which contains flag bytes that correspond to each character position, these positions 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 map characters from languages other than English to programs, displays, and files.

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 for translation in these special cases.  [cautionend]

Previous Page | Next Page | Top of Page