beautypg.com

Write 0ah, Write 0ah 15, Pre-execution checks: command descriptor block – HP C737990900 User Manual

Page 154

background image

154 Commands

WRITE 0Ah

Zero or more blocks of data are transferred from the host to tape starting at the

current logical position.
It is recommended that the Buffered Mode field of the

MODE SELECT

Parameter

is set to either 1 or 2 so that Immediate reporting is enabled; upon a write

command the drive will report

GOOD

status once the data is successfully

transferred to the data buffer (but not necessarily to tape).
Data held in the buffer is flushed to tape in the following circumstances:

A SCSI command is received that forces a flush:

Buffered mode is not enabled. If buffered mode has not been set to 1 or 2,

the buffer is flushed before the command completes.

The write delay time is exceeded. This is defined by the Write Delay field of

the Device Configuration Mode Select page. If the drive is idle for longer

than this period (no operations that access the tape have been performed),

any data in the buffer is flushed to tape.

Pre-Execution Checks:

Command Descriptor Block:

ERASE

LOAD

LOCATE

LOG SELECT

MODE SELECT READ

REWIND

SEND DIAGNOSTIC

SPACE

VERIFY

WRITE BUFFER

Illegal Field

Fixed Bit

Reservation

Deferred Error

Unit Attention

Media Access

Media Write

Diagnostic Status

7

6

5

4

3

2

1

0

0

Operation Code (0Ah)

1

Reserved (0)

Fixed

2

(MSB)

Transfer Length

3
4

(LSB)

5

Control