home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Mailbox access
- Date: 27 Jan 1993 13:21:16 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 39
- Distribution: world
- Message-ID: <1k628cINN2ei@gap.caltech.edu>
- References: <20303.2b5bb282@ul.ie>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <20303.2b5bb282@ul.ie>, 9120092@ul.ie writes:
- >This is primerily caused by VMS which takes a mailboxes
- >name and places the pointer to that device in the PCB. So when a mailbox
- >is created instead of being "My-Mailbox" and being open for group
- >access it is infact "My-PID.My-Mailbox" which tends to throw a spanner
- >in the works for me as I can not get around that protection.
-
- Where the pointer to the device might be is totally irrelevent. You're rather
- bizarre construct above is quite meaningless.
-
- >I think IO$Write_Attention gets involved some where but I'm not sure.
-
- You're completely wrong about this. Well, then, why don't you try reading the
- manual? Or even the on-line help?
-
- >Am I right about the mailbox protection. any suggestions on getting
- >around it?
-
- No, you're completely wrong. You don't even have a clue as to what you're
- talking about. As to getting around it, have a look at the documentation to
- the $CREMBX system service. Pay close attention to the fifth argument.
-
- Now, if protection is *NOT* the problem (why didn't you bother to post the
- status returned by VMS when you tried to open the mailbox? The status returned
- by VMS couldn't *POSSIBLY* tell us anything about your problem, now could it?),
- then you're probably running afoul of the fact that the logical name for the
- mailbox (assuming it's a temporary mailbox; I'd hate to think that you might
- have PRMMBX priv) is, by default, placed in your job logical name table, which
- is not easily accessible to processes outside of your own job. If that's the
- problem, then you'll have to find some other way for the process that creates
- the mailbox to communicate the name of the mailbox to the other process.
- --------------------------------------------------------------------------------
- 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.
-