Setting Up the Environment Variables

Set up the environment variables for your installation.

Note: ECDA includes utilities that allow you to create and start a DirectConnect server.
Set the environment variables from a command prompt by executing the appropriate script for your platform:
  • DC_SYBASE.csh

  • DC_SYBASE.sh

Use these Sybase-provided scripts to set the environment variables scripts for executing ECDA:
  • echo $SYBASE

    response: install_dir/DC-15_0/connectivity

  • echo $SYBASE_ECON

    response: .. (parent directory)

  • echo $SYBASE_OCS

    response: OCS-15_0

  • SHLIB_PATH (for HP-UX), LIBPATH (for IBM AIX), LD_LIBRARY_PATH (for Solaris, Linux, HP-UX Itanium)

The response should match the home directory on your worksheet:
  • For HP-UX:

    echo $SHLIB_PATH
  • For IBM AIX:

    echo $LIB_PATH
  • For Solaris, Linux, and HP-UX Itanium:

    echo $LD_LIBRARY_PATH
The HP environment variable is:
install_dir/DC-15_0/lib
install_dir/DC-15_0/connectivity/OCS-15_0/lib