Environment variables used for configuration

Open Client and Open Server products use the environment variables shown in Table A-3 during the configuration process.

Table A-3: Environment variables used for configuration

Environment variable

Description

Used during

SYBOCS_CFG

Overrides the %SYBASE%\%SYBASE_OCS%\ini\ocs.cfg default external configuration file path.

Runtime

SYBOCS_DBVERSION

Externally configures the DB-Library version level at runtime. DB-Library uses this variable to retrieve the environment variable at the DB-Library initialization stage and store the environment variable value as the version level.

For more information, see the Open Client DB-Library/C Reference Manual.

Runtime

SYBOCS_DEBUG_FLAGS

Enables specific diagnostic subsystems. You can enable multiple debug options by specifying a comma-delimited list of flags in the variable.

For information about debugging, see the Open Client Client-Library/C Reference Manual.

Runtime

SYBOCS_DEBUG_ LOGFILE

Specifies the log file where the diagnostics are recorded. If you do not set this, messages are written to stdout.

See the Open Client Client-Library/C Reference Manual.

Runtime