6.Command Specification
WRITE FILEMARKS
SONY AIT-3 drive SDX-700 series Ver.2.1
6-112
6.31.
WRITE FILEMARKS 10h
Bit
Byte
7 6 5 4 3 2 1 0
0
Operation Code (10h)
1
Logical Unit Number
Reserved
WSmk
Immed
2
(MSB)
3
Number of File-marks or Set-marks
4
(LSB)
5
Unused (00b)
Reserved
Flag
Link
WRITE FILEMARKS causes the specified number of File-marks or Set-marks to be written, beginning at the current
logical position on tape.
WSmk
: If this bit is set, the drive writes a Set-mark to tape instead of a File-mark.
Immed
: If this bit is set, the drive returns status as soon as the Command Descriptor Block has been validated. An
Immediate bit of ZERO indicates that status will not be returned until the operation has completed. If the drive is in
Un-buffered Mode and the Immediate bit is set, the drive will return a CHECK CONDITION status with an ILLEGAL
REQUEST sense key set.
Number of File-marks or Set-marks
: 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.
This command may be used to force the drive to write any buffered data to the tape. If the drive is in Buffered Mode,
and a WRITE FILEMARKS command is received without the Immediate bit set, the requested mark(s) will be
appended to the data and the write buffer will be flushed to tape. A ZERO value in the Number of File-marks field
indicates that no File-marks are to be written to the tape but the write buffer is still flushed to tape.
If EOT is detected while writing the marks, the drive will finish writing any buffered data. The command will terminate
with 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, 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 fields contain 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.
Summary of Contents for SDX-700C
Page 12: ...1 Introduction SONY AIT 3 drive SDX 700 series Ver 2 1 1 4 This page intentionally left blank ...
Page 28: ...3 Installation SONY AIT 3 drive SDX 700 series Ver 2 1 3 6 This page intentionally left blank ...
Page 178: ...10 Appendix C 10 2 SONY AIT 3 drive SDX 700 series Ver 2 1 This page intentionally left blank ...
Page 180: ...11 Appendix D 11 2 SONY AIT 3 drive SDX 700 series Ver 2 1 This page intentionally left blank ...
Page 186: ...12 Appendix E SONY AIT 3 drive SDX 700 series Ver 2 1 12 6 This page intentionally left blank ...