CB2-1500-00-E EVALUATE or SEARCH was terminated when encountered on line

A WHEN statement found after an EVALUATE statement was previously terminated either by indentation or an END-EVALUATE statement.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Move the WHEN statement and statement block before the END-EVALUATE statement or fix the indentation to line up under the EVALUATE statement.