FLAGMIG compiler option

The FLAGMIG option helps identify source statements that need to be converted to compile under Enterprise COBOL. FLAGMIG is available in compilers prior to Enterprise COBOL that support the CMPR2 option. If you are already using Enterprise COBOL V4.2, it is recommended that you use the FLAGMIG4 option (available in Enterprise COBOL V4.2 with current service applied) to help you migrate to Enterprise COBOL 5 or 6.

To get similar migration flagging, use COBOL and CICS Command Level Conversion Aid for z/OS (CCCA), this Migration Guide, or a compiler released prior to Enterprise COBOL to compile programs that use FLAGMIG.

For details about using the FLAGMIG and CMPR2 options to aid you with migration to Enterprise COBOL, see Upgrading programs compiled with the CMPR2 compiler option.

If you are already using Enterprise COBOL V4.2 and want to migrate to Enterprise COBOL 5 or 6, use the FLAGMIG4 option to flag source code syntax-related changes required to move to Enterprise COBOL 5 or 6. For details, see FLAGMIG4 compiler option.