If you want to provide your own collating sequences
or change a collating sequence provided for you, use the TRANTAB procedure
to create or modify translation tables. For more information, see
TRANTAB Procedure in SAS National Language Support (NLS): Reference Guide. When you create your own translation tables, they are stored
in your Sasuser.Profile catalog, and they override any translation
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 Profile
catalog to the Host catalog. Then, all users can access the new or
modified translation table.
If you are using the
SAS windowing environment and want to see the names of the collating
sequences that are stored in the Host catalog, issue the following
command from any window:
catalog sashelp.host
If you are not using
the SAS windowing environment, then issue the following statements
to generate a list of the contents in the Host catalog:
proc catalog catalog=sashelp.host;
contents;
run;
Entries of type TRANTAB
are the collating sequences.
To see the contents
of a particular translation table, use the following statements:
proc trantab table=table-name;
list;
run;
The contents of collating
sequences are displayed in the SAS log.