OSI/MHS Management Programming Manual

SPI Programming Considerations for OSI/MHS
OSI/MHS Management Programming Manual424824-001
3-3
Message Elements for the OSI/MHS Subsystem
Likewise, a management application written in C that sends commands to and retrieves
event messages issued by the OSI/MHS subsystem would need the following
include statements:
#include "zspidef.zspic"
#include "zspidef.zcomc"
#include "zspidef.zmhsc"
#include "zspidef.zemsc"
#include "zspidef.zgrdc"
#include "zspidef.zcmkc"
#include "zspidef.zfilc"
If your application manages other subsystems besides OSI/MHS, it also needs the
definition files required by those subsystems. For instance, you might want your
OSI/MHS management application to manage the underlying subsystems, OSI/TS and
either X25AM, PAM (for G06 and above releases, or TLAM (for D-series releases), as
well. If you were writing the TAL management application mentioned above and also
wanted to manage OSI/AS, OSI/TS, and TLAM (on D-series systems) or PAM (on G06
and higher releases), you would need the following additional SOURCE statements:
?SOURCE ZSPIDEF.ZOSITAL
?SOURCE ZSPIDEF.ZOS4TAL
?SOURCE ZSPIDEF.ZLAMTAL
In C, you would need the following additional include statements:
#include "zspidef.zosic"
#include "zspidef.zos4c"
#include "zspidef.zlamc"
For information about the SPI, EMS, extended SPI definitions, operating system, and
file-system definitions, see the SPI Programming Manual, the EMS Manual, the
SPI Common Extensions Manual, and the Guardian Procedure Errors and Messages
Manual, respectively. The OSI/MHS definitions are described in this manual.
Message Elements for the OSI/MHS Subsystem
The following subsections provide subsystem-specific information about elements of
OSI/MHS commands, responses, and event messages. For general information about
these elements, and for descriptions of elements whose meaning is not subsystem-
specific (such as the subsystem ID), refer to the SPI Common Extensions Manual or, for
SPI tokens and other definitions, see the SPI Programming Manual.
Commands
The OSI/MHS subsystem supports the following commands:
ABORT INFO STATUS
ACTIVATE LISTOBJECTS STOP
ADD LISTOPENS SUSPEND