The ocs.cfg file

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

By using ocs.cfg, applications eliminate the need to call routines to set values; therefore, the application’s settings can be changed without recompiling the code.

Client-Library does not read ocs.cfg by default, but all Client-Library-based applications attempt to read the file if the file name exists in $SYBASE/$SYBASE_OCS/config. 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 that can be set in the file.