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

SPI Concepts and Protocol
SPI Programming Manual427506-006
2-31
Multirecord Responses
Figure 2-8 shows how a requester returns response records when the MAXRESP
header token is allowed to default to 0. Only one response record is returned in each
response message, and this record in not enclosed in a data list. If the command is
applied to more than one object, each response record is returned in a separate
response message, each but the last of which includes the context token, following the
standard protocol for command continuation.
Figure 2-8. ZSPI-TKN-MAXRESP = 0 (Default)
VST012.vsd
The server returns one response record in each response message. Response records are not
enclosed in data lists.
H Ra T1a T2a
Example: MAXRESP = 0 and one object qualifies for processing:
The server returns one message containing one response record (not in a datalist).
Example: MAXRESP = 0 and five objects (a through e) qualify for processing:
H Ra T1a T2a C
H Rd T1d T2d C
H Rb T1b T2b C
H Rc T1c T2c C
H Re T1e T2e
The server returns five messages, each containing one response record (not in a list).
Legend
R
x
ZSPI-TKN-RETCODE for object
x
C ZSPI-TKN-CONTEXT
H Message header T
nx
Token
n
describing object
x