OSI/MHS Management Programming Manual

Common Definitions
OSI/MHS Management Programming Manual424824-001
4-2
SPI Standard Definitions
Compaq provides each set of definitions in several programming languages, as described
under Definition Files on page 3-1. Compaq also provides the Data Definition
Language (DDL) source file from which the definitions (data declarations) in other
languages are derived. Wherever it is necessary to show the type or structure
represented by a symbolic name, this manual lists the DDL definition as it appears in the
corresponding DDL definition file. So, for example, fixed and extensible structures are
described by DDL DEF statements. For an explanation of DDL as it applies to SPI, see
the SPI Programming Manual.
SPI Standard Definitions
All items in the definition files have symbolic names. Definitions whose names begin
with ZSPI are SPI standard definitions. These definitions are available to all subsystems
that support the SPI procedures; they are provided in the SPI DDL file,
ZSPIDEF.ZSPIDDL, and in the corresponding files for other languages.
Tables 4-1 through 4-5 list the SPI standard definitions used in the management
programming interface to the OSI/MHS subsystem. SPI definitions applicable to the
OSI/MHS subsystem consist of header tokens and other simple tokens, token types and
fixed (nonextensible) structures, and token value names. Refer to the individual event
description in Section 6, Event Messages
, to determine if one of these tokens is
considered a core token for that event.
Descriptions of the SPI standard definitions as they apply to all subsystems are given in
the SPI Programming Manual. Subsystem-specific information about SPI tokens is
given following the tables.
Table 4-1. SPI Standard Definitions for Header Tokens
Header Tokens
ZSPI-TKN-BUFLEN ZSPI-TKN-MAX-FIELD-VERSION
ZSPI-TKN-CHECKSUM ZSPI-TKN-MAXRESP
ZSPI-TKN-COMMAND ZSPI-TKN-OBJECT-TYPE
ZSPI-TKN-HDRTYPE ZSPI-TKN-POSITION
ZSPI-TKN-LASTERR ZSPI-TKN-SERVER-VERSION
ZSPI-TKN-LASTERRCODE ZSPI-TKN-SSID
ZSPI-TKN-LASTPOSITION ZSPI-TKN-USEDLEN
Table 4-2. SPI Standard Definitions for Other Simple Tokens (page 1 of 2)
Other Simple Tokens
ZSPI-TKN-ALLOW-TYPE ZSPI-TKN-ERROR
ZSPI-TKN-COMMENT ZSPI-TKN-MANAGER
ZSPI-TKN-CONTEXT ZSPI-TKN-PROC-ERR