It is crucial to the operation of Sybase products that the environment variables are set correctly. The Studio Installer sets environment variables during the installation process. During the installation process, the Studio Installer also generates a file that you can use to reset most of the environment variables. The list in this section describes Sybase environment variables.
Environment variables are set in the user’s environment by running sybase.bat in the %SYBASE%\bin directory.
The batch file does not set jConnect or Java utility environment variables. See the jConnect documentation http://www.sybase.com/support/manuals.
The environment variables are:
DSLISTEN – you can set this to the name that Adaptive Server uses to listen for client connections when one is not provided on the command line during start-up. If you do not set DSLISTEN, and you provide no name during start-up, the Adaptive Server name defaults to the server name given at installation. You cannot reset DSLISTEN by running the SYBASE scripts.
DSQUERY – defines the Adaptive Server name that client programs try to connect to if an Adaptive Server is not specified by name during a connection attempt. If you do not set DSQUERY, and you do not supply the Adaptive Server name, clients attempt to connect to the server name provided during installation. You cannot reset DSQUERY by running the SYBASE scripts.
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 installation directory of Adaptive Server components.
SYBASE_OCS – defines the installation directory of Open Client.
SYBASE_EJB – defines the installation directory to the EJB Server. The EJB Server requires a license, and is installed only if you selected the “full” installation option.
You must set this environment variable manually. The Studio Installer does not set this environment variable during the installation process.
SYBASE_SYSAM – points to the license-management software directory. You cannot rest SYBASE_SYSAM by running the SYBASE scripts.
LM_LICENSE_FILE – optionally points to the license.dat file in:
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, where product_name is the name of the component, such as Adaptive Server or Open Client.
To use Java-based features such as XML, you must include the JDK 1.2 in your system PATH environment. For example: \sybase\java1.2\bin, where \sybase is the installation directory.
The Sybase DLLs are in the SYSDLL directory. The installation program appends these paths to the current PATH environment variable.
WARNING! Keep all Sybase DLLs in the directories in which they were installed. To avoid possible confusion about current DLLs, do not keep multiple versions of Sybase DLLs on your machine.
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
CLASSPATH – defines the Adaptive Server plug-in location. The default location value is: %SYBASE%\ASEP\monclass.zip; %SYBASE%\ASEP\3pclass.zip.
INCLUDE – specifies which directory to set to or append for Open Client.
LIB – is appended with lib directory for Open Client.
For instructions on setting jConnect environment variables, see the documentation for jConnect.