Cobol Question:
Download Questions PDF

What is an in line PERFORM? When would you use it? Anything else you wish 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 PERFORMs 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.

Download Cobol Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between NEXT SENTENCE and CONTINUE?What is an explicit scope terminator?