The operation of SAP products relies on system environment variables being
set correctly.
Environment variables are set in the user’s environment either interactively or by including them
in the user’s .login and .cshrc files (for
C shell) or .profile file (for Bourne shell).
Note: The installer configures these environment variables in the SYBASE.csh and
SYBASE.sh files. Source these file to set the user's
environment.
- DSLISTEN – defines the
name SAP ASE uses to listen for client connections if no name is given during
the SAP ASE start-up. If DSLISTEN is not set, and no name is given during the
SAP ASE start-up, the SAP ASE name defaults to SYBASE.
- DSQUERY – defines the
SAP ASE name that client programs attempt to connect to if no SAP ASE is
specified with a command line option. If DSQUERY is not set, and you do not
supply the SAP ASE name with a command line option, clients attempt to connect
to SYBASE.
- SYBASE – defines the
path of the SAP installation directory. The installation program sets up the
variable SYBASE to point to the release directory specified during installation.
- SYBASE_ASE –defines the
subdirectory of the SAP ASE component.
- SYBASE_OCS –defines the
subdirectory to which Open Client™ is set.
- SYBASE_SYSAM– points to the
license-management software directory.
- PATH – specifies the
directory path to search for executables. The SAP executables are located in the
installed componen'ts /bin directory. When
using the source files SYBASE.csh or
SYBASE.sh, these paths are prepended to
PATH:
$SYBASE/$SYBASE_ASE/bin:$SYBASE/$SYBASE_OCS/bin
- LD_LIBRARY_PATH– this
variable specifies the directory to search for shared libraries. The SAP shared
libraries are located in the installed component’s /lib directory.
When using the source files
SYBASE.csh or SYBASE.sh, these paths are prepended to the
LD_LIBRARY_PATH environment variable:
$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/
lib:$SYBASE/SYBASE_FTS/lib,etc.
- LD_LIBRARY_PATH64– this variable
specifies the directory to search for shared libraries on 64-bit Sun
platforms.
- LIBPATH– on the IBM RS/6000
platform, this variable specifies which directory to search for libraries.
When using the source files SYBASE.csh or
SYBASE.sh, these paths are prepended to the LIBPATH
environment variable:
$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/
lib: $SYBASE/SYBASE_FTS/lib, etc.
- SHLIB_PATH – on HP-UX platforms,
this variable specifies which directory to search for libraries.
When using
the source files SYBASE.csh or
SYBASE.sh, these paths are prepended to the LIBPATH
environment variable:
$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/
lib: $SYBASE/SYBASE_FTS/lib, etc.