Cobol Question: Download Cobol PDF
What is an in line PERFORM When would you use it anything else to say about it?
Answer:
The PERFORM and END-PERFORM statements bracket all COBOL II statements between them. The COBOL equivalent is to PERFORM or PERFORM THRU a paragraph. In line, PERFORM’s work as long as there are no internal GO TOs, not even to an exit. The in line PERFORM for readability should not exceed a page length - often it will reference other PERFORM paragraphs.
Previous Question | Next Question |
What COBOL construct is the COBOL II EVALUATE meant to replace? | Can you call an OS VS COBOL pgm from a VS COBOL II pgm ? |