Controlling events
As discussed in The WAIT statement, the EVENT=event operand
on the WAIT statement names an event that WSim must
post before further messages can be generated. To create and control
the events that synchronize communication between simulated resources,
you can code the following control statements:
- EVENT
- CANCEL
- ON
- DEACT
- DATASAVE.
The following sections describe each statement and facility; Using events to synchronize multiple devices provides examples of using events to create complex simulations.