6.Command Specification | WRITE FILEMARKS |
|
|
6.32.WRITE FILEMARKS 10h
Bit | 7 |
| 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
| Operation | Code (10h) |
|
|
|
| |
1 |
|
|
|
| Reserved |
|
|
|
| WSmk | Immed | |
2 | (MSB) |
|
| Number of Filemarks or Setmarks |
|
|
| |||||
3 |
|
|
|
|
|
|
| |||||
4 |
|
|
|
|
|
|
|
|
|
|
| (LSB) |
5 |
|
|
|
|
|
| Control |
|
|
|
The WRITE FILEMARKS command causes the specified number of Filemarks or Setmarks to be written to the current logical position.
WSmk: If this bit is set, the drive writes a Setmark to tape instead of a Filemark.
Immed: If this bit is set, the drive returns status as soon as the CDB has been validated. An Immediate bit of ZERO indicates that status will not be returned until the operation has completed.
Number of Filemarks or Setmarks: 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. If this field is set to ZERO, the drive flushes any data buffer to the tape.
If the
If the drive encounters the physical EOM when attempting a WRITE FILEMARKS, a 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 field contains 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.
SONY |