T-WEOF


The T-WEOF command writes an end of filemark, (EOF), on the tape device media.

 

SYNTAX

T-WEOF {CHANNEL=channel}

 

SYNTAX ELEMENTS

channel is the specific channel attachment (0-9).

 

NOTES

Two consecutive EOFs without a tape label or any data blocks in between signify an empty tape file. Most device drivers and utilities determine this occurrence as end of media, (EOM), and will stop any further processing.

Most utilities which write to tape devices, e.g. T-DUMP, will automatically write an EOF after the data blocks of the tape file. Therefore executing a T-WEOF command after a T-DUMP will produce two consecutive EOFs, which can then be used to indicate end of recorded media to a reading utility program.

 

EXAMPLE

T-WEOF

Write an end of filemark, (EOF), at the current media position.


Tape