MAINFRAME Questions and Answers

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 no ‘break’ is required for EVALUATE i.e. control comes out of the EVALUATE as soon as one match is made.