SPI Programming Manual (G06.24+, H06.03+, J06.03+)

ZSPI Data Definitions
SPI Programming Manual427506-006
4-47
Subsystem Numbers
Subsystem Numbers
The SPI definitions include a subsystem number for every NonStop Kernel subsystem
that has a programmatic command interface based on SPI, reports events through
EMS, or defines error information in SPI error lists. Your program should use the
symbolic names for these subsystem numbers. The names are all of the form ZSPI-
SSN-
subsys, where subsys is the appropriate four-character subsystem
abbreviation. See Appendix D, NonStop Kernel Subsystem Numbers and
Abbreviations.
Miscellaneous Values
The SPI standard definition files include these standard value names for tokens and
SPI procedure-call parameters. Use these names in your programs whenever
appropriate.
ZSPI-VAL-ALLOW-SEGMENTS
A requester assigns this value to ZSPI-TKN-ALLOW and includes that token in a
command message to ask a server for a segmented response.
ZSPI-VAL-CMDHDR
ZSPI-VAL-CMDHDR is the value of the header-type field of the SPI message header
for a command or response. Use this value for the SSINIT parameter
header-type
when initializing a command or response buffer.
ZSPI-VAL-EVTHDR
ZSPI-VAL-EVTHDR is the value of the header-type field of the SPI message header
for an event message.
ZSPI-VAL-FALSE
ZSPI-VAL-FALSE is the Boolean value FALSE, represented internally by the integer 0.
This named value is not supported by COBOL. To interpret Boolean values in COBOL,
see Section 7, SPI Programming in COBOL
.
constant ZSPI-VAL-ALLOW-SEGMENTS value is -1.
constant ZSPI-VAL-CMDHDR value is 0.
constant ZSPI-VAL-EVTHDR value is 1.
constant ZSPI-VAL-FALSE value is 0.