It is crucial to the operation of Sybase® products that the system environment variables are set correctly. The installer will set the environment variables automatically at the system level.
As part of the installation, the installer sets up these
environment variables in the system.
As part of the installation, the installer sets up these environment variables in the system:
DSLISTEN – defines the name Adaptive Server uses to listen for client connections if no name is provided during the Adaptive Server start-up. If DSLISTEN is not set, and no name is given during the Adaptive Server start-up, the Adaptive Server name defaults to the server name given at installation.
DSQUERY – defines the Adaptive Server name that client programs try to connect to if no Adaptive Server is specified with a command line option. If DSQUERY is not set, and you do not supply the Adaptive Server name with a command-line option, clients attempt to connect to the server name given at installation.
SYBASE – defines the path of the Sybase installation directory. The installation program sets up the variable SYBASE to point to the release directory specified during installation.
SYBASE_ASE – defines the subdirectory directory of the Adaptive Server components.
SYBASE_OCS – defines the subdirectory to which the Open Client™ is set.
SYBASE_SYSAM – points to the license-management software directory.
SYBASE_TS_MODE – On Windows, Adaptive Server uses SYBASE_TS_MODE to determine if the shared memory should use a GLOBAL name space or a session-specific LOCAL name space. Sybase recommends that Adaptive Server uses a GLOBAL name space to which it can attach diagnostic tools for servers you start as a service, or when connecting to the server through terminal services.
The default mode in versions of Adaptive Server earlier than 15.7 was LOCAL, which imposed diagnostic limitations. In Adaptive Server 15.7 and later, the default is GLOBAL.
Setting SYBASE_TS_MODE to LOCAL starts Adaptive Server in a pre- 15.7 default mode. There is no advantage in using LOCAL name space and Sybase does not recommend doing this because it resticts shared memory access for diagnostic tools.
PATH – specifies which directory paths to search for executables and dynamic link libraries (DLLs). The Sybase executables are in the %SYBASE%|product_name\bin directory. The installation program appends these paths to the current PATH environment variable.
TEMP – defines the location used by the installation program to write files temporarily during the installation process. The installation process frees the disk space after installation is completed.
INCLUDE – specifies which directory to set to or append for Open Client.
LIB – is appended with lib directory for Open Client.