Quantum Instruments DLT 7000 Cassette Player User Manual


 
SCSI Commands
5-174 Quantum DLT 7000 Tape System
WRITE FILEMARKS Command (10h) (continued)
The WRITE FILEMARKS command may be used to force the tape drive to write
any buffered WRITE data to the tape medium. If the tape drive is in buffered
mode, and WRITE FILEMARKS is received, the requested filemarks are
appended to the data and the WRITE buffer contents are flushed to 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 medium.
If End of Tape (EOT) is detected while writing filemarks, the tape drive finishes
writing any buffered data and terminates with CHECK CONDITION status.
Within the Sense data, the End of Medium (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 tape drive attempts to
complete any subsequent WRITE FILEMARKS, returning a CHECK
CONDITION status in each case. If the tape drive encounters the physical EOM
when attempting a WRITE FILEMARKS, it returns CHECK CONDITION
status.