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

The SPI Procedures
SPI Programming Manual427506-006
3-5
General Syntax
header-type input
INT:value
specifies the type of SPI buffer to initialize. This parameter determines how SSINIT
interprets the parameters that follow it. You should always give the value ZSPI-
VAL-CMDHDR (0), indicating the standard command header (for a command or
response). Other values are used internally by software for the NonStop server.
command input
INT:value
is the command number. If not supplied, it defaults to zero.
object-type input
INT:value
is the object type. If not supplied, it defaults to ZSPI-VAL-NULL-OBJECT-TYPE.
max-resp input
INT:value
is the maximum number of response records to be returned by the subsystem in
each reply message. A value of zero (the default) specifies one response record
per reply, not enclosed in a list. Any positive value specifies up to that number of
response records, each enclosed in a list. A value of -1 specifies as many
response records as will fit, each enclosed in a list.
server-version input
INT:value
is normally provided only by subsystems or by other programs that are acting as a
server. In those cases, it is a 16-bit unsigned integer value representing the
version of the subsystem or server program. SSINIT places this value in the
header token ZSPI-TKN-SERVER-VERSION for use in version compatibility
checking. If not supplied, this version number defaults to zero.
checksum input
INT:value
is the checksum flag. If this parameter is zero or not supplied, checksum protection
of the buffer is disabled; if it is nonzero, checksum protection is enabled.
max-field-version input
INT:value
is an unsigned integer value that initializes the maximum field version field of the
buffer header. If it is not supplied, a default value of zero is used.