
TAPE UNIT SCSI COMMANDS M2488 PRODUCT GUIDE
4-150 CG00000-011503 REV. A April 1997
4-3.33 WRITE FILEMARKS command 10h
The WRITE FILEMARKS command requests the write of zero or more filemarks to tape. The
filemarks will be written at the current logical position on tape. The Filemark count field indicates the
number of filemarks to be written.
With a Filemark count of 0 and the Immediate bit set to 0, the WRITE FILEMARKS command will
cause any data or filemarks previously buffered for writes to be written to tape. This is the SCSI-2
recommended method of causing buffered data and filemarks to be written to tape.
4-3.33.1 WRITE FILEMARKS CDB Description
WRITE FILEMARKS is a six-byte command. The bytes are shown below and described in
Table 4-132. Common fields are described in paragraph 4-3.1 on page 4-4.
BITS
BYTES 7 6 5 4 3 2 1 0
0
0 0 0 1 0 0 0 0
1
LUN Reserved Immed
2
MSB
Filemark Count
3
4
LSB
5
Reserved Flag Link
Note: Changeable fields in the CDB are shaded.
Table 4-132. WRITE FILEMARKS Field Description
BYTE BIT VALUE DESCRIPTION
0 0-7 10h Operation code.
1 0 0 or 1 See Table 4-133 for description of Immediate (Immed) bit operation.
2-4 The 3 byte Filemark Count field is a 24 -bit unsigned number that indicates the
number of filemarks to be written.