Locate 2bh – HP C737990900 User Manual
Page 58

58 Commands
LOCATE
2Bh
The
LOCATE
command moves the current logical position to the position
specified by the command. The new position is specified by the offset from start
of the media in terms of blocks. The first block (that is, BOT) is block address 0.
Any unwritten data is written to tape before the command is executed.
Pre-Execution Checks:
Command Descriptor Block:
CDB Fields:
Illegal Field
Reservation
Deferred Error
Unit Attention
Media Access
Diagnostic Status
7
6
5
4
3
2
1
0
0
Operation Code (2Bh)
1
Reserved (0)
BT (0)
CP (0)
Immed
2
Reserved (0)
3
(MSB)
Block Address
6
(LSB)
7
Reserved (0)
8
Partition (0)
9
Control
BT
Block address Type.
This field is not supported and should always be set to zero indicating
that the Block Address field represents the count of all blocks and filemarks between the
beginning of the media and the current logical position.
CP
Change Partition.
This field is not supported and should be set to zero.
Immed
0 The drive only reports status after the Locate command has completed.
1 The drive reports status when it starts the command and continues with the positioning
in the background.