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

ZSPI Data Definitions
SPI Programming Manual427506-006
4-49
Miscellaneous Values
ADDR, ZSPI-TKN-LEN, ZSPI-TKN-OFFSET, and ZSPI-TKN-COUNT. Using the null
token code has the same effect as omitting
token-code: the operation returns the
address, length, or offset of the currently selected token, or counts occurrences of the
current token beginning with the current occurrence.
ZSPI-VAL-NULL-VERSION
ZSPI-VAL-NULL-VERSION is the null version value. The subsystem ID returned by
SSGET with the special token code ZSPI-TKN-DEFAULT-SSID has this value in the
version field. When a subsystem reports a pass-through error from another subsystem
that does not itself support a programmatic command interface based on SPI, this
value appears for the version in the subsystem ID part of the error token.
ZSPI-VAL-SSID
ZSPI-VAL-SSID is the subsystem ID value for SPI. Assign these values to the structure
fields: ZSPI-VAL-TANDEM to Z-OWNER, ZSPI-SSN-ZSPI to Z-NUMBER, and ZSPI-
VAL-VERSION to Z-VERSION.
ZSPI-VAL-TANDEM
ZSPI-VAL-TANDEM is the string value TANDEMbb (with two trailing blanks). Your
program must assign this value to the owner field of the subsystem ID before sending
a command to any NonStop Kernel subsystem.
ZSPI-VAL-TRUE
ZSPI-VAL-TRUE is the Boolean value TRUE, represented internally by the integer -1.
This named value is not supported by COBOL. To interpret Boolean values in COBOL,
see Section 7, SPI Programming in COBOL
.
constant ZSPI-VAL-NULL-VERSION value is 0.
def ZSPI-VAL-SSID tacl SSID.
02 Z-FILLER type character 8 value is ZSPI-VAL-TANDEM.
02 Z-OWNER type ZSPI-DDL-CHAR8 redefines Z-FILLER.
02 Z-NUMBER type ZSPI-DDL-INT value is ZSPI-SSN-ZSPI.
02 Z-VERSION type ZSPI-DDL-UINT value is ZSPI-VAL-
VERSION.
end
constant ZSPI-VAL-TANDEM value is "TANDEM ".
constant ZSPI-VAL-TRUE value is -1.