Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
Overview of the Library Services
3-56
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
I Process Development Process
Parameter retrieval
procedures
@ci-config := _ADD^CI (ciname
,[ error ] ,[ error-filename ] );
Fills in _CI^DEF-defined structure
with CI configuration information.
@ss-config := _ADD^SUBSYS (ssname
,[ error ] ,[ error-filename ] );
Fills in _SUBSYS^DEF-defined
structure with subsystem and object
type configuration information.
error := _GET^PARAM ( scope , type
,[ subsys ] ,[ class ] ,[ component ]
, paramname , paramvalue:maxlen
,[ len ] ,[ error-filename ] );
Retrieves a DSNM configuration
parameter.
error := _GET^PROCESS^PARAM
( paramname , paramvalue:maxlen
,[ len ] );
Retrieves a process startup parameter.
Thread Procedure Control Flow
Return codes RETURN _RC^WAIT; Redispatches thread on next event.
RETURN _RC^STOP; Command completed normally.
RETURN _RC^ABORT ( error ); Command terminated abnormally.
Frame events _EV^CANCEL Cancel the current command.
_EV^CONTINUE Default event when no other event can
occur.
_EV^IODONE _SEND^CI request completed.
_EV^STARTUP Initial dispatch of thread after thread is
created.
_EV^TIMEOUT Timeout interval has elapsed.
Thread events CALL _SIGNAL^EVENT ( event(s) ); Lets thread generate its own event and
be redispatched immediately upon
return to frame.
_PRIVATE^THREAD^EVENT ( num ); Declares event different from any
frame-generated event.
Testing and
altering events
_LAST^EVENTS Tests or alters event(s) that caused
current thread dispatch.
_REAL^LAST^EVENTS Determines event(s) that caused current
thread dispatch.
List Processing
Declarations _LIST (list ); Declares a list.
_LISTPOINTER (list ); Declares extended pointer to a list.
Initializing CALL _INITIALIZE^LIST (list ); Sets a list structure to nulls.
Scanning @lm := _FIRST^LM (list ); Points to first member of list.
@lm := _LAST^LM (list ); Points to last member of list.
@lm := _SUCCESSOR^LM
(list, list-member );
Points to next member in first-to-last
order.
@lm := _PREDECESSOR^LM
(list, list-member );
Points to next member in last-to-first
order.
Table 3-1. Summary of I Process Development Library Services (page 3 of 6)
Function Arguments Description