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.
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 5 and 6 does not support the NUMPROC(MIG) option. If NUMPROC(MIG) is specified, Enterprise COBOL 5 or 6 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 6, 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. |
RES/NORES | Enterprise COBOL does not provide the RES/NORES compiler option. If RES or NORES are encountered, Enterprise COBOL issues an error message. |