SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)

Managing a Tape Drive
Management tasks for tape drives include:
“Enabling or Disabling Labeled-Tape Processing” (page 188)
“Resetting a Tape Drive” (page 188)
“Starting a Tape Drive” (page 189)
“Stopping a Tape Drive” (page 189)
For information about I/O commands for managing tape drives, see the Guardian Procedure Calls
Reference Manual.
Enabling or Disabling Labeled-Tape Processing
The ALTER SUBSYS Attributes (page 240) of the ALTER command toggles labeled-tape processing.
Although this labeled-tape processing setting overrides the CONFTEXT entry, it is in turn overridden
by the BLPCHECK or NLCHECK options of the MEDIACOM ALTER TAPEDRIVE command (described
in the DSM/Tape Catalog Operator Interface (MEDIACOM) Manual).
To enable labeled-tape processing:
1. Stop all available tape drives on the system:
-> STOP TAPE $*
2. Enable labeled-tape processing for the system:
-> ALTER $ZZSTO, LABELTAPE ON
3. Restart all available tape drives:
-> START TAPE $*
4. Exit SCF, then start the $ZSVR tape server process:
-> EXIT
> ZSERVER /NAME $ZSVR, NOWAIT, CPU primary-cpu / backup-cpu
To turn off labeled-tape processing:
1. Stop the $ZSVR tape server process:
-> STOP $ZSVR
2. Start SCF, then stop all available tape drives on the system:
> SCF
-> STOP TAPE $*
3. Disable labeled-tape processing for the system:
-> ALTER $ZZSTO, LABELTAPE OFF
4. Restart all available tape drives:
-> START TAPE $*
Resetting a Tape Drive
The “RESET TAPE Command” (page 273) puts a tape drive into the STOPPED state, substate DOWN,
reading for restarting:
1. Check the current status of the tape drive:
-> STATUS $S11500
2. If it is not in the STOPPED state, substate DOWN:
-> RESET $TAPE0
3. Start the tape drive:
-> START $TAPE0
188 Configuring and Managing Tape Drives