informix
Informix Guide to GLS Functionality
Database Server Features

Locale-Specific Support for Utilities

This section provides information that is specific to the use of the GLS feature by database server utilities. For a complete description of utilities, see your Administrator's Reference.

For information about database server utilities for auditing, see the Trusted Facility Manual.

Database server utilities and SQL utilities are client applications that request information from an instance of the database server. Therefore, these utilities use the CLIENT_LOCALE, DB_LOCALE, and SERVER_LOCALE environment variables to obtain the name of a nondefault locale, as follows:

These utilities also perform code-set conversion if the database and the client locales support convertible code sets. For more information on code-set conversion, see Performing Code-Set Conversion.

Changes to locale environment variables should also be reflected in the Windows NT registry database under HKEY_LOCAL_MACHINE.

Non-ASCII Characters in Database Server Utilities

Most database server utilities support non-ASCII characters in command-line arguments. These utilities interpret all command-line arguments in the client code set (which CLIENT_LOCALE defines).

The following table shows utilities that accept non-ASCII characters in command-line arguments or produce non-ASCII output.

Utility Name Non-ASCII Characters in Command-Line Arguments Non-ASCII Output
onaudit (IDS) -f input_file Yes
oncheck
(IDS)
-cc -pc database -ci -cI -pk -pK -pl -pL database:table#index_name -ci -cI -pk -pK -pl -pL -cd -cD -pB -pt -pT -pd -pD -pp database:table Yes
onload
(IDS)
database:table -i old_index new_index -t tape_device Yes
onlog (IDS) -d tape_device
onpload
(IDS)
-d source -j jobname -p projectname Yes
onshowaudit
(IDS)
-f input_file -s server_name Yes
onspaces
(IDS)
-p pathname -f filename
onstat -o filename -dest filename_source None (EDS) Yes
onunload
(IDS)
database:table -t tape_device Yes
onutil
(EDS)
CHECK TABLE DATA database:owner:table CHECK TABLE INFO database:owner:table Yes

You can use xctl, the Enterprise Decision Server control utility, to execute other database server utilities such as onstat.

Non-ASCII Characters in SQL Utilities

The following SQL utilities also accept non-ASCII characters in command-line arguments and generate any output in the client code set:

For a description of the chkenv utility, refer to the Informix Guide to SQL: Reference. For a description of the dbload, dbschema, dbexport, and dbimport utilities, refer to the Informix Migration Guide. For information about DB-Access, see the DB-Access User's Manual.

The DB-Access utility generates labels and messages in the code set of the client locale.

For Enterprise Decision Server, DB-Access accepts multibyte command-line arguments for database and script_file.


Informix Guide to GLS Functionality, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved