Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
DSNM Library Services
Distributed Systems Network Management (DSNM) Subsystem Interface Development 
Guide—109759 A-101
_REAL^LAST^EVENTS
_REAL^LAST^EVENTS
_REAL^LAST^EVENTS is set each time the command thread is dispatched to contain 
the event(s) that caused the current dispatch. Each bit represents a different event. 
_REAL^LAST^EVENTS is a define that returns a value and as such, can only be tested; 
it cannot be altered. _LAST^EVENTS, which is also set to the current event(s) at each 
dispatch, is a global variable that can be tested and altered.  
When a thread is invoked for the first time, _LAST^EVENTS and 
_REAL^LAST^EVENTS are set to _EV^STARTUP.
Example
The following example tests if the _EV^IODONE bit is on in _REAL^LAST^EVENTS:
IF _ON (_REAL^LAST^EVENTS, _EV^IODONE)
 THEN ...;
_REAL^LAST^EVENTS










