TAPE UNIT SCSI COMMANDS

M2488 PRODUCT GUIDE

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 Description

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

 

 

0

 

1

 

0

 

1

 

0

 

1

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LUN

 

 

 

 

 

Reserved

 

BT

 

 

CP

 

 

Immed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

MSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Block Address

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

Partition

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

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.

 

 

 

 

4-28

CG00000-011503 REV. A

April 1997

Page 110
Image 110
Fujitsu M2488 manual Locate command 2Bh, Locate CDB Description, Locate Field Description, Lsb