🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #4387

Re: Closing Operator Log in BATCH

#4387
From: Dan Wing
Date: Fri, 08 Jan 1993 14:00
19 lines
1278 bytes
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
Technical Details
Message-ID: <1993Jan8.140733.1@cudnvr.denver.colorado.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!vexcel!copper!cudnvr!dwing
References: <1993Jan7.103120.35@condor>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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