TAPE UNIT SCSI COMMANDS M2488 PRODUCT GUIDE
4-28 CG00000-011503 REV. A April 1997
4-3.8 LOCATE command 2Bh
The LOCATE command causes the tape unit to position to a specific logical location. The Block
address field specifies the target location; the logical unit positions in front of the block associated
with the Block address (i.e. on the BOT side of the block.) Any buffered write data and filemarks are
written to the tape before the locate operation occurs.
4-3.8.1 LOCATE CDB Des cription
LOCATE is a ten-byte command. The bytes are shown below and described in Table 4-25. Com-
mon fields are described in paragraph 4-3.1 on page 4-4.
BITS
BYTES 7 6 5 4 3 2 1 0
00 0 1 0 1 0 1 1
1LUN Reserved BT CP Immed
2Reserved
3MSB
4Block Address
5
6LSB
7Reserved
8Partition
9Reserved Flag Link
Note: Changeable fields in the CDB are shaded.
Table 4-25. LOCATE Field Description
BYTE BIT VALUE DESCRIPTION
0 0-7 2Bh Operation code.
1 0 0 If Immed (Immediate) =0, status is not returned for the LOCATE com-
mand until the locate operation has completed or has failed
1 If Immed bit = 1, status is returned for the LOCATE command as soon as
the CDB has been validated and any buffered write data and filemarks have
been written to tape. The locate operation has been started but not neces-
sarily completed when status is returned.
1 1 0 If CP bit =0, the Change Partition field is ignored. (The tape format only
supports one partition, partition 0, so this field should only be set to 0 when
the CP bit is set to 1.)
1 If CP bit =1, the Change Partition field specifies the target partition.