![HP Q153090901 Technical Reference Manual Download Page 186](http://html.mh-extra.com/html/hp/q153090901/q153090901_technical-reference-manual_165572186.webp)
Commands
186
WRITE FILEMARKS
10h
W
RITE
FILEMARKS
causes the specified number of filemarks to be written beginning at the current
logical position on tape.
If the Immed bit is set,
GOOD
status may be reported and the marks left in the data buffer.
Otherwise, all buffered data and marks are written before status is reported.
If zero filemarks are to be written, the Immed bit must be zero. The drive writes any buffered data
and marks to tape before reporting. This is the recommended way for a host to flush the buffer.
Pre-execution checks:
Command descriptor block:
CDB fields:
Specific status:
Write Filemark
sense is identical to status for the
Write
command.
Illegal Field
Reservation
Deferred Error
Unit Attention
Media Access
Media Write
Diagnostic Status
7
6
5
4
3
2
1
0
0
Operation Code (10h)
1
Reserved (0)
WSmk
Immed
2
(MSB)
Number of Filemarks
4
(LSB)
5
Control
Immed
0 Status will not be returned until the operation is complete.
1 The drive returns
GOOD
status following the pre-execution checks (that is, before the
command starts executing).
WSmk
0 This bit is not supported and must be set to zero.
Number of
Marks
0 Zero is valid only when immediate report is disabled.
>0 This number of filemarks is to be written.