CEMT SET EVENTPROCESS

Change the status of event processing.

Note: Do not change the status of event processing (that is, set to start, drain, or stop) while a unit of work that captures synchronous transactional events is in progress because you might cause the events to be backed out and the transaction to end abnormally.

In the CICS Explorer, the Event processing operations operations view provides a functional equivalent to this command.

CEMT SET EVENTPROCESS

Read syntax diagramSkip visual syntax diagramCEMT SET EVENTPROCESSDRAINSTARTSTOP

Options

DRAIN
Set the status of event processing to draining. Event capture is stopped immediately.

Any transactional events on the dispatcher queue will be deleted. Transactional events are not considered captured until a syncpoint occurs and a syncpoint event will not now be captured.

Any non-transactional events will be emitted. When the last event on the queue is emitted, the state of event processing changes to stopped.

START
Set the status of event processing to started. For in-flight transactions, the capture of non-transactional events starts immediately and the capture of transactional events starts at the next sync point.
STOP
Set the status of event processing to stopped. Event capture is stopped immediately.

All events on the dispatcher queue are deleted.