When entering tape cartridges into a tape library, OAM checks each
volume serial number in the insert category for uniqueness (see Volume serial number restrictions). If there is already an SMS-managed
DASD or optical volume with the same volume serial number as the tape
volume being entered, the cartridge entry is rejected. Also, if the
media type of the volume being entered does not match the media type
of the volume in the TCDB, cartridge entry is rejected. For cartridge
entry processing into a manual tape library, only DASD volumes are
checked for uniqueness.
If OAM determines that the volume serial number is unique, it obtains
the tape volume record from the TCDB. Depending on whether or not
a record is found, several different actions can occur:
- Tape volume record is not present (for a newly entered cartridge,
normal cartridge entry occurs).
- Tape volume record indicates the volume is in another library
(In an automated tape library environment, a check is made to determine
if the volume still resides in the other library. If the volume does
not reside in that library, entry processing continues. In a manual
tape library environment, since a check cannot be made, entry is denied).
- Tape volume record indicates volume is in this library (In an
automated tape library environment, entry processing continues. In
a manual tape library environment, since the possibility of a duplicate
exists, entry is denied.).
- Tape volume record indicates volume shelf-resident (normal cartridge
reentry).
Before the volume record is created or updated, the cartridge entry
installation exit (CBRUXENT) is called to set or verify values for
many of the record fields. See Cartridge entry installation exit (CBRUXENT) for a list of fields.