home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!vexcel!copper!cudnvr!dwing
- From: dwing@cudnvr.denver.colorado.edu (Dan Wing)
- Newsgroups: comp.sys.dec
- Subject: Re: Closing Operator Log in BATCH
- Message-ID: <1993Jan8.140733.1@cudnvr.denver.colorado.edu>
- Date: 8 Jan 93 14:00:33 GMT
- References: <1993Jan7.103120.35@condor>
- Sender: netnews@copper.denver.colorado.edu
- Lines: 19
-
- In article <1993Jan7.103120.35@condor>, cfstmpab@logica.co.uk writes:
-
- > Please could you tell me if there is a way of closing the operator log
- > file without resorting to a $reply/log command or using any $reply commands.
- > The problem is that the $reply commands don't work in batch and I need to
- > close the operator log in batch mode.
-
- Actually, REPLY doesn't work if SYS$COMMAND isn't a terminal. So if OPA0:
- is enabled as an operator terminal, you can:
-
- $ DEFINE/USER_MODE SYS$COMMAND OPA0:
- $ REPLY/LOG
-
- Within your batch program. Add whatever sortof classes you want to enable
- for the operator log. I hacked the code out of
- SYS$STARTUP:VMS$BASEENVIRON-050_VMS.COM so it would honor the OPC$ logicals.
-
- -Dan Wing, dwing@uh01.colorado.edu or wing_d@ucolmcc.bitnet (DGW11)
- Systems Administrator, University Hospital, Denver
-