home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22026 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.7 KB

  1. 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
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Mailbox access
  5. Date: 27 Jan 1993 13:21:16 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 39
  8. Distribution: world
  9. Message-ID: <1k628cINN2ei@gap.caltech.edu>
  10. References: <20303.2b5bb282@ul.ie>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <20303.2b5bb282@ul.ie>, 9120092@ul.ie writes:
  15. >This is primerily caused by VMS which takes a mailboxes
  16. >name and places the pointer to that device in the PCB. So when a mailbox
  17. >is created instead of being "My-Mailbox" and being open for group
  18. >access it is infact "My-PID.My-Mailbox" which tends to throw a spanner
  19. >in the works for me as I can not get around that protection.
  20.  
  21. Where the pointer to the device might be is totally irrelevent.  You're rather
  22. bizarre construct above is quite meaningless.
  23.  
  24. >I think IO$Write_Attention gets involved some where but I'm not sure.
  25.  
  26. You're completely wrong about this.  Well, then, why don't you try reading the
  27. manual?  Or even the on-line help?
  28.  
  29. >Am I right about the mailbox protection. any suggestions on getting
  30. >around it?
  31.  
  32. No, you're completely wrong.  You don't even have a clue as to what you're
  33. talking about.  As to getting around it, have a look at the documentation to
  34. the $CREMBX system service.  Pay close attention to the fifth argument.
  35.  
  36. Now, if protection is *NOT* the problem (why didn't you bother to post the
  37. status returned by VMS when you tried to open the mailbox?  The status returned
  38. by VMS couldn't *POSSIBLY* tell us anything about your problem, now could it?),
  39. then you're probably running afoul of the fact that the logical name for the
  40. mailbox (assuming it's a temporary mailbox;  I'd hate to think that you might
  41. have PRMMBX priv) is, by default, placed in your job logical name table, which
  42. is not easily accessible to processes outside of your own job.  If that's the
  43. problem, then you'll have to find some other way for the process that creates
  44. the mailbox to communicate the name of the mailbox to the other process.
  45. --------------------------------------------------------------------------------
  46. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  47.  
  48. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  49. understanding of astronomy is purely at the amateur level (or below).  So
  50. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  51. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  52. hold me responsible for it, but my organization had nothing to do with it.
  53.