home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!usc!sdd.hp.com!saimiri.primate.wisc.edu!eng.ufl.edu!robot.nuceng.ufl.edu!sysop
- From: sysop@robot.nuceng.ufl.edu (Shawn A. Clifford)
- Subject: Re: mailboxes with DCL?
- Message-ID: <22JAN199315351392@robot.nuceng.ufl.edu>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: news@eng.ufl.edu (Usenet Diskhog System)
- Reply-To: sysop@robot.nuceng.ufl.edu
- Organization: Nuclear Engineering Sciences - Univ. of Florida
- References: <1993Jan21.032056.373@wega.rz.uni-ulm.de> <1joq6oINN32k@gap.caltech.edu>
- Date: 22 Jan 1993 15:35 EST
- Lines: 38
-
- In article <1joq6oINN32k@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU writes...
- >In article <1993Jan21.032056.373@wega.rz.uni-ulm.de>, ORAKEL@rzmain.rz.uni-ulm.de (Framstag) writes:
- >>I know, this topic has been discussed several times in the last years, but
- >>I haven't saved these articles, because I wasn't interested in, and now I
- >>need it:
- >>
- >>Some (easy, of course :-) ) examples of DCL programs handling with
- >>mailboxes with normal user privs (netmbx,tmpmbx).
- >>
- >>What exactly I want: process-communication between a DCL-program running in
- >>a detached (via run sys$system:loginout/input=...) or batch process and a
- >>"user in front of his terminal".
- >>
- >>The user should be able to send DCL-commands via a mailbox to the
- >>detached/batch program which scans, say... every 10 sec the mailbox and
- >>then executes the command. It will not be necessary to return output to the
- >>interactive user's terminal. (But nice, if :-) )
- >>
- >>example: $ write mailbox: "@do_something"
- >>or: $ @mbox_frontend "backup d1: d2:"
- >>
- >>or something like that. I hope I have expressed myself clear enough - Carl,
- >>don't beat me too hard ;-)
- >
- >You can't create mailboxes from DCL. You've got to write a program to create
- >them (and, since you're probably restricted to creating temporary mailboxes,
- >they go away, by default, at image rundown). What you need to do is:
-
- Not necessarily. If you post a read to the mailbox, the mailbox lives after
- the program exits. For an example of this, look in PUBLIC$:[DCL] at
- robot.nuceng.ufl.edu for the obvious files. One for creating the mailbox in
- a high level language, one for defining the mailbox logical and buffer size
- as a startup for other routines written in DCL, and a DCL comfile that makes
- use of mailboxes by paging output from any other program to your screen.
- Use anonymous (psuedo) ftp to 128.227.90.10.
-
- Good luck!
-
-