Locale Environment Variables OnLine and SQL utilities are client applications that request information from an instance of OnLine. Therefore, these utilities use the CLIENT_LOCALE, DB_LOCALE, and SERVER_LOCALE environment variables to obtain the name of a nondefault locale, as follows:
Non-ASCII Characters in Command-Line Arguments Most OnLine 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). Figure 5-2 shows OnLine utilities that accept non-ASCII characters in command-line arguments.
Figure 5-2 OnLine Utilities That Accept Non-ASCII Characters in Command-Line Arguments Utility Name Non-ASCII Characters in Command-Line Argument Non-ASCII Output onaudit -f input_file Yes oncheck -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 database:table -i old_index new_index -t tape_device Yes onlog -d tape_device None onshowaudit -f input_file -s server_name Yes onspaces -p pathname -f filename None onstat -o filename -dest filename_source Yes onunload database:table -t tape_device Yes 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:
onaudit
-f input_file
Yes
oncheck
-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
onload
database:table
-i old_index new_index
-t tape_device
onlog
-d tape_device
None
onshowaudit
-s server_name
onspaces
-p pathname
-f filename
onstat
-o filename -dest
filename_source
onunload
Enhancements to the onmode Utility You can use the -b option with the onmode utility to revert from a GLS database to an Informix ALS, NLS, or pre-NLS database.