Generates a warning when an overlapping PERFORM range is detected in the program.
Restriction: This directive is supported for
JVM COBOL, but not native COBOL.
Syntax:
>>--.---.-.----.-ILSHOWPERFORMOVERLAP---><
+-/-+ +-NO-+
Properties:
Default:
|
Not set
|
Phase:
|
Any
|
IDE equivalent
|
None
|
Example:
In the example below, the PERFORM ranges a thru c, c thru f and f [thru f] overlap each other. By setting ILSHOWPERFORMOVERLAP, two warnings are produced: COBCH1663 to indicate the start of the first affected range and the number of overlapping PERFORM ranges, and COBCH1664 to indicate the start of each range affected.