Administrators can label volumes with the LABEL LIBVOLUME command. The following example demonstrates using the LABEL LIBVOLUME command to label tapes for a manual library device and for an automated library device. Assume the automated device is attached to SCSI address 4, and the manual device is attached to SCSI address 5. You want to insert media into the device's entry/exit ports and you want the device's bar-code reader to read bar-code labels and overwrite existing labels with the information on the bar-code label.
label libvolume storagelibname overwrite=yes labelsource=barcode
label libvolume storagelibname volname
If the server is not available, issue the following command:
> dsmlabel -drive=mt3.0.0.0,116 -drive=mt4.0.0.0,117 -library=lb5.0.0.0 -overwrite -keep
> dsmlabel -drive=mt5.0.0.0
See the Administrator's Reference for more information about the LABEL LIBVOLUME command.