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

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!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: 27 Dec 1992 07:49:17 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 31
  8. Distribution: world
  9. Message-ID: <1hjn5tINN34t@gap.caltech.edu>
  10. References: <24DEC199220084219@spades.aces.com> <Bzt6EF.Est@dale.cts.com>,<25DEC199221083299@spades.aces.com> <1hh20mINNfjb@gap.caltech.edu>,<26DEC199216542325@spades.aces.com>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <26DEC199216542325@spades.aces.com>, gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546) writes:
  15. >Actually since you can easily get from FILE * to the FAB, and
  16. >the FAB gives you FAB$L_RAB which gives you the RAB, you do
  17. >have to 'go all the way back to the FAB.'
  18.  
  19. Ah, I get to flame Ehud!!!!!
  20.  
  21. Sorry, Ehud, but there's no such thing as FAB$L_RAB.  It's the other way
  22. around:  There *IS* a RAB$L_FAB; think about it for a minute:  You can have
  23. many streams (RABs) associated with a single FAB, but not vice versa.  So a
  24. Record Access Block refers to a File Access Block, not the other way around.
  25. Look at it in another way:  First you $OPEN (which requires only a FAB), then
  26. you $CONNECT (which requires a RAB), so you don't need a RAB when you use a
  27. FAB, but you *DO* need a FAB when you use a RAB.
  28.  
  29. >Undoubtedly the C compiler makes intimate use of this 'unsupported
  30. >and undocumented' (unlikely to change at any time although no one
  31. >will admit to it) featuere.
  32.  
  33. Certainly the C compiler uses RABs.  It's just the routine that tells you WHERE
  34. the RAB associated with your stream is located that's undocumented and
  35. unsupported.  I think it's a pretty major failing of the VAXCRTL that it
  36. doesn't have a documented, supported (and disparaged) routine that does this.
  37. --------------------------------------------------------------------------------
  38. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  39.  
  40. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  41. understanding of astronomy is purely at the amateur level (or below).  So
  42. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  43. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  44. hold me responsible for it, but my organization had nothing to do with it.
  45.