TMF Management Programming Manual (G06.24+)
Commands and Responses
HP NonStop TMF Management Programming Manual—522420-002
5-20
ADD MEDIA
ADD MEDIA
The ADD MEDIA command adds one or more tape volumes to the TMF catalog. It
also labels tape volumes.
Command Syntax
Refer to the SPI Programming Manual for tokens present in the command and
response buffers but not described below.
Command
ZTMF-CMD-ADD
Object Type
ZTMF-OBJ-MEDIA
Tokens in Command Buffer
ZTMF-TKN-MEDIA token-type ZTMF-TYP-MEDIA.
!r
ZTMF-MAP-ADD-MEDIA
def ZTMF-DDL-ADD-MEDIA.
!r
02 ZMEDIUM token-type ZSPI-DDL-ENUM.
!r
02 ZLABELMEDIA token-type ZSPI-DDL-BOOLEAN.
!r
02 ZOVERWRITELABEL token-type ZSPI-DDL-BOOLEAN.
02 ZUNLOADMEDIA token-type ZSPI-DDL-BOOLEAN.
02 ZMEDIASTATUS token-type ZSPI-DDL-ENUM.
02 ZDENSITY token-type ZSPI-DDL-ENUM.
02 ZTAPEMODE token-type ZSPI-DDL-ENUM.
02 ZTAPEDRIVE token-type ZSPI-DDL-DEVICE.
02 ZOPERATORDEVICE token-type ZSPI-DDL-DEVNAME.
end.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.