Guardian Programmer's Guide

Table Of Contents
Communicating With Magnetic Tape
Guardian Programmer’s Guide 421922-014
12 - 14
Writing Tape Records
.
CALL CONTROL(TAPE^NUM,
WRITE^EOF);
IF <> THEN ...
Note that, for unlabeled tapes, closing a file does not write an EOF mark.
For labeled tapes, the end of the tape is identified by the tape labeling mechanism. All
the application needs to do is to detect the EOT sticker, stop writing, and close the file.