From: smckinty@sunicnc.France.Sun.COM (Steve McKinty - Sun ICNC)
Subject: Re: Closing Operator Log in BATCH
Date: 7 Jan 93 16:21:50 GMT [thread overview]
Message-ID: <1ihlauINN1sd@grapevine.EBay.Sun.COM> (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.
The reason $reply commands don't work in batch is that they assume
SYS$COMMAND is a terminal, which for a batch job isn't true.
You could try adding a
$define/user sys$command opa0:
before the reply, or write a quick program which uses the $sndopr
system service (or its replacement, I can't remember if there is an
updated call). Its pretty simple to use.
Steve
--
Steve McKinty
SUN Microsystems ICNC
38240 Meylan, France
email: smckinty@france.sun.com BIX: smckinty
next prev parent reply other threads:[~1993-01-07 16:21 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 [this message]
1993-01-08 14:00 ` Dan Wing
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