FLAGMIG4 compiler option
The FLAGMIG4 option helps you migrate to Enterprise COBOL V5 or V6. FLAGMIG4 is available in Enterprise COBOL V4.2 with PTF for APAR PM93450 installed. It is also recommended that you install PTFs for APARs PI12240, PI26838, and PI58762 as these contain updates to the FLAGMIG4 option.
The FLAGMIG4 option identifies language elements in Enterprise COBOL V4 programs that are not supported, or that are supported differently in Enterprise COBOL V5 or V6. The compiler generates a warning diagnostic message for all such language elements.
Note: The source
code changes for COBOL V5 and V6 are rarely used COBOL language features
and do not affect 99% of COBOL users.