home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / cobol / 632 next >
Encoding:
Text File  |  1992-12-22  |  1.0 KB  |  29 lines

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