EMS Manual
Collector Commands and Responses
EMS Manual—426909-005
19-43
GETVERSION Command (ZCOM-CMD-
GETVERSION)
GETVERSION Command (ZCOM-CMD-GETVERSION)
The ZCOM-CMD-GETVERSION command returns the EMS collector version
information and optional supplemental information. Because the values of ZCOM-
CMD-GETVERSION and ZEMS-CMD-GETVERSION are equal (=0), the basic form of
this command is identical to ZEMS-CMD-GETVERSION. However, the newer ZCOM-
CMD-GETVERSION also returns the ZCOM-TKN-GETVSN-LVL token.
The -OBJTYPE token in the command is ignored.
Command Tokens
ZSPI-TKN-MAXRESP
ZCOM-TKN-XMGR
ZCOM-TKN-REQID-xxxx
ZCOM-TKN-OBJNAME
ZCOM-TKN-GETVSN-SUPP-PARAMS
ZSPI-TKN-CONTEXT
Token Type
ZSPI-TYP-INT
ZSPI-TYP-STRING
ZSPI-TYP-STRING
ZSPI-TYP-BOOLEAN
ZSPI-TYP-BYTESTRING
Usage
Basic SPI
Optional
Optional
Required
Optional
Basic SPI
Response Tokens
ZSPI-TKN-DATALIST
ZCOM-TKN-XMGR
ZCOM-TKN-RETCODE
ZCOM-TKN-OBJTYPE
ZCOM-TKN-OBJNAME
ZSPI-TKN-ERRLIST
ZSPI-TKN-ERROR
ZCOM-TKN-OBJTYPE
ZCOM-TKN-OBJNAME
ZSPI-TKN-ENDLIST
ZEMS-TKN-COLLECTOR
ZSPI-TKN-SERVER-BANNER
ZSPI-TKN-ENDLIST
ZSPI-TKN-CONTEXT
Token Type
ZSPI-TYP-LIST
ZSPI-TYP-STRING
ZSPI-TYP-INIT
ZSPI-TYP-ENUM
ZSPI-TYP-STRING
ZSPI-TYP-LIST
ZSPI-TYP-ERROR
ZSPI-TYP-ENUM
ZSPI-TYP-STRING
ZSPI-TYP-SSCTL
ZSPI-TYP-ENUM
ZSPI-TYP-CHAR50
ZSPI-TYP-SSCTL
ZSPI-TYP-BYTESTRING
Usage
Basic SPI
Unconditio
nal
Unconditio
nal
Unconditio
nal
Unconditio
nal
Error only
Error only
Error only
Error only
Error only
AC only
Unconditio
nal
Basic SPI
Basic SPI