home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.cobol
- Path: sparky!uunet!psinntp!calspan!calspan.com!pace
- From: pace@calspan.com (Tom Pace)
- Subject: EOF adjustiment during sequential writes
- Message-ID: <pace.724994820@calspan.com>
- Keywords: eof
- Sender: usenet@calspan.com
- Nntp-Posting-Host: geordi
- Organization: Calspan Advanced Technology Center
- Distribution: global
- Date: Tue, 22 Dec 1992 03:27:00 GMT
- Lines: 15
-
- Problem: Have four realtime cobol processes writing to a sequential file.
- During the processing the EOF indicator is not moved until any one of the
- processes closes the file. On a crash the data is lost. How would I
- go about telling a Cobol program to "advance" the eof marker after each write?
-
- Note: RMS flush command cannot be used since this requires that all channels
- are clear. A kludge would be a fifth process periodically opening and closing
- the file. Million transactions a day. Assume no RdB or transaction processor
- available.
-
- Note2: This is VMS Cobol using RMS file system.
-
- Tom
- PS This problem was posed to me by a friend in need.:wq
-
-