Commands and Responses
HP NonStop TMF Management Programming Manual—540140-008
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
For information on the tokens present in the command and response buffers, see the 
SPI Programming Manual. 
Tokens in Command Buffer
ZTMF-TKN-Media
specifies the name of the storage media. This token is required; multiple 
occurrences are allowed.
Command
ZTMF-CMD-Add
Object Type
ZTMF-OBJ-Media
Tokens in Command Buffer
ZTMF-TKN-Media             token-type ZTMF-TYP-Media.
ZTMF-MAP-Add-Media
def ZTMF-DDL-Add-Media. 
  02 ZMedium               token-type ZSPI-DDL-Enum.
  02 ZLabelMedia           token-type ZSPI-DDL-Boolean.
  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.
Tokens in Response Buffer
None.