Requirements for using the esql command

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

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