Load/Unload Command
August 2016 Commands 59
Load/Unload Command
The Load/Unload command loads or unloads tape from the device. Any buffered
write data and filemarks are written on the tape before an unload starts.
Caution – If the drive is in Buffered Mode and a previous
command terminated with Check Condition status (such as
buffered data unwritten to tape and the condition was not cleared
or otherwise recovered), the drive will discard any unwritten
buffered data and filemarks before this operation starts.
Notes:
• After a load or unload operation with the Immediate bit set, a Test Unit
Ready command returns Busy status while the Load/Unload command is
still in progress.
• After a successful load operation, Good status is returned. The next
command returns a sense key of unit attention.
• If a Load command is issued when a tape is already loaded, the Load
command is ignored.
• If the drive is installed in a library, a load command to an unloaded drive is
rejected.
TABLE 3-21 Load/Unload Command
Byte
Bit
76543210
0 Operation Code (1Bh)
1 Reserved Immed
2
thru
3
(MSB)
Reserved
(LSB)
4 Reserved Hold EOT Reten Load
5 Control Byte
Parameter Value
Immed: Immediate 0 = Return status when load or unload is complete
1 = Return status when load or unload is started
Hold Not supported
0 = Normal load/unload
EOT: End-Of-Tape 0 = Tape is unloaded from BOT
Reten: Retention 0 = Do not retention the tape
1 = Retention tape (ignored)
Load 0 = Unload the tape
1 = Load the tape