The format of the statement to precompile a source program is:
cpre [-a] [-b] [-c] [-d] [-e] [-f] [-l] [-m] [-p] [-r] [-s] [-v] [-w] [-x] [-y] [-Ccompiler] [-Ddatabase_name] [-Ffips_level] [-G[isql_file_name]]-H [-Iinclude_directory]... [-Jlocale_for_charset] [-Ksyntax_level] [-L[listing_file_name]] [-Ninterfaces_file_name] [-Otarget_file_name] [-P[password]] [-Sserver_name] [-Ttag_id] [-Uuser_id] [-Vversion_number] [-Zlocale_for_messages] [@file_name] program[.ext] [program[.ext]]...
program is the name of the Embedded SQL/C source file. The default extension for program is “.cp”. cpre generates an output file with a “.c” extension.
Some of the options are switches that activate features of the precompiler. For example, an option can generate a stored procedure. These features are “off” by default, and are turned “on” by including the option on the cpre statement line. Other statement qualifiers specify values for the preprocessor—a password, for example. Enter the value after the option (with or without intervening spaces).
If you enter an invalid option, the precompiler lists the options that are available.
See Appendix A, “Commands and Utilities,” for detailed descriptions of precompiler options.