Message
First, recompile all programs under an earlier COBOL compiler
with the CMPR2 and FLAGMIG compiler options. This will flag any PERFORM
... VARYING statements that have dependencies between the following
variables:
- id-6 is (potentially) dependent on id-2
- id-9 is (potentially) dependent on id-5
- id-4 is (potentially) dependent on id-5
- id-7 is (potentially) dependent on id-8
Only PERFORM ... VARYING with the AFTER phrase is affected.
For example, compiling the program under an earlier COBOL compiler
with the CMPR2 and FLAGMIG compiler options causes the compiler to
issue the following message when id-6 is dependent on id-2:
- IGYPA3209-W
- **MIGR** "PERFORM ... VARYING" operand "ID-6 (NUMERIC INTEGER)" was dependent on "ID-2 (NUMERIC INTEGER)". Under the "NOCMPR2" compiler option, the rules for augmenting/setting "PERFORM ... VARYING" operands have changed, and this statement may have incompatible results.