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

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

Showing Answers 1 - 1 of 1 Answers

gowda

  • Aug 5th, 2005
 

if you coded test before the cond is 1st checked then perform statement will execute where as in test after the perform statement will execute 1st then the cond is checked

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions