SPACE11h

SPACE provides a variety of positioning functions that are determined by Code and Count fields in the Command Descriptor Block. Both forward (towards EOM) and reverse (towards BOM) positioning are provided.

Any unwritten data in the buffer is flushed to tape before the space is started. The logical media position is then modified according to the Code and Count fields. Once the space has started, it will complete even if the SCSI operation is aborted for some reason (for example, the host selects and sends an abort message).

Pre-execution checks:

Illegal Field

Reservation

Deferred Error

Unit Attention

Media Access

Diagnostic Status

The Code field must be 0, 1 or 3. If it is not then CHECK CONDITION status is reported. Sense data will be as described in the Illegal Field Checks.

Command descriptor block:

6-byte version

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (11h)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

Reserved (0)

 

 

Code

 

 

 

 

 

 

 

 

 

 

 

 

 

2

(MSB)

 

 

 

 

 

 

 

 

 

3

 

 

 

Count (n)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-byte version

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (91h)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

Reserved (0)

 

 

Code

 

 

 

 

 

 

 

 

 

 

 

 

2–3

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

(MSB)

 

 

Count (n)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

(MSB)

 

 

Parameter Length

 

 

 

 

 

 

 

 

 

 

 

 

13

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

172 Commands