TMF Management Programming Manual (G06.24+)

Commands and Responses
HP NonStop TMF Management Programming Manual522420-002
5-21
ADD MEDIA
Tokens in Command Buffer
ZTMF-TKN-MEDIA
specifies the name of the storage media. This token is required; multiple
occurrences are allowed.
ZTMF-MAP-ADD-MEDIA
is an extensible structured token specifying the attributes of the media to be added
to the TMF catalog. This token is required; only one occurrence is allowed. This
token contains the following fields:
ZMEDIUM
specifies the type of storage media. This field is required. The following
values are valid:
ZLABELMEDIA
specifies whether a tape volume is to be labeled (in addition to being added to
the TMF catalog). This field is required. The following values are valid:
ZOVERWRITELABEL
specifies whether an existing tape label is to be overwritten with a new tape
label. This field is only valid if ZLABELMEDIA is ZSPI-VAL-TRUE. The
following values are valid; the default is ZSPI-VAL-FALSE: ZSPI-VAL-TRUE.
Existing labels are overwritten.
ZMEDIASTATUS
specifies the status assigned to the media in the media catalog. This field is
only valid if ZLABELMEDIA is ZSPI-VAL-FALSE. The following values are
valid:
ZTMF-VAL-ASSIGNED
specifies that the tape volume contains valid dumps. If the catalog already
contains an entry for the tape volume specified, an error message is
returned.
ZTMF-VAL-MEDIUMTAPE Tape storage media
ZTMF-VAL-MEDIUMMAGNETICDISK Magnetic disk storage media
ZSPI-VAL-TRUE The tape volume is labeled.
ZSPI-VAL-FALSE The tape volume is not labeled.
ZSPI-VAL-FALSE Existing labels are not overwritten.