Here GO TO used within the range of PERFORM. This kind of Controlled GO TO is fine with structured programming also!!.
Example: PERFORM 100-STEP1 THRU STEP-4 .. 100-STEP-1. ADD A TO B GIVING C. IF D = ZERO DISPLAY MULTIPLICATION NOT DONE GO TO 300-STEP3 END-IF. 200-STEP-2. MULTIPLY C BY D. 300-STEP-3. DISPLAY VALUE OF C: C.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!