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 compiler options:

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 85 COBOL 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.
NUMPROC(MIG)

Enterprise COBOL does not support the NUMPROC(MIG) option in versions after Version 4. If NUMPROC(MIG) is specified, Enterprise COBOL issues a warning message and the compilation will get the default setting for NUMPROC. This is either the user-customized default or the IBM default, which is NUMPROC(NOPFD).

To migrate your programs compiled with NUMPROC(MIG) to Enterprise COBOL V6, consider using the Start of changeNUMCHECKEnd of change compiler option to help you migrate to NUMPROC(PFD):
  1. Compile your programs with Start of changeNUMCHECK(ZON,PAC)End of change and NUMPROC(PFD).
  2. Run a thorough regression test with a good breadth of input data.
If your applications get no Start of changeNUMCHECKEnd of change messages or Start of changeNUMCHECKEnd of change abends, you can safely compile with NUMPROC(PFD) and Start of changeNONUMCHECKEnd of change for production. This will not only solve the invalid data problem, but NUMPROC(PFD) is the most efficient setting for the NUMPROC compiler option.

Start of changeFor details, see Start of changeNUMCHECKEnd of change in the Enterprise COBOL for z/OS® Programming Guide.End of change

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 IGYCNOOO reserved word table is not shipped with the Enterprise COBOL compiler.