Cobol Question:

Download Job Interview Questions and Answers PDF

When would you use in-line perform?

Cobol Interview Question
Cobol Interview Question

Answer:

When the body of the perform will not be used in other paragraphs. If the body of the perform is a generic type of code (used from various other places in the program), it would be better to put the code in a separate Para and use PERFORM Para name rather than in-line perform.

Download Cobol Interview Questions And Answers PDF

Previous QuestionNext Question
What the difference is between CONTINUE and NEXT SENTENCE ?What is a scope terminator Give example?