Subsystem Control Point (SCP) Management Programming Manual

Commands and Responses
Subsystem Control Point (SCP) Management Programming Manual520619-001
5-6
Common Response Tokens
ZSPI-TKN-RETCODE
indicates the outcome of command processing. Possible values are:
This token is always present in the response.
ZSPI-TKN-ERRLIST
indicates the beginning of an error list. ZSPI-TKN-ENDLIST indicates the end of
the list. An error list is put in a response for each error or warning that occurred
during processing of the command. Error lists can be nested.
ZSPI-TKN-ERROR
specifies the error and identifies the subsystem that prepared the error list. This
token is always present in an error list.
ZCOM-TKN-OBJTYPE
contains the name of the object involved in the error.
ZCOM-TKN-OBJNAME
contains the type of the object involved in the error.
ZSPI-TKN-CONTEXT
indicates that all of the responses resulting from command processing have not been
returned. Your application can retrieve the next response buffer by moving ZSPI-
TKN-CONTEXT from the current response to a copy of the original command
message and reissuing the command.
0 (ZCOM-ERR-OK) No error occurred during command processing. If a warning
occurred, the response contains an error list that specifies the
warning.
<>0 An error occurred during command processing. If an error
occurred, the response contains an error list that specifies the
error.