SPI Common Extensions Manual

Commands and Responses
SPI Common Extensions Manual427508-001
5-47
LISTDEV
Example
-> INITIALIZE DISK $DATA1
LISTDEV
ZCOM-CMD-LISTDEV (nonsensitive)
The LISTDEV command retrieves DEVICEINFO information for all devices of the type
and subtype specified in the command. For more information, see the
Subsystem
Control Point (SCP) Management Programming Manual.
ZSCP-TKN-DEVTYPE
specifies the device type and subtype to be listed. This token can appear multiple
times in the command to specify several device types. For valid device
type/subtype combinations, see the
Subsystem Control Point (SCP) Management
Programming Manual
.
To retrieve information for all devices of the specified type, regardless of subtype,
set the device subtype to -1.
LISTDEV 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
ZSCP-TKN-DEVTYPE token-type ZSPI-TYP-INT-PAIR
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
LISTDEV Response Tokens
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT
ZSCP-MAP-XLISTDEV-PROC
ZSCP-TKN-DEV-PROG-XFNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL