Interview Questions

In a COBOL II PERFORM statement ...

COBOL Interview Questions


(Continued from previous question...)

In a COBOL II PERFORM statement ...

Q: In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

A: In COBOL II the optional clause WITH TEST BEFORE or WITH TEST AFTER can be added to all perform statements. By defaulr the test is performed before the perform.

(Continued on next question...)

Other Interview Questions