SPI Common Extensions Manual
Commands and Responses
SPI Common Extensions Manual—427508-001
5-26
COPY
Examples
These examples show how the STORAGE subsystem uses the CONTROL command.
•
To correct a checksum error on the disk $DATA:
-> CONTROL DISK $DATA, CHECKSUM %H57342
•
To replace the system bootstrap code on $SYSTEM:
-> CONTROL DISK $SYSTEM, REPLACEBOOT $ISV.ZSYSDISC.SYSDISC
•
To unconditionally spare a sector with logical sector address %H0000795C on the
mirror volume of $DATA:
-> CONTROL DISK $DATA-M, %H795C, FORCED
COPY
ZCOM-CMD-COPY (sensitive)
The COPY command copies data from one location to another. Its use is subsystem-
specific. For more information about the use of the COPY command with a particular
subsystem, see the subsystem-specific help text.
CONTROL Response Tokens
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32
or
ZCOM-TKN-XMGR token-type ZSPI-TYP-STRING
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST
ZSPI-TKN-ERROR token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING