home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19951 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.0 KB

  1. Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: VAX c
  5. Date: 28 Dec 1992 16:28:20 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 27
  8. Distribution: world
  9. Message-ID: <1hn9v4INNnna@gap.caltech.edu>
  10. References: <24DEC199220084219@spades.aces.com> <Bzt6EF.Est@dale.cts.com>,<1992Dec26.100030.299@rlgsc.com> <1hjmn7INN34t@gap.caltech.edu>,<1992Dec27.100810.300@rlgsc.com>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Dec27.100810.300@rlgsc.com>, gezelter@rlgsc.com writes:
  15. >>>When the time expires, close the file. Then re-open it in append 
  16. >>>mode. This will ensure that all of your buffers are flushed out 
  17. >>>to the disk.
  18. >> 
  19. >> I tried that once.  Maybe it had to do with the way the file dealt with
  20. >> records, but what I ended up with with was a file that had *ONE* record per
  21. >> block.  Not what one would want.
  22.  
  23. >I would be interested in hearing exactly what type of file that 
  24. >you had that problem of partial blocks with. I have been using 
  25. >this solution in a range of applications for about 15 years on 
  26. >both RSX and VMS and have never encountered the behavior that you 
  27. >describe.
  28.  
  29. I last tried the close/reopen of the output file several versions of VMS ago,
  30. and am no longer able (under VMS v5.4-2) to reproduce the problem.  Please
  31. note:  The problem was associated with doing this via the VAX C RTL, so may
  32. have been an RTL bug.
  33. --------------------------------------------------------------------------------
  34. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  35.  
  36. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  37. understanding of astronomy is purely at the amateur level (or below).  So
  38. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  39. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  40. hold me responsible for it, but my organization had nothing to do with it.
  41.