Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
I Process Development Process
Distributed Systems Network Management (DSNM) Subsystem Interface Development
Guide—109759 3-11
User-Written Procedures
_THREAD^TERMINATION^PROC (_COMMAND^TERMINATION^PROC);
BEGIN
< clean up thread environment >
_END^THREAD^TERMINATION^PROC;
ASSIGN Statements Required for Compilation
For compilation, you must assign the following subvolumes to be searched:
•
$SYSTEM.SYSTEM—or the subvolume on your system that contains EXTDECS0.
•
The volume(s) and subvolume(s) on your system that contain:
ZDSNDEFS
KDSNDEFS
ZDSNLIB
KDSNLIB
ZSPITAL
ZDSNTAL
•
The volume and subvolume on your system that contains definitions for your
subsystem.
For example:
ASSIGN SSV1, $SYSTEM.SYSTEM
ASSIGN SSV2, $DSNM.IDEVLIB
ASSIGN SSV3, $DSNM.IDEVDDL
User-Written Procedures
As illustrated in Figure 3-2 on page 3-4, user-written I process procedures consist of:
•
Two startup procedures: _STARTUP^MODE and _STARTUP.
•
The initial command thread procedure (_COMMAND^PROC), and other command
thread procedures and utility procedures as necessary.
•
An optional thread termination procedure: _COMMAND^TERMINATION^PROC.