In a recent note, Greg Price said:

> Date:         Sat, 4 Jun 2005 15:22:48 +1000
> 
> I agree about the WRITE.  With READ if the BDW indicates a length larger
> than DCBBLKSI the a WRONG LENGTH RECORD error condition is raised.
> 
> If the BDW length does not exceed DCBBLKSI then the residual count is
> set to be consistent with the BDW length.
> 
So, if BDW exceeds DCBBLKSI-RBC, but does not exceed DCBBLKSI, the
RBC is adjusted, and the programmer is given core trash as the
remainder of the physical record to process?

And if BDW is less than DCBBLKSI-RBC, adjusting the RBC has the effect
of quietly discarding the unexpected bytes?

If it had been my design, I would have chosen to err on the side of
caution, and raised WRONG LENGTH RECORD error in all those cases.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to