EOV processing is initiated implicitly when DMS detects a tape mark instead of a data block or record. The sequence of EOV processing depends, amongst other things, on the BYPASS operand of the FILE macro or the BYPASS-LABEL-CHECK operand in the ADD-FILE-LINK command (see section “BYPASS handling”). If it is initiated explicitly, DMS positions the tape behind the next tape mark.
Which labels are to be checked during EOV processing depends on the direction in which the file is being read. If the file is being read normally from the start of the file toward the end, the EOF/EOV/UTL labels are checked. If the file is being read normally from the start of the file towards the end, the EOF/EOV/UTL labels are checked. If the file is being read backwards (REVERSE), the HDR and UHL labels are treated like end-of-volume and endof-file labels.If errors are detected, DMS activates a CLOSER routine.