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