[mod.computers.vax] Opening files that are open for write

"Michael@ucbvax.UUCP (12/07/86)

An easy way to read a file that is open for writing, as in a log file,
is to make a copy using backup as follows:

$ BACKUP/IGNORE=INTERLOCK <log-file> <temp-file>

However, unless the writer does a $FLUSH call, I don't think the
file header will get updated.  This means that there won't be anything
in the file from the perspective of the reader.  If you have control
over the program, try setting up a timer which does a call to $FLUSH
every so often.
				Mike Porter

P.S.

OPCOM does apparently do a $FLUSH because you can read SYS$MANAGER:OPERATOR.LOG
using backup.  However, the last entry in the log might not appear for a
few minutes after the console receives it.

mike%udel-oitvax@louie.udel.edu
------