COMMANDS AND RESPONSES
SWITCH Command
def ZCOM-DDL-REQID.
02 ZCRTPID type ZSPI-DDL-CRTPID.
02 ZPAID type ZSPI-DDL-INT.
end.
ZCOM-TKN-CMD-TIMEOUT token-type ZSPI-TYP-TIMESTAMP.
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32.
ZSPI-TKN-SSID token-type ZSPI-TYP-SSID. !{}
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT.
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ALLOW-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZSPI-TKN-SSID token-type ZSPI-TYP-SSID. !{}
ZSPI-TKN-SERVER-VERSION token-type ZSPI-TYP-INT. !{}
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING. !{}
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM. !{}
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM. !{}
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
Tokens in Command Buffer
ZCOM-TKN-OBJNAME specifies the line name associated with the
process to be switched. Your application must provide this token
in the command. This token is described in "Data-Communications
Standard Definitions" in Section 5, "Common Definitions," and the
Communications Management Programming Manual.
ZCOM-TKN-SWITCH-CPU and ZCOM-TKN-SWITCH-PATH are standard data-
communications tokens that describe what is to be switched.
These tokens are mutually exclusive. One of these tokens must be
in the command and duplicate occurrences are not allowed.
If ZCOM-TKN-SWITCH-CPU is specified, the process is to be
switched between processors. The value of this token is an
integer indicating the primary processor the process is to be
switched to. This value must refer to one of the two processors
specified at system generation time.
6-115