OCSConfig File – (optional) allows an external OCS configuration file to be used. If this value is set and the file does not exist, an error occurs. If this value is not set, a platform-specific default file is used.
On UNIX platforms, the default configuration file is $SYBASE/$SYBASE_OCS/config/ocs.cfg.
$SYBASE is the path to the Sybase installation directory, specified in the SYBASE environment variable. $SYBASE_OCS is the Open Client and Open Server subdirectory, specified in the SYBASE_OCS environment variable.
On Windows platforms, the default configuration file is %SYBASE%\%SYBASE_OCS%\ini\ocs.cfg.
%SYBASE% is the path to the Sybase installation directory, specified in the SYBASE environment variable. %SYBASE_OCS% is the Open Client and Open Server subdirectory, specified in the SYBASE_OCS environment variable.
CT_ OPTIONS that govern transaction isolation and transaction chaining can be set in one of the platform-dependant external configuration files listed above.
Do not set the option CS_NETIO=CS_ASYNC_IO in the external configuration file. It is possible to set CS_NETIO=CS_SYNC_10, but this causes the “abort" feature for long-lived calls not to function. The driver sets the default value for this option to CS_NETIO=CS_DEFER_IO.
If the driver detects that CS_OPT_CHAINXACTS is true, the driver does not issue “begin transaction” commands.