The ocs.cfg file

The ocs.cfg runtime configuration file is used by Client-Library applications to set:

By using ocs.cfg, applications eliminate the need to call routines to set values. A benefit of using ocs.cfg is that the application’s settings can be changed without recompiling the code.

Client-Library does not read ocs.cfg by default. The application must set properties to enable Client-Library to use this file.

See “Using the Open Client and Open Server Runtime Configuration File” in the Open Client Client-Library/C Reference Manual for information about the file syntax and the properties you can set in the file.

For more information on syntax, see the Sybase Open Client™ Client-Library/C Reference Manual.