Setting the Environment Variables

Sybase IQ environment variables point to different directories and file locations. Normally, the installer automatically sets many of these variables, but if you work in a new terminal or console, you must manually set these variables.

  1. Open a console or terminal.
  2. Set the $SYBASE variable to the parent installation directory.
    Shell Command

    tcsh or C (csh)

    setenv SYBASE <directory name>

    Korn (ksh), Bash, or Bourne (sh)

    SYBASE=<directory name>; 
    export SYBASE
  3. Set the $IQDIR15 variable to the Sybase IQ product directory.
    Shell Command

    tcsh or C (csh)

    source $SYBASE/IQ-15_4/IQ-15_4.csh

    Korn (ksh), Bash, or Bourne (sh)

    $SYBASE/IQ-15_4/IQ-15_4.sh
    Note: For additional information about environment variables, see Reference: Building Blocks, Tables, and Procedures > File Locations and Installation Settings > Environment Variables.