The esql command

To create an executable C program from IBM® Informix® ESQL/C source files, use the esql command. The HCL Informix installation script installs the esql command as part of the Informix ESQL/C product. This section describes what the esql command can do and how you use it.

The esql command performs the following steps:
  1. Converts the embedded SQL statements to C language code.
  2. Converts your ESQL/C source files to C language source files.
  3. Compiles the files that result with the C compiler to create an object file.
  4. Creates the resource compiler and links any resource files (.res) that you specify on the esql command line for Windows.
  5. Links the object file with the Informix ESQL/C libraries and your own libraries.

Copyright© 2019 HCL Technologies Limited