COMPLETION (E1) = '0'B;
WAIT(E1);
The event E1 is inactive and incomplete.
The ONCODE associated with this message is 2050.
The ERROR condition is raised.
Modify the program so that the WAIT statement can never wait for an inactive or incomplete event.
IBM0S4