Read specific status:
Event | Status | Key | Notes |
|
|
|
|
SILI error | CHECK | NO | ILI and Valid bits are set. The information bytes will be set |
| COND’N | SENSE | as follows: |
|
|
| Variable Block Mode: The difference between the |
|
|
| requested Transfer Length and the actual block size. If the |
|
|
| block size is bigger than the Transfer Length, this will be |
|
|
| negative (twos complement). |
|
|
| Fixed Block Mode: The difference between the requested |
|
|
| number of records and the number of whole good records |
|
|
| transferred. If the last record was under length, it is |
|
|
| considered “whole good” for the purposes of this |
|
|
| calculation. |
|
|
|
|
Filemark | CHECK | NO | The Mark bit is set. Logical position will be on the EOM |
encountered during | COND’N | SENSE | side of the filemark. Additional sense is 0001h (filemark |
a read |
|
| detected). The logical position will be on the EOM side of |
|
|
| the filemark. Residue information is as described below. |
|
|
|
|
EOD encountered | CHECK | BLANK | Additional sense is set to 0005h (EOD detected). Residue |
during a read | COND’N | CHECK | information is as described below. |
|
|
|
|
EOP/M | CHECK | MEDIUM | The EOM bit is set. Additional sense is set to 0002h (EOP/ |
encountered during | COND’N | ERROR | M detected). Residue information is as described below. |
a read |
|
|
|
|
|
|
|
Failure to read data | CHECK | MEDIUM | Additional sense is set to 1100h (unrecovered read error) |
through media error | COND’N | ERROR | or 3B00h (sequential positioning error). Residue |
or |
|
| information is as described below. |
error |
|
|
|
|
|
|
|
Corrupt data format | CHECK | MEDIUM | Additional sense set to 3002h (can’t read media). |
| COND’N | ERROR |
|
|
|
|
|
Blank media | CHECK | BLANK | Caused by an attempt to read an unformatted tape. |
encountered during | COND’N | CHECK | Additional sense is set to 5000h (EOD not found). Residue |
a read |
|
| information is as shown below. |
NOTE: Early warning end of medium information is not reported on reads.
Residue information:
The Valid bit will be set. The information bytes will be as follows:
Variable Block Mode The requested transfer length (in bytes).
Fixed Block Mode The difference (in blocks) between the requested transfer size and the actual number of blocks transferred. A partially transferred block is not counted, so for example, if 3.5 out of 10 blocks have been transferred the residue will be 7.
If the last block is an illegal length block, it is not counted among those transferred. For example, if 4 legal length blocks and 1 illegal length block have been transferred out of a total of 10, the residue will be 6.
108 Commands