Load Character Sets

Use the charset utility to load character sets and sort orders into SAP ASE. If you are using charset to load the default character set and sort order, this should be done only during installation.

To change the default character set and sort order of SAP ASE, see the System Administration Guide: Volume 1.

Syntax

charset
[ -U username ]
[ -P password ]
[ -S server ]
[ -I interfaces ]
[ -v version ]
sort_order
[ charset ]
Keywords and Options for Charsets

Keywords and Options

Description

-U

If you are not already logged in to your operating system as “sa”, you must specify “-Usa” or “/username = sa” in the command line.

-P

Specifies the “sa” password on the command line. If not specified, the user is prompted for the “sa” password.

-S

Specifies the name of the server. If not specified, charset uses the DSQUERY environment variable to identify the server name. If there is no DSQUERY environment variable, charset attempts to connect to a server named “SYBASE.”

-I

Specifies the interfaces file to use. If not specified, charset uses the interfaces file in the SYBASE directory.

-v

Prints the SAP version, then exits. Use with no other options specified.

sort_order

When charset is used to load the default character set and sort order, sort_order is a mandatory parameter specifying the name of the sort order file to be used by SAP ASE. When loading additional character sets, use charset.loc to indicate the name of the character set files.

charset

Specifies the directory of the character set to be used by SAP ASE.