Set the following environment variables:
Set the LC_ALL or LANG environment variable to the desired locale name.
The locale name you specify must correspond to an entry in locales.dat. If you do not set LC_ALL or LANG, make sure that the “default” entry in locales.dat reflects the localization values your applications will use.
Make sure you have localization files that match the language, character set, and collating sequence specified in the locales file.
If your application uses custom localization values, set the LC_ALL, LC_COLLATE, LC_TYPE, LC_MESSAGE, or LC_TIME environment variable to the locale name.
If you do not know which environment variable your application uses, set all the environment variables to the desired locale name.
Set the DSLISTEN environment variable to the name of the Open Server application.
If the name of the Open Server application is coded into the application, you do not need to set DSLISTEN. If DSLISTEN is not set and the application does not name the server, Open Server uses the server name SYBASE.
If the Open Server application acts as a gateway application, set the DSQUERY environment variable to the name of the target server.
See “Setting environment variables” for instructions about how to set environment variables using ocscfg.