Newsgroups: comp.parallel
From: Geert.Deconinck@esat.kuleuven.ac.be
Subject: f77 and appending to a file
Organization: Dept. Elektrotechniek, K.U.Leuven
Date: Fri, 24 Feb 1995 12:02:22 +0100
Message-ID: <3ivug0$dak@usenet.srv.cis.pitt.edu>

Hi,

I'm working with the Motorola mf77 -compiler under PowerParix1.3
on a Parsytec powerXplorer.

I would like to do the append something to an existing file
(to be able to implement checkpointing in an application).

Normally, when opening a unit for an existing file,
its contents is overwritten.

Any one  any ideas on how to implement this?

(I tried with specifying
STATUS='OLD'  when opening the unit, and with
STATUS='KEEP' when closing it,
however, this seems not to work)

Related question:
how to flush the buffer of the unit to the file on disk.

Thanks in advance,

Geert.

-----------------------------------------------------------------------
Ir. Geert DECONINCK
Research Assistant           tel: +32-16-32 11 26 (direct)
K.U.Leuven - ESAT / ACCA     tel: +32-16-32 10 50 (secretary)
Kard. Mercierlaan 94         fax: +32-16-32 19 86
B-3001 Heverlee              email: Geert.Deconinck@esat.kuleuven.ac.be
Belgium              URL: http://www.esat.kuleuven.ac.be/acca/acca.html
-----------------------------------------------------------------------

