User's Guide

Chapter 2 Emulated Medium Changer SCSI Commands
Move Medium (A5h)
50 Quantum DX-Series Software Interface Guide
Move Medium (A5h) 2
The host uses the Move Medium command to move a tape cartridge from
one element to another within a DX-Series system. The host specifies the
source element and the destination element in the command block. The
DX-Series system then moves the tape cartridge contained in the source
element to the empty destination element.
If the Mode Select Data ADU (auto drive unload) bit is set to 1, and the
source element is a tape drive, the DX-Series system unloads the tape
drive as part of the Move Medium command.
The source and destination elements can be of any type: storage, medium
transport, import/export, or data transport element. The valid
combinations of source element type and destination element type are
summarized in the Mode Sense Device Capabilities Parameter Page
(see
table 35).
If a valid source element type and destination element type are specified,
the command is valid but the operation may still not be possible. In this
case the DX-Series system returns check condition status and sets the
sense key to Illegal Request.
The Additional Sense Code and Additional Sense Code Qualifier
indicate why an operation cannot be carried out. For example, this might
occur if the specified source element or destination element does not
contain a tape cartridge. For a summary of the conditions, sense key, and
additional sense encoding, see
table 226 on page 279.
The format for the Move Medium command block is shown in table 37.
Table 37 Move
Medium Command
Bit/Byte 7 6 5 4 3 2 1 0
0
Operation Code (A5h)
1
Logical Unit Number Reserved (00h)
2
(MSB)
Transport Element Address (0000h)
3
(LSB)