Compiler option changes from IBM Enterprise COBOL for z/OS®, Version 4

There have been a number of changes to compiler options.

The following options have been removed.

Table 1. Compiler options not available in Enterprise COBOL Version 5
Compiler option Comments
DATEPROC Support for Year 2000 extensions has been removed.
NOLIB Compiler behaves as though LIB is always in effect.
YEARWINDOW Support for Year 2000 extensions has been removed.
SIZE The SIZE option has been removed.
NUMPROC(MIG)

NUMPROC(PFD) and NUMPROC(NOPFD) are still available. If NUMPROC(MIG) is specified, Enterprise COBOL V5 or V6 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

Table 2. Compiler option not available in Enterprise COBOL Version 6
Compiler option Comments
LVLINFO Installation option removed. The build level information is put where LVLINFO used to be, and the SERVICE compiler option can be used for user service level information in place of LVLINFO.

Also note, the compiled-in range checks (for programs compiled with the SSRANGE compiler option) cannot be disabled at run time using the runtime options CHECK(OFF) or NOSSRANGE.

For descriptions of new and modified options for Enterprise COBOL Version 5 and Version 6, see Compiler option changes in Enterprise COBOL Version 5 and Version 6.

For a detailed list of options supported for the various compiler versions, see Option comparison.

For detailed descriptions of all options, see the Enterprise COBOL Programming Guide.