Interview Questions

What is the use of EVALUATE statement?

COBOL Interview Questions


(Continued from previous question...)

What is the use of EVALUATE statement?

Evaluate is like a case statement and can be used to replace nested IFs. The difference between EVALUATE and case is that np 'break' is required for EVALUATE i. e. control comes out of the EVALUATE as soon as one match is made.

(Continued on next question...)

Other Interview Questions