An example of code that uses PERFORM in an inefficient way. This is also poor programming style.
procedure division. perform a thru c perform b thru d stop run. a. display "a". b. display "b". c. display "c". d. display "d".