[Info-vax] Logging systartup_vms.com progress to operator.log VMS 7.3-2

Jeffrey H. Coffield jeffrey at digitalsynergyinc.com
Wed Oct 14 12:43:14 EDT 2020



On 10/14/2020 08:14 AM, Frank Gribbin wrote:
> VMS 7.2-2
> I would like to log the progress of the system boot. It would be neat to do this to operator.log
>
> I've seen examples where at the end of systartup_vms.com there is a command at the end along the lines of
>
> REPLY/ALL/BELL "SYSTEM UP"
>
> I was hoping to do something similar and have the messages recorded in the operator.log
>
> The background is a recent incident where a boot didn't fully complete. A script invoked from systartup_vms.com bombed because of nameserver problems (the 3 nameservers are external systems). I'll add SET NOON to this script to make it more robust, but would still like to record progress.
>

I add the following to the start of SYS$MANAGER:SYSTARTUP_VMS.COM:

$       SET NOON
$       OPEN/WRITE START_LOG STARTUP.LOG
$       DEFINE SYS$OUTPUT START_LOG
$       SHOW TIME

and this to the end:

$       DEASSIGN SYS$OUTPUT
$       CLOSE START_LOG
$
$       MAIL STARTUP.LOG JEFFREY/SUBJ="System Startup"
$ EXIT

realizing that the effect of "SET NOON" needs to be considered.



More information about the Info-vax mailing list