Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

3. I Process Development Process
vi
109759Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
Contents
The STATISTICS Command 2-17
The STATUS Command 2-19
The STOP Command 2-21
The UPDATE Command 2-23
3. I Process Development Process
Scope of This Section 3-1
Function of the I Process 3-1
I Process Program Structure Concepts 3-3
General Command Processing Scheme 3-6
The Command Thread Source Environment 3-9
ASSIGN Statements Required for Compilation 3-11
User-Written Procedures 3-11
The _STARTUP^MODE Procedure 3-12
The _STARTUP Procedure 3-13
Declaring Thread Procedures: _THREAD^PROC and
_END^THREAD^PROC 3-14
The Initial Command Thread Procedure: _COMMAND^PROC 3-14
The Thread Termination Procedure: _COMMAND^TERMINATION^PROC 3-14
Command Context Space 3-15
Accessing the Command Context Space 3-17
Defining the Command Context Space 3-17
The Input Area: _INPUT 3-18
The Output Area: _OUTPUT 3-19
The Input and Output List Member Structures 3-20
Defining the Input List Member Structure: _INPUT^LM^HEADER 3-22
Defining the Output List Member Structure: _OUTPUT^LM^HEADER 3-22
Working With Lists 3-23
Declaring a List: _LIST 3-24
Initializing a List Structure: _INITIALIZE^LIST 3-24
Accessing the First Member of a List: _FIRST^LM 3-25
Accessing the Last Member of a List: _LAST^LM 3-25
Accessing the Next List Member: _SUCCESSOR^LM 3-25
Accessing the Previous List Member: _PREDECESSOR^LM 3-25
Declaring a Pointer to a List: _LISTPOINTER 3-25
Scanning a List 3-26
Processing a List 3-26
Maintaining a List 3-27
Requesting Status About a List 3-28
Initializing Object List Members: _FOBJECT^INIT 3-28