Options

Options

There are three common options for the Cobol compiler and one free-form text field where any other compiler option may be specified as described in the Enterprise Cobol for z/OS manual. The common compiler options are:

Cobol
Option: Value: Description:
RENT RENT Specifies that the COBOL compiler checks for possible coding violations of program reenterability.
NORENT Specifies that the COBOL compiler does not check for possible coding violations of program reenterability.
DYNAM DYNAM Cause non-nested, separately compiled programs to be handled dynamically at run time.
NODYNAM Do not cause non-nested, separately compiled programs to be handled dynamically at run time.
SQL YES Enables the DB2 coprocessor and to specify DB2 options.
NO Specify to have any SQL statements found in the source program diagnosed and discarded.

Other options

All other compiler options can be coded in the free-form text field labeled: Other options. Specify each compiler option as described in the Enterprise Cobol for z/OS manual mentioned above separated by a comma.