[EMAIL PROTECTED] wrote:
Is EOV detected when the last record is written, or, when an attempt
is done to
write the last record?


EOV is detected as the tape drive is writing a block of records and a physical EOV position is detected by the drive. There is still enough usable tape past that point for the drive to complete writing the block and for the Operating System to then write the required trailing tape marks and labels before unloading the tape and requesting another output tape volume. Once the system has written the appropriate header labels on the next tape volume, writing of data blocks is allowed to resume.

When reading a tape volume, reading is allowed to proceed without regard for physical EOV position until the trailing tape mark and trailing labels are encountered (which indicate if the file is continued on a following volume).

--
Joel C. Ewing, Fort Smith, AR        [EMAIL PROTECTED]

----------------------------------------------------------------------
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