M2488 PRODUCT GUIDE TAPE UNIT SCSI COMMANDS
April 1997 CG00000-011503 REV. A 4-81
4-3.18.2 READ REVERSE CH ECK CONDITIO N Status
If the fixed bit is one, then the Mode Parameter Block Descriptor Block Length must be non-zero.
Otherwise CHECK CONDITI ON status is reported w ith the sense key as ILLEG AL REQUEST.
See description of MODE SENSE for more details about the Mode Parameter Descriptor Block.
For data in EDRC format, it is impossible to transfer the bytes of blocks in reverse order for the
tape format being used because of data packeting and data compression. If a block is to be read in
the reverse direction, instead of transferring the bl ock’s bytes in reverse order, the tape unit s paces
backward over the block to be read (logically positions to the BOT side of the block to be read)
and then CHECK CONDITION status is reported. Within the sense data reported, the sense key is
ILLEGAL REQUEST, the ASC and ASCQ are 30h and 02h respectively (indicating ‘Cannot
Read Medium - Incompatible Format’), and the Host ERPA code is 26. After receipt of this sense
data, the initiator is expected to read forward to transfer the bytes of the block and then space
backward one block (i.e. issue a READ command followed by a SPACE command, Code = 0 and
Space count of -1.) Note: Even if more than one block is requested to be transferred by the READ
REVERSE command in fixed block mode, the tape unit only spaces backward one block.
** NOTE **
This procedure is performed regardless of the tape format (i.e. , 18-
track clear data).
If the SILI bit is set to 1 and the Fixed bit is set to 0 then the tape unit checks for overlength condi-
tions; however since the tape unit will never transfer bytes for the READ R EVERSE command, an
overlength condition for a READ REVERSE command will never occur. If the SILI bit is set to 1
and the Fixed bit is set to 1 then CHECK CONDITION status is reported. In the sense data
reported, the sense key is set to ILLEGAL REQUEST and the additional sense code is set to
INVALID FIEL D IN CDB.
If a filemark is encountered when reading in the reverse direction then CHECK CONDITION sta-
tus is reported. In the sense data reported, the sense key is NO SENSE, the valid bit is 1 and the
information field will equal the requested Transfer length. Upon termination, the logical position
is the BOT side of the filemark encountered.
If the logical unit encounters BOT during a READ REVERSE command then CHECK CONDI-
TION status is reported. In the sense data reported, the sense key is NO SENSE, the EOM bit is set
to 1, the valid bit is 1 and the information field will equal the requested Transfer length.