Article View: comp.sys.dec
Article #4334Re: Closing Operator Log in BATCH
From: Steve McKinty - Sun ICNC
Date: Thu, 07 Jan 1993 16:21
Date: Thu, 07 Jan 1993 16:21
25 lines
1497 bytes
1497 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. 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
Technical Details
Message-ID:
<1ihlauINN1sd@grapevine.EBay.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!natinst.com!news.dell.com!texsun!cronkite.Central.Sun.COM!news2me.EBay.Sun.COM!west.West.Sun.COM!male.EBay.Sun.COM!grapevine.EBay.Sun.COM!sunicnc.France.Sun.COM!smckintyReferences:
<1993Jan7.103120.35@condor>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!natinst.com!news.dell.com!texsun!cronkite.Central.Sun.COM!news2me.EBay.Sun.COM!west.West.Sun.COM!male.EBay.Sun.COM!grapevine.EBay.Sun.COM!sunicnc.France.Sun.COM!smckinty From: smckinty@sunicnc.France.Sun.COM (Steve McKinty - Sun ICNC) Newsgroups: comp.sys.dec Subject: Re: Closing Operator Log in BATCH Message-ID: <1ihlauINN1sd@grapevine.EBay.Sun.COM> Date: 7 Jan 93 16:21:50 GMT References: <1993Jan7.103120.35@condor> Sender: smckinty@France.Sun.COM (Steve McKinty - Sun ICNC) Organization: SunConnect Lines: 25 NNTP-Posting-Host: hardy.france.sun.com