Environment variables used for configuration

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

Table A-2: Environment variables used for configuration

Environment variable

Description

Used during

SYBOCS_CFG

Overrides the $SYBASE/SYBASE_OCS/config/ocs.cfg default external configuration file path.

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

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