The CMPR2/NOCMPR2 compiler option is no longer supported in Enterprise COBOL. Programs compiled with Enterprise COBOL behave as if NOCMPR2 is always in effect.
To identify OS/VS COBOL and VS COBOL II Release 2 statements that are either not supported or changed in Enterprise COBOL, use the FLAGMIG compiler option together with the CMPR2 compiler option and a previous release of a COBOL compiler, such as IBM COBOL. By compiling existing application programs with CMPR2 and FLAGMIG using an older compiler, you can identify some of the source language that needs modification in order to compile with Enterprise COBOL.