home *** CD-ROM | disk | FTP | other *** search
- 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
- From: david@ittpub.nl (David P. Morgan)
- Newsgroups: comp.os.vms
- Subject: Re: Mailbox access
- Message-ID: <1993Jan27.192543.102@ittpub.nl>
- Date: 27 Jan 93 22:41:54 GMT
- References: <20303.2b5bb282@ul.ie>
- Organization: ITT Publitec R+D BV, Amsterdam
- Lines: 41
-
- In article <20303.2b5bb282@ul.ie>, 9120092@ul.ie writes:
- > Firstly thanks to all who replied to my previous posting, it was all very
- > helpfull. Now just to put your minds to the test again as I'm having
- > difficulty with mailboxes. My lecturer in Computer Organisiation wasn't
- > able to give any solutions to the problem of writting to a mailbox
- > created by another user. So far I can create mailboxes and pass data
- > to a subprocess of my account but can not do the same to a mailbox in
- > another account. 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.
- > I think IO$Write_Attention gets involved some where but I'm not sure.
- > Am I right about the mailbox protection. any suggestions on getting
- > around it?
-
- Forget this stuff about PCB's and IO$whatever. Read the help on $CREMBX.
-
- Mailboxes can be identified by their device names or the optional logical
- names created by $CREMBX. You can use $GETDVI to get the device name and
- pass it to your other process OR you can have the other process pick up
- the logical name of the mailbox from the job table by using:
- $ def/tabl=lnm$process_directory lnm$temporary_mailbox lnm$job
- before you create the mailbox.
- Or when you create a permanent mailbox the name goes into the system table.
-
- >
- > Thanks
- >
- > Peter.
- >
- > Peter O'Brien, E-Mail 9120092@ul.ie
- >
- > The expressions expressed here are my expressions and
- > nothing but my expressions, so help my God!
- don't they say 'so help me God'
-
- --------------------------------------------------------------------------------
- David P. Morgan Internet: david@ittpub.nl |ucannot
- ITT Publitec R+D BV UUCP: ...!sun4nl!ittpub!david|readdis
- Amsterdam PSI: 020412905761212::DAVID |onavt52
-