DSM/Tape Catalog Management Programming Manual
Common Definitions
DSM/Tape Catalog Management Programming Manual—520481-003
4-25
ZMCS Maps
ZMCS-MAP-ADD-TAPEVOLUME
MEDIASRV includes this extensible structured token in ADD TAPEVOLUME
commands to describe the characteristics of tapes manually cataloged in a pool and
volume catalog. The characteristics of the tapes must satisfy the pool’s attributes, and
the tape name must not duplicate a name in the system search space. ZMCS-MAP-
ADD-TAPEVOLUME is based on ZMCS-DDL-ADD-TAPEVOLUME, which is defined as:
ZSTATUS
corresponds to the STATUS parameter of the MEDIACOM ADD TAPEVOLUME
command. ZSTATUS denotes the status of the tape. Valid values are:
ZLABELTYPE
corresponds to the LABELS parameter of the MEDIACOM ADD TAPEVOLUME
command. ZLABELTYPE denotes what type of label to create. Valid values are:
def ZMCS-DDL-ADD-TAPEVOLUME.
02 ZSTATUS type ZMCS-DDL-TAPEVOLSTATUS-ENM.
02 ZLABELTYPE type ZMCS-DDL-LABELTYPE-ENM.
02 ZMEDIATYPE type ZMCS-DDL-MEDIATYPE-ENM.
02 ZDENSITY type ZMCS-DDL-DENSITY-ENM.
02 ZCOUNT type ZSPI-DDL-INT.
02 ZOVERRIDE type ZSPI-DDL-BOOLEAN.
end.
ZMCS-VAL-TAPEVOLSTAT-UNSPECIF
The tape status is unspecified.
ZMCS-VAL-TAPEVOLSTAT-ASSIGNED
The tape is assigned.
ZMCS-VAL-TAPEVOLSTAT-BAD
The tape status is bad (unusable).
ZMCS-VAL-TAPEVOLSTAT-RELEASED
The tape status is released. All files on the
tape might be expired, but the tape should
not be reused until its status is manually
changed to scratch.
ZMCS-VAL-TAPEVOLSTAT-SCRATCH
The tape is ready for immediate use as a
scratch tape (default).
ZMCS-VAL-TAPEVOLSTAT-SELECTED
The tape is selected.
ZMCS-VAL-TAPEVOLSTAT-INUSE
The tape is in use.
ZMCS-VAL-TAPEVOLSTAT-ANY
Accepts a tape of any status.
ZMCS-VAL-LABELTYPE-UNSPECIF
The tape label type is unspecified.
ZMCS-VAL-LABELTYPE-ANSI
The tape label type is ANSI.
ZMCS-VAL-LABELTYPE-IBM
The tape label type is IBM-MVS.
ZMCS-VAL-LABELTYPE-UNLABELED
The tape is unlabeled.
ZMCS-VAL-LABELTYPE-BLP
The tape label type is BLP.