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

Volker Halle volker_halle at hotmail.com
Thu Oct 15 02:24:39 EDT 2020


Am Mittwoch, 14. Oktober 2020 17:14:45 UTC+2 schrieb Frank Gribbin:
> 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.

Frank,

note that - when using STARTUP_P2="D" - all output will go to SYS$SYSTEM:STARTUP.LOG instead of to the console terminal. When you're using $ WRITE SYS$OUTPUT ... to document the progress of your system startup, you might want to add $ WRITE SYS$ERROR ... for all of these. This will make sure, that you see some progress indications on your console terminal during startup.

I've also typically added $ WRITE SYS$ERROR "For startup messages see SYS$SYSTEM:STARTUP.LOG..." at the end of SYSTARTUP_VMS.COM to remind the user where to check for startup messages.

Volker.



More information about the Info-vax mailing list