Compiler Options Forwarded to Preprocessors

The following compiler options are automatically forwarded to each preprocessor, including the AcuSQL pre-compiler:

-Sa indicates that the input file is in ANSI format
-Sd directs the preprocessor to include debugging lines
-Si directs the preprocessor to include source lines according to a pattern in the Identification Area of the source code. The next separate argument is the pattern to match.
-Sl enables support for long ANSI format source code
-St indicates that the input file is in terminal format COBOL
-Sx directs the preprocessor to exclude source lines according to a pattern in the Identification Area of the source code. The next separate argument is the pattern to match.
-efile       directs the preprocessor to write error messages to specified file (if not specified, error messages are directed to standard error output)
Note: Where some options are mutually exclusive (-Sa, -Sl, and -St), the compiler command line will include at most one of those options. That one will be forwarded to the preprocessor.

Every preprocessor (written to the standards of the ACUCOBOL-GT General Preprocessor Interface) honors the -e option. Every preprocessor accepts the other options, although it may not make use of them.

Note: A preprocessor honors an option if it does what the option requires. A preprocessor accepts an option if it tolerates its presence on its command line but does not necessarily honor it. An option that is not honored or accepted causes a preprocessor to generate an error message.

See Using the Compiler for a description of all compiler options.