X25AM Management Programming Manual
Commands and Responses
X25AM Management Programming Manual—528037-001
6-141
SWITCH Command
SWITCH Command
The SWITCH command switches an X25AM line-handler process either between
two processors or between two Communications Interface Unit (CIU) paths.
Tokens in Command Buffer
ZSPI-TKN-MANAGER
is a standard SPI manager token that contains the name of an X25AM line. This
token is not required to be present in the command, and duplicate occurrences are
not allowed. ZSPI-TKN-MANAGER is described in Section 5, Common Definitions.
Command
ZCOM-CMD-SWITCH
Object Type
ZCOM-OBJ-LINE
or
ZCOM-OBJ-PROCESS
Tokens in Command Buffer
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32.
ZCOM-TKN-SWITCH-CPU token-type ZSPI-TYP-INT. !{A}
ZCOM-TKN-SWITCH-PATH token-type ZSPI-TYP-ENUM. !{A}
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING. !{}
ZCOM-TKN-CMD-TIMEOUT token-type ZSPI-TYP-TIMESTAMP.
ZCOM-MAP-REQID
def ZCOM-DDL-REQID.
02 ZCRTPID type ZSPI-DDL-CRTPID. !{}
02 ZPAID type ZSPI-DDL-INT. !{}
end.
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-DATALIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING.
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.