Requirements for using the esql command

Before you use esql, make sure that:
  • The file names of your source files have the .ec extension. You can also use the .ecp extension if you want the C preprocessor to run before the preprocessor.
  • You have set the environment variable ONEDB_HOME correctly and the PATH environment variable includes the path to the bin directory of the ONEDB_HOME directory ($ONEDB_HOME/bin on the UNIX™ operating system and %ONEDB_HOME%\bin in Windows™ environments).

    For a complete description of ONEDB_HOME, see the HCL OneDB™ Guide to SQL: Reference or the HCL OneDB Client Products Installation Guide for your operating system.