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.
Verify that 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 DSQUERY environment variable to the name of the target server. If the client application names the target server, you do not need to set DSQUERY. If DSQUERY is not set and the application does not name the server, Open Client uses the server name “SYBASE.”
See “Setting environment variables” for instructions about how to set environment variables using ocscfg.