[Info-vax] Cobol: Faster flushing of buffer to sequential file
George Cornelius
cornelius at eisner.decus.org
Mon Feb 7 17:29:01 EST 2011
In article <00AAAA70.D5B78BF4 at SendSpamHere.ORG>, VAXman- @SendSpamHere.ORG writes:
> And it requires the creator or initial opener to permit write access.
> As I said somewhere in this long thread, I'm not one to allow writers
> to my application log files. Thus, the SYS$FLUSH seems to be the only
> way to get the EOF update if the file is to remain open but allow read
> access by others.
Not quite.
$ ! FILE_LISTER.TMP GFC 20110207 List OPEN ALLOWING READERS file
$ open/read/share xx my_file.dat
$ type xx
$ close xx
With this lister, the app can be changed to OPEN ALLOWING READERS.
George Cornelius
More information about the Info-vax
mailing list