charset Utility

Use the charset utility to load character sets and sort orders into SAP ASE 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 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 SAP directory.

-v

Prints the SAP ASE version string, 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.

Related tasks
Configuring SAP ASE for Other Character Sets
Related reference
Available Sort Orders
SAP ASE Character Set Names