From: dwing@cudnvr.denver.colorado.edu (Dan Wing)
Subject: Re: Closing Operator Log in BATCH
Date: 8 Jan 93 14:00:33 GMT [thread overview]
Message-ID: <1993Jan8.140733.1@cudnvr.denver.colorado.edu> (raw)
In-Reply-To: 1993Jan7.103120.35@condor
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
prev parent reply other threads:[~1993-01-08 14:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-01-07 10:31 Closing Operator Log in BATCH cfstmpab
1993-01-07 16:21 ` Steve McKinty - Sun ICNC
1993-01-08 14:00 ` Dan Wing [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox