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

  1. Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!ittpub.nl!david
  2. From: david@ittpub.nl (David P. Morgan)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Mailbox access
  5. Message-ID: <1993Jan27.192543.102@ittpub.nl>
  6. Date: 27 Jan 93 22:41:54 GMT
  7. References: <20303.2b5bb282@ul.ie>
  8. Organization: ITT Publitec R+D BV, Amsterdam
  9. Lines: 41
  10.  
  11. In article <20303.2b5bb282@ul.ie>, 9120092@ul.ie writes:
  12. > Firstly thanks to all who replied to my previous posting, it was all very
  13. > helpfull. Now just to put your minds to the test again as I'm having
  14. > difficulty with mailboxes. My lecturer in Computer Organisiation wasn't
  15. > able to give any solutions to the problem of writting to a mailbox
  16. > created by another user. So far I can create mailboxes and pass data
  17. > to a subprocess of my account but can not do the same to a mailbox in
  18. > another account. This is primerily caused by VMS which takes a mailboxes
  19. > name and places the pointer to that device in the PCB. So when a mailbox
  20. > is created instead of being "My-Mailbox" and being open for group
  21. > access it is infact "My-PID.My-Mailbox" which tends to throw a spanner
  22. > in the works for me as I can not get around that protection.
  23. > I think IO$Write_Attention gets involved some where but I'm not sure.
  24. > Am I right about the mailbox protection. any suggestions on getting
  25. > around it?
  26.  
  27. Forget this stuff about PCB's and IO$whatever. Read the help on $CREMBX.
  28.  
  29. Mailboxes can be identified by their device names or the optional logical
  30. names created by $CREMBX. You can use $GETDVI to get the device name and
  31. pass it to your other process OR you can have the other process pick up
  32. the logical name of the mailbox from the job table by using:
  33. $ def/tabl=lnm$process_directory lnm$temporary_mailbox lnm$job
  34. before you create the mailbox. 
  35. Or when you create a permanent mailbox the name goes into the system table.
  36.  
  37. >           Thanks
  38. >              Peter.
  39. > Peter O'Brien, E-Mail  9120092@ul.ie
  40. >         The expressions expressed here are my expressions and 
  41. >              nothing but my expressions, so help my God!
  42. don't they say 'so help me God'
  43.  
  44. --------------------------------------------------------------------------------
  45. David P. Morgan                        Internet: david@ittpub.nl        |ucannot
  46. ITT Publitec R+D BV                    UUCP:     ...!sun4nl!ittpub!david|readdis
  47. Amsterdam                              PSI:      020412905761212::DAVID |onavt52
  48.