Setting Compiler Options - COBOL Compilers

 
 

Use this pane area to pass compiler-specific options to the compiler. These options will override the default settings.

The COBOL compiler command, cob2, is shown in the Command column. You can use other compiler commands for compiling programs if your environment requires it. To use another compiler command, type it in the Command column, or select from a list by clicking on the downwards arrow next to the Command column.

To pass options to the compilers, type them in the Options column. The options are passed directly to the compilers.

Notes:

  1. The Program Builder only recognizes errors from the compilers that contain file, line, and column information.
  2. Do not remove -qadata -qexit=adexit=iwzrmgux:: > /dev/null from the makefile. The Program Builder will not detect COBOL errors if this line is removed.
  3. Entries in the Options column are interpreted by the Shell. You must take care when entering options that contain shell metacharacters. For example, to enter the SQL option shown below into the Options column,
    -q"SQL('BINDFILE')"

    you must actually type:

    -q"SQL('\''BINDFILE'\'')"


Setting Compiler Options - COBOL
Setting Compiler Options - COBOL Levels
Setting Compiler Options - COBOL Include Directories