Subsystem Control Point (SCP) Management Programming Manual

Commands and Responses
Subsystem Control Point (SCP) Management Programming Manual520619-001
5-32
STOP Command
STOP Command
ZCOM-CMD-STOP (sensitive)
The STOP command stops the SCP process to which it is directed. You can stop the
process only after outstanding opens from other processes are closed. You can modify
the STOP command to either fail if there are outstanding opens or to wait until the
outstanding opens are closed.
For an SCP process pair, the primary and backup processes are stopped.
The START command cancels a STOP command that has not completed pending
closure of outstanding opens.
ZCOM-TKN-CMD-POWER
specifies how abruptly the SCP process stops. Valid values are:
ZCOM-VAL-POWER-NORMAL (default)
If the SCP process is not currently opened by another process, it stops.
Otherwise, it returns the error ZSCP-ERR-OBJ-ACTV and continues to run.
Command
ZCOM-CMD-STOP
Object Type
ZCOM-OBJ-PROC
STOP Command Tokens
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32
or
ZCOM-TKN-XMGR token-type ZSPI-TYP-STRING
or
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZCOM-MAP-REQID
or
ZCOM-TKN-REQID-desc
ZCOM-TKN-CMD-TIMEOUT token-type ZSPI-TYP-TIMESTAMP
ZCOM-TKN-CMD-POWER token-type ZSPI-TYP-ENUM
ZCOM-TKN-STOP-OPT token-type ZSPI-TYP-ENUM
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM
ZSPI-TKN-ALLOW-TYPE token-type ZSPI-TYP-ALLOW-TYPE
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING