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.
Compiler option | Comments |
---|---|
DATEPROC | Support for Year 2000 extensions has been removed. |
LIB | The
compiler behaves as though COPY, BASIS, or REPLACE statements are included in a program and searches
for the specified library or libraries to retrieve the copied code referenced in those
statements. For details about how to define the source libraries, see Specifying source libraries (SYSLIB) in the Enterprise COBOL for z/OS Programming Guide. |
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 NUMCHECK compiler option to help you
migrate to NUMPROC(PFD):
For details, see NUMCHECK in the Enterprise COBOL for z/OS Programming Guide. |
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 CHECK(OFF)
runtime
option.
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.