Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

FOBJECT
A-48
109759Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNM Library Services
FOBJECT
Every subsystem object processed by DSNM is defined by the contents of a
ZDSN^DDL^FOBJECT^DEF structure, known as a “formatted object.” The
_INPUT^LM^HEADER and _OUTPUT^LM^HEADER defines assign the name FOBJ
to the formatted object structure portions of input and output list members.
It is important that every object processed by the command thread be represented in an
FOBJECT structure, properly initialized with the _FOBJECT^INIT procedure.
The FOBJECT structure contains fields used directly by the command thread; it also
contains internal fields used by the I process frame and libraries.
Example
In the following example, information about the subordinate of an input object is entered
into an initialized output object for release to the frame:
STRUCT input^lm^def (*);
BEGIN
_INPUT^LM^HEADER;
...
END;
STRUCT output^lm^def (*);
BEGIN
_OUTPUT^LM^HEADER;
...
END;
STRUCT command^context^def (*);
BEGIN
_COMMAND^CONTEXT^HEADER;
INT .EXT inobj (input^lm^def);
INT .EXT outobj (output^lm^def);
END;
!Thread proc locals!
INT .EXT cx (command^context^def) = _THREAD^CONTEXT^ADDRESS;
INT .EXT in (input^def) := @cx._INPUT;
INT .EXT out (output^def) := @cx._OUTPUT;
.
.