6.Command Specification

WRITE FILEMARKS

 

 

6.32.WRITE FILEMARKS 10h

Bit

7

 

6

5

 

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

Operation

Code (10h)

 

 

 

 

1

 

 

 

 

Reserved

 

 

 

 

WSmk

Immed

2

(MSB)

 

 

Number of Filemarks or Setmarks

 

 

 

3

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

(LSB)

5

 

 

 

 

 

 

Control

 

 

 

The WRITE FILEMARKS command causes the specified number of Filemarks or Setmarks to be written to the current logical position.

WSmk: If this bit is set, the drive writes a Setmark to tape instead of a Filemark.

Immed: If this bit is set, the drive returns status as soon as the CDB has been validated. An Immediate bit of ZERO indicates that status will not be returned until the operation has completed.

Number of Filemarks or Setmarks: This is the number of consecutive marks to be written to tape. A value of ZERO is not considered an error and GOOD status is returned. If this field is set to ZERO, the drive flushes any data buffer to the tape.

If the Early-Warning is detected while writing the marks, the drive will finish writing any buffered data. The command will terminate with a CHECK CONDITION status. Within the Sense Data, the EOM bit is set, the Sense Key field is set to NO SENSE and the Additional Sense Code and Additional Sense Code Qualifier fields are set to EOM/P detected. The drive will attempt to complete any subsequent WRITE FILEMARKS, returning a CHECK CONDITION status in each case.

If the drive encounters the physical EOM when attempting a WRITE FILEMARKS, a CHECK CONDITION status is returned. Within the Sense Data, the EOD and Valid bits are set and the Sense Key field is set to VOLUME OVERFLOW. The Information field contains the residue count and the Additional Sense Code and Additional Sense Code Qualifier fields are set to EOM/P Detected. The tape is physically positioned at EOM/P.

6-108

SONY AIT-5 drive SDX-1100V series Ver.1.0

Page 162
Image 162
Sony SDX-1100V/R manual Write Filemarks 10h, Reserved WSmk Immed, Number of Filemarks or Setmarks