Standard Options

The following table lists the standard options available to the Compiler and a brief description of each.

-e This option must be followed by a file name (as the next separate argument). When specified, this option causes the error listing to be written to the specified file instead of the screen. This file is removed if no errors are found.The acurfap syntax can be used to specify a file located on a system being served by AcuConnect. See Remote File Name Handling for more information.
-o

This option must be followed by a file name (as the next separate argument), which becomes the name of the object file instead of source-name.int. This file is removed if the compiler detects errors in the source.

This option supports the use of acurfap syntax to create remote files and libraries. See Remote File Name Handling and Creating Remote Object Libraries for rules regarding the file name specifications for remote objects.

-v

This option has multiple applications:

  • If it is the first and only option on the command line, the compiler runs in Version mode. Using -v you can display version information, the copyright notice, and other information.
  • Otherwise, if it is used in combination with other options, it causes the compiler to be verbose about its progress.

Because -v is the lead-in sequence for the video options this option should be specified by itself.

-w This option causes warning messages to be suppressed (a warning condition is never a fatal compilation error). Suppressing warning messages can be helpful when you are converting programs from another COBOL dialect that uses slightly different syntaxes.Note that -w negates the effect of -Wa and -Wl, which generate additional warning messages.
-x This causes the CBLFLAGS environment variable to be ignored.See CBLFLAGS Environment Variable for more information.