Interview Questions

When would you use in-line perform?

COBOL Interview Questions


(Continued from previous question...)

When would you use in-line perform?

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.

(Continued on next question...)

Other Interview Questions