Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
General Command Processing Scheme
3-8
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
I Process Development Process
Figure 3-3. Frame/Command Thread Interaction: Processing a DSNM Command
007
I PROCESS PROGRAM FRAME
DSNM LIBRARY SERVICES
Create subsystem
operation for current
object.
Interpret response; build
formatted object structure and
append text as necessary for
each object.
When all objects have been
processed, terminate
thread.
COMMAND THREAD
(_COMMAND^PROC)
Initiate request for CI
communication and return to
frame (
_CI^ID, _OPEN^CI,
_SEND^CI
).
Release output object(s)
to frame
(
_RELEASE^OUTPUT,
_CLOSE^CI*).
Extract command, modifiers, and
objects and create input object
list.
Build response.
Present operation to subsystem
CI.
Create instance of command
thread (
CALL _COMMAND^PROC ).
When operation completes,
generate I/O completion event
and redispatch thread.
Receive command.
Return response to requester.
Requester
* Depending on the subsystem, a CI may be closed inside or outside the object processing loop.