![background image](http://html2.mh-extra.com/html/quantum/dlt-s4/dlt-s4_reference-manual_3531879379.webp)
Chapter 4 SCSI Commands
WRITE FILEMARKS Command (10h)
DLT-S4 Interface Reference Guide
345
Table 195
WRITE
FILEMARKS
Command
—
Field Descriptions
The
WRITE FILEMARKS
command can be used to force the drive to write
any buffered WRITE data to the tape medium. If the drive is in Buffered
mode when it receives a
WRITE FILEMARKS
with the Immed bit set to 0, it
appends the requested Filemarks to the data and flushes the
WRITE
buffer
contents to the tape medium. A value of 0 in the Number of Filemarks
field indicates that no Filemarks are to be written to the tape medium, but
still flushes any
WRITE
data to the tape if Immed is set to 0.
Field
Description
WSMK
Write Setmark. Must be set to 0.
Immed
Immediate. When set to 0, the drive does not return status until all buffered data and
Filemarks are written to the medium. When set to 1, the drive returns status as soon as it
validates the CDB. If set to 1 and the drive is not operating in Buffered mode (see
table 53
on page 101), the drive returns a
CHECK CONDITION
status with the Sense Key set to
ILLEGAL REQUEST
and the Additional Sense Code set to
INVALID FIELD IN CDB
.
Transfer
Length
Contains the number of consecutive Filemarks to be written to the tape medium. A value
of 0 is not considered an error; the drive returns
GOOD
status.