Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


Compiler options not available in Enterprise COBOL

Most compiler options that are available in IBM COBOL can be used when you compile with Enterprise COBOL except for the following:

Table 1. Compiler options not available in Enterprise COBOL
Compiler option Comments
ANALYZE The ANALYZE option is not available with Enterprise COBOL. Use the CICS, SQL, and ADATA options instead.
CMPR2 The CMPR2 option is not available. You must convert programs compiled with CMPR2 to COBOL 85 standard to compile them with Enterprise COBOL
EVENTS The EVENTS option is not available. To emulate the COBOL/370 EVENTS compiler option:
  1. Specify the ADATA compiler option.
  2. Allocate SYSADATA and SYSEVENTS.
  3. Use the ADEXIT suboption of the EXIT compiler option with the sample exit program IGYADXIT.
FLAGMIG The FLAGMIG option is not available. FLAGMIG requires CMPR2, which is not available with Enterprise COBOL. Use CCCA, this Migration Guide, or a compiler released prior to Enterprise COBOL to compile programs using FLAGMIG.
IDLGEN The IDLGEN option is not available. IDLGEN requires SOM-based OO COBOL, which is not available with Enterprise COBOL.
TYPECHK The TYPECHK option is not available. TYPECHK requires SOM-based OO COBOL, which is not available with Enterprise COBOL.
WORD(NOOO) If you have existing IBM COBOL programs that were compiled with the WORD(NOOO) compiler option, they must be changed if they use any of the following reserved words: CLASS-ID, END-INVOKE, INHERITS, INVOKE, LOCAL-STORAGE, METACLASS, METHOD, METHOD-ID, OBJECT, OVERRIDE, RECURSIVE, REPOSITORY, RETURNING, SELF, SUPER.

The NOOO suboption of the WORD option is no longer supported in Enterprise COBOL.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)