Multiple choice technology mainframe

Is the following Evaluate clause with no WHEN phrase coded syntactically valid?? (True-YES/False-No) EVALUATE A ALSO B END-EVALUATE.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

An EVALUATE statement with no WHEN phrases is syntactically valid in COBOL. Such a construct effectively does nothing but is legal syntax. The EVALUATE clause can have subjects (A ALSO B) and then immediately end without any conditional branches, which compiles without error.