This SCB command is similar to Write Data, except that a Read Verify command is performed after all blocks are written. This command is used for devices with fixed length blocks, such as fixed disk drives. This command causes the adapter to send the SCSI Write and Verify commands to the device. The blocks specified are read and the data is transferred to the system.

The Write with Verify command supports multiple block operations up to 65 535 blocks or 16MB minus 1 byte (MB = 1,048,576 bytes), whichever is less, of total data transferred.

If an error occurs during a Write with Verify command, the system should retry the command. If all retries of the command fail, the system can allocate a spare block to replace the failing one through the Reassign Block command, and then reissue the command.

For devices with variable length blocks, such as tape drives, the Send Other SCSI SCB command should be used to generate the SCSI Write and Verify commands.

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0    Remarks

 0  0  0  1  1  1  0  0 ND NS  0  0  0  1  0  0     Write Verify
 0 ES RE PT  0  0 BB  0  0  0  0  0  0  0  0 CH     Enable Word
 <---------- Least Significant Word ----------->    Logical Block
 <---------- Most Significant Word ------------>     Address
 <---------- Least Significant Word ----------->    System Buffer
 <---------- Most Significant Word ------------>     Address
 <---------- Least Significant Word ----------->    System Buffer
 <---------- Most Significant Word ------------>     Byte Count
 <---------- Least Significant Word ----------->    Termination Status Block
 <---------- Most Significant Word ------------>     Address
 <---------- Least Significant Word ----------->    Optional SCB Chain
 <---------- Most Significant Word ------------>     Address
 <---------- Number of Blocks ----------------->    Block Count
 <---------- Block Size ----------------------->    Block Length
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ


[Back: Write Data]
[Next: Advanced SCSI Programming Interface (ASPI) OS/2 Specification]