Limitations to streamline program structure
The streamline program structure feature attempts to remove statements such as GO TO or PERFORM THRU, but it cannot successfully remove these statements in all instances.
Certain scenarios where it can encounter failure includes the following:
- Scenario 1: We cannot remove GO TO statements that transfer control into a loop at locations other than the beginning of the loop.
- Scenario 2We cannot remove GO TO statements which forms an infinite loop.
- Scenario 3We have limited support to remove GO TO statements which are used to transfer control out of loops that are nested more than 3 levels deep.
- Scenario 4We cannot remove conditional GO TO statements.