Support for Locales by SE Utilities
The GLS feature enables SE utilities to provide the following locale-specific support:
This section provides information specific to the use of the GLS feature by SE utilities. For a complete description of SE utilities, refer to the Informix Guide to SQL: Reference. For information about how to use these utilities to migrate to or from a database, see Chapter 8 of the Informix Migration Guide.
Locale Environment Variables
SE and SQL utilities are client applications that request information from an SE 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 page 1-40.
Non-ASCII Characters in Command-Line Arguments
SE utilities support non-ASCII characters in command-line arguments. These utilities interpret all command-line arguments in the client code set (that CLIENT_LOCALE defines). Figure 6-1 shows SE utilities that accept non-ASCII characters in command-line arguments.
Figure 6-1
SE Utilities That Accept Non-ASCII Characters in Command-Line Arguments
The SE utilities accept non-ASCII characters in the parameters for filename, log filename, and tablename.
The DB-Access utility generates labels and messages in the code set of the client locale. 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 these SQL utilities, refer to the Informix Guide to SQL: Reference. For information about how to use these utilities to migrate to or from a database, see the Informix Migration Guide.
|