Name the executable file

You can explicitly specify the name of the executable file with the -o option.

For example, the following esql command produces an executable file called inpt:
esql -o inpt custinpt.ec ordinpt.ec

If esql is running on a Windows™ operating system, the name of the target file defaults to the name of the first HCL OneDB™ ESQL/C source file on the esql command line. The extension is changed to either .exe or .dll depending on the type of target being generated.

If esql is running on a UNIX™ operating system, the name of the target file defaults to whatever is the default for your C compiler, usually a.out.