Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: COBOL Version 6.1

$
0
0
Author: Bill Woodger
Subject: Reply to: COBOL Version 6.1
Posted: Wed Mar 08, 2017 4:47 pm (GMT 5.5)

They are all GO TOs, wrapped up in fanciness, with no named target.

Code:

PERFORM PROGA THRU PROGC-EXIT

PROGA.
....
Somecondition
    EXIT PARAGRAPH
PROGB.
....
PROGC.
...
PROGC-EXIT.
    EXIT.


Where does EXIT PARAGRAPH go to?

Think about what someone may expect it to do, then look at the 6.1 Language Reference and see what actually happens.


Viewing all articles
Browse latest Browse all 8500

Trending Articles