Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

DSNM Library Services
Distributed Systems Network Management (DSNM) Subsystem Interface Development
Guide109759 A-67
_LAST^CI^ID
_LAST^CI^ID
_LAST^CI^ID is a command context field that points to the CIID structure from the last
_EV^IODONE event. Its type is _CI^IDPOINTER.
Example
In the following example, mgr is set to point to the CIID involved in the most-recently
completed CI communication:
_CI^IDPOINTER (mgr);
int .ext cx(command^context^def) = _THREAD^CONTEXT^ADDRESS;
IF _ON (_LAST^EVENTS, _EV^IODONE)
THEN
BEGIN
@mgr := cx._LAST^CI^ID;
IF _CI^LASTERROR (mgr) !check for errors
THEN ... ;
END;
command-context._LAST^CI^ID