Chapter Contents

Previous

Next
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 the need to reinvoke 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 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

SASLCL
the transport-to-local format translation table

SASUCS
the lowercase-to-uppercase translation table

SASLCS
the uppercase-to-lowercase translation table

SASCCL
the character classification table, 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 map characters that exist in languages other than English to programs, displays, files, or products of the SAS System.

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]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.