The wait and reset statement has the same effect as the wait statement, except that the happened state of the event is reset to NOT HAPPENED after the process reactivates.
The following ALGOL statement waits and resets the event EWAIT:
WAITANDRESET (EWAIT);
The following COBOL statement has the same effect:
WAIT AND RESET UNTIL EWAIT.

