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:

Illegal Field

Reservation

Deferred Error

Unit Attention

Media Access

Diagnostic Status

Command descriptor block (10-byte version):

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(16-byte version):

 

 

7

 

6

5

 

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

Operation

Code (92h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Reserved (0)

 

 

Dest Type

 

Rsvd (0)

CP (0)

Immed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

Reserved (0)

 

 

 

BAM (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Partition (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

(MSB)

 

 

 

 

Logical Identifier

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

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.

 

 

 

 

LOCATE 2Bh 53

Commands