The format of the statement to precompile an Embedded SQL/COBOL source program is:
cobpre [-a] [-b] [-c] [-d] [-e] [-f] [-l] [-m] [-q] [-r] [-v] [-w] [-x] [-y] [-Ccompiler] [-Ddatabase_name] [-Ffips_level] [-G[isql_file_name]] [-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/COBOL source file. The default extension for program is “.pco.” cobpre generates an output file with a “.cbl” extension.
Some of the options are switches that activate features of the precompiler, such as generating stored procedures. These features are “off” by default, and are turned “on” by including the option on the cobpre statement line. Other statement qualifiers specify values for the preprocessor, for example, a password. 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 the cobpre options.