Setting the Environment Variables

SAP 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 $SYBASE 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 $IQDIR16 to the SAP Sybase IQ product directory.
    Shell Command

    tcsh or C (csh)

    source $SYBASE/IQ-16_0/IQ-16_0.csh

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

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