If you want to provide your own collating sequences
or change a collating sequence that has been provided for you, use
the TRANTAB procedure to create or modify translate tables. For more
information about the
TRANTAB procedure, see
SAS National Language Support (NLS): Reference Guide. When you create your own translate tables, they
are stored in your Sasuser.Profile catalog and they override any translate
tables by the same name that are stored in the HOST catalog.
Note: System managers can modify
the HOST catalog by copying newly created tables from the Sasuser.Profile
catalog to the HOST catalog. Then all users can access the new or
modified translate table.
If you want to see the
names of the collating sequences stored in the HOST catalog (using
the SAS Explorer), submit the following statement:
dm 'catalog sashelp.host' catalog;
Alternatively, you can select the View menu, select the
Libraries
item, then double-click on the Sashelp library,
and then double-click on the HOST catalog. In batch mode, you can
use the following statements to generate a list of the contents of
the HOST catalog:
proc catalog catalog=sashelp.host;
contents;
run;
Entries of type TRANTAB are the collating sequences.
If you want to see the
contents of a particular translate table, use the following statements:
proc trantab table=table-name;
list;
run;
The contents of the collating sequence are displayed
in the SAS log.