Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sunybcs!canisius!healy From: healy@canisius.UUCP (Patrick Healy) Newsgroups: comp.os.vms Subject: Re: vms mail utility Message-ID: <1648@canisius.UUCP> Date: Fri, 26-Jun-87 20:59:05 EDT Article-I.D.: canisius.1648 Posted: Fri Jun 26 20:59:05 1987 Date-Received: Sat, 27-Jun-87 12:33:50 EDT Distribution: world Organization: Canisius College, Buffalo N.Y. 14208 Lines: 44 Summary: How to talk to the Operator Console.... Bruce G. Kahler asks how to get the Operator's attention, send him a message and respond to that message from batch. Bruce, What we do is create an account called OPERATOR and give it (at least) the OPER privilege. Then, in its login.com file we enable the Reply utility ($REPLY/ENABLE). We can then communicate between users and the Operator via the REPLY/TO=nnn for operators and the request/reply for users. The below program segment illustrates a method inwhich we use this feature: $ ! This program copies a user supplied file to tape. $ ! $ BEGIN: $ ALLOCATE MU: TAPE_DRIVE $ IF $STATUS THEN GOTO COPY_FILE ! if all's ok then mount the tape $ WAIT 00:05 $ GOTO BEGIN $ ! $ COPY_FILE: $ REQUEST/REPLY "Please mount tape #33453 on ''f$logical("TAPE_DRIVE")' then $REPLY" $ ! The above line notifies the Console and waits until the Operator replies. $ MOUNT TAPE_DRIVE 33453 $ COPY LOGIN.COM TAPE_DRIVE:*.* /LOG $ DISMOUNT MUA0: $ EXIT Hope this helps. Good luck! ----------------------------------------------------------------------------- USMAIL: Patrick Healy / Canisius College / 2001 Main St. / Buffalo, NY 14208 OFFICE: 42 55m 32s N / 78 51m 10s W / basement VOICE: (716) 883-7000 Extensions 440, 441, 446, 447 Eastern Time UUCP: ...!{decvax|watmath|allegra|rocksvax}!sunybcs!canisius!healy " ...!ames!canisius!healy BITNET: HEALY@CANISIUS CSNET: healy%canisius@CSNET-relay -----------------------------------------------------------------------------