Preprocess without compiling or linking

By default, the esql command causes the Informix® ESQL/C program to be preprocessed, compiled, and linked. The output of the esql command is an executable file. You can specify the -e option to suppress the compilation and linking of your Informix ESQL/C program. With this option, esql only causes preprocessing of the code. The output of this command is a C source file (.c extension).

For example, to preprocess the program that is in the file demo1.ec, you use the following command:
esql -e demo1.ec
The preceding command would generate a C source file that is called demo1.c. The following esql command preprocesses demo1.ec, checks for Informix extensions to ANSI-standard syntax, and does not use line numbers:
esql -e -ansi -G demo1.ec