Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

Sample I Process Program Code
Distributed Systems Network Management (DSNM) Subsystem Interface Development
Guide109759 D-7
Implementing DSNM Commands
Implementing DSNM Commands
DSNM commands are implemented by SPIFFY subsystem commands as follows.
Implementing the Informational Commands
The DSNM STATUS and INFO commands can be issued by executing the
TELLABOUT command and selecting different informational details to return in the
output. The SPIFFY subsystem does not support a STATISTICS command or its
equivalent.
Implementing the Hierarchy Modifiers
Assuming that object names are unique under a given manager, the various
combinations of “*” names and the ANYTHING type code listed next can be used to
construct all of the possible DSNM hierarchy modifiers.
Implementing the State Modifiers
There is no SPIFFY equivalent of SMOD. The only way to implement something
analogous is by using the TELLABOUT command and selecting those objects whose
DSNM mapped state satisfies the DSNM SMOD.
DSNM Command
SPIFFY
Command Comment
INFO TELLABOUT Returns selected information fields according
to object type.
STATUS TELLABOUT Returns selected status information.
STATISTICS N.A. Returns “No STATISTICS Available (see
following note).
AGGREGATE TELLABOUT Combines the results of:
NAME * POP * TYPE ANYTHING
by object type.
Note. How you handle a DSNM command when no subsystem-equivalent command exists
depends on what is operationally reasonable and how much information you want to return.
For example, with the STATISTICS command here, you could return
ZDSN^ERR^UNSUPPORTED^BY^SUBSYS or ZDSN^ERR^NOERR, or possibly have the
I process keep its own statistics, thus simulating the operation.
TELLABOUT Command with
HMOD NAME POP TYPE
ONLY objname * typecode
SUBONLY * objname ANYTHING
ALL
followed by
objname
*
*
objname
typecode
ANYTHING