The esql command
To create an executable C program from source files, use the esql command. The HCL® OneDB® installation script installs the esql command as part of the product. This section describes what the esql command can do and how you use it.
The esql command performs the following steps:
- Converts the embedded SQL statements to C language code.
- Converts your ESQL/C source files to C language source files.
- Compiles the files that result with the C compiler to create an object file.
- Creates the resource compiler and links any resource files (.res) that you specify on the esql command line for Windows™.
- Links the object file with the libraries and your own libraries.