[Info-vax] Reopen OPERATOR.LOG from batch?
bill.hall at navistar.com
bill.hall at navistar.com
Thu Sep 5 09:33:21 EDT 2019
On Thursday, September 5, 2019 at 7:55:45 AM UTC-5, Jan-Erik Söderholm wrote:
> Hi.
>
> The online HELP for REPLY/LOG says:
>
> "The current terminal must be enabled as an operator terminal."
>
> And HELP for REPLY/ENABLE says:
>
> "The /ENABLE qualifier cannot be entered from a batch job."
>
> So then, how to close/reopen OPERATOR.LOG from a batch job?
>
> Jan-Erik.
I rename, close, and archive the OPERATOR.LOG files on our clusters daily from a single batch job that uses SYSMAN to execute a procedure on all of the cluster members. This code snippet is basically what you need.
$ define /user SYS$COMMAND OPA0:
$ reply/enable
$ define /user SYS$COMMAND OPA0:
$ reply /log ! create the new log file
More information about the Info-vax
mailing list