Environment variables used for connection

Open Client and Open Server products use the environment variables in Table A-1during the connection process.

Table A-1: Environment variables used for connection

Variable

Value

Used by

DSLISTEN

The name of the Open Server application, as listed in interfaces or directory service.

If DSLISTEN is not set, Open Server uses the default value “SYBASE.”

Open Server

DSQUERY

The name of the target server, as listed in interfaces or directory service.

If DSQUERY is not set, Open Client uses the default value “SYBASE.”

Open Client

SYBASE

The location of the Sybase home directory.

NoteThe CS_SYBASE_HOME property, which specifies the name and path to an alternate Sybase home directory, overrides the environment variable $SYBASE.

Open Client

SYBASE_OCS

Home directory for the Open Client and Open Server products.

$SYBASE/$SYBASE_OCS