Configuration tasks for Open Client

To enable Open Client to successfully initialize your client application and carry out connection requests, complete these tasks:

  1. Set 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.

    See Appendix A, “Environment Variables,” for instructions about how to set environment variables.

  2. Set localization files: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 locale name you want.

    See Appendix C, “Localization,” for information on localization.

  3. 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.”

  4. Configure interfaces:

    Create a server entry in interfaces service using an editor of your choice.

    See “The interfaces file” for information about interfaces.