Open Client and Open Server use the environment variables shown in Table A-1 during the connection process.
Variable |
Value |
Default |
Used by |
---|---|---|---|
DSLISTEN |
The name of the Open Server application, as listed in sql.ini or directory service. If DSLISTEN is not set, Open Server uses the default value “SYBASE.” |
SYBASE |
Open Server. Uses DSLISTEN only if the Open Server application does not specify a server during initialization. |
DSQUERY |
The name of the target server, as listed in sql.ini or directory service. If DSQUERY is not set, Open Client uses the default value “SYBASE.” |
SYBASE |
Open Client. Uses DSQUERY only if the Open Client application does not specify the name of the server. |
SYBASE |
The location of the Sybase installation directory. |
Home directory of the “sybase” user |
Open Client and Open Server. |
SYBASE_ OCS |
Home directory for the Open Client and Open Server products. |
OCS-15_0 |
Open Client and Open Server. |
PATH |
The directory paths that Open Client and Open Server products search to find executables and DLLs. |
Executables |
Open Client and Open Server. |