Specify the name of a project file

The -f option enables you to specify the name of a project file at the esql command line.

The filename that follows -f is a project file that contains the names of the Informix® ESQL/C source (.ec) files to compile.

For example, suppose the project file, project.txt, contains the following lines:
first.ec
second.ec
third.ec

In this example, first.ec, second.ec, and third.ec represent the names of Informix® ESQL/C source files that you want to compile.

The following esql command uses the project.txt project file to specify the three source files to compile and link:
esql -f project.txt
The preceding esql command is the equivalent of the following esql command:
esql first.ec second.ec third.ec

You can accomplish the same task with a response file.