
Page 160 DDS-4 SCSI Interface Manual, Rev. B
VERIFY (13h)
The VERIFY command verifies one or more blocks of data beginning with the next
block from the tape unit.
The command terminates after the specified number of bytes or blocks are verified
or when the drive encounters a filemark, the EOT, or an unrecoverable error. On
completion the medium is positioned after the last block verified or after a filemark.
If a VERIFY with a zero verification length is issued, no data is verified, and the
current position on the tape does not change. This condition is not considered an
error.
VERIFY Command Descriptor Block
The following table shows the layout of the Command Descriptor Block.
Byte
Bits
7 6 5 4 3 2 1 0
0 0 0 0 1 0 0 1 1
1 0 0 0 0 0 0 0 Fixed
2 MSB—Verify Length
3 Verify Length
4 Verify Length—LSB
5 vendor unique* 0 0 0 0 Flag Link
* This vendor-unique field is reserved and must be set to zero.
Command Descriptor Block Field Description
The following table defines the fields in the CDB.
Field
Name
Bytes
Bits
Description
Fixed
Block
Size bit
1 0 If this bit is 0, block is variable length. IF this bit is 1, blocks are fixed
length.
Verify
Length
2-4 This field specifies the number of contiguous bytes or blocks to be
verified in fixed mode or the length of the variable block..
Data Blocks Verified
Errors detected cause a Check Condition with the Sense Key set to 0E
hexadecimal, which indicates a data correction error. The residual byte or block
count is reflected in the REQUEST SENSE data.
When the Fixed bit is set (1), the Verify Length specifies the number of contiguous
blocks to be verified on the tape. When the Fixed bit is reset (0), the Verify Length
specifies the number of bytes in the block to verify.
Comentários a estes Manuais