Compiler options not supported in Enterprise COBOL

Table 1 lists the VS COBOL II compiler options that are not supported in Enterprise COBOL. In some cases, the function of the VS COBOL II compiler option is mapped to an Enterprise COBOL compiler option, as described in the comments section.

Table 1. Compiler options not supported in Enterprise COBOL
VS COBOL II compiler options Comments
CMPR2 The CMPR2 option is not supported. You must convert programs compiled with CMPR2 to 85 COBOL Standard in order to compile them with Enterprise COBOL.
FDUMP/NOFDUMP Enterprise COBOL does not provide the FDUMP compiler option. For existing applications, FDUMP is mapped to the Enterprise COBOL TEST compiler option, which can provide equivalent function and more.

Language Environment® generates a better formatted dump than VS COBOL II, regardless of the FDUMP option. The use of TEST enables Language Environment to include the symbolic dump of information about data items in the formatted dump.

For information about how to obtain the Language Environment formatted dump at abnormal termination, see the Language Environment Debugging Guide and Run-Time Messages.

If NOFDUMP is encountered, Enterprise COBOL issues a warning message because NOFDUMP is not supported.

FLAGMIG The FLAGMIG option is not supported in Enterprise COBOL. FLAGMIG requires CMPR2, which is not supported in Enterprise COBOL. To get similar migration flagging use CCCA, this Migration Guide, or a compiler released prior to Enterprise COBOL to compile programs that use FLAGMIG.
FLAGSAA Enterprise COBOL does not support the FLAGSAA option. If FLAGSAA is specified, Enterprise COBOL issues a warning message.
NUMPROC(MIG)

Enterprise COBOL V5 and V6 does not support the NUMPROC(MIG) option. 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

RES/NORES Enterprise COBOL does not provide the RES/NORES compiler option. If RES or NORES are encountered, Enterprise COBOL issues an error message.