Operating System - OpenVMS
1758555 Members
1656 Online
108872 Solutions
New Discussion юеВ

Shudown hangng on VAX 4705 at Que Manager Shutdown

 
SOLVED
Go to solution
Steven Schweda
Honored Contributor

Re: Shudown hangng on VAX 4705 at Que Manager Shutdown

You might find something useful from a quick
Google search for something like:

vms OR openvms shutdown batch detached
Wim Van den Wyngaert
Honored Contributor

Re: Shudown hangng on VAX 4705 at Que Manager Shutdown

vms OR openvms shutdown batch detached
=
~vms shutdown batch detached

~ will show all equivallent strings for vms (also vax)

Wim (not liking the VMS shutdown, bypassed about everything)
Wim
Wim Van den Wyngaert
Honored Contributor

Re: Shudown hangng on VAX 4705 at Que Manager Shutdown

BTW : we do our shutdown detached. This gives a log file and doesn't require a batch queue.

$! SHUTDOWN.COM
$! ============
$! Executes a shutdown (to prompt) in a detached process so that it can be
$! launched from any terminal, including a set host or telnet connection.
$! P1 = FAILOVER , will disable autostart
$!
$! THIS FILE MAY NOT BE MODIFIED OUTSIDE THE SYSMGT MAINTENANCE SYSTEM
$!==============================================================================
$ nodename = f$getsyi ("nodename")
$ if f$mod() .eqs. "OTHER" .and. f$getj(0,"prcnam") .eqs. "-< Shutdown >-"
$ then
$ goto do_it
$ endif
$ if f$edit(p1,"upcase") .eqs. "FAILOVER" then disable autostart/queue
$ run /detach sys$system:loginout -
/uic = [1,4] -
/process_name = "-< Shutdown >-" -
/authorize -
/input = 'f$environment ("procedure")' -
/output = sys$common:[sysmgr]shutdown_'nodename'.log
$ exit
$do_it:
$ set output_rate = 00:00:05
$ @sys$system:shutdown 0 "Shutdown" N Y "Later" N "REBOOT_CHECK,REMOVE_NODE"
$ exit
Wim
Dean McGorrill
Valued Contributor

Re: Shudown hangng on VAX 4705 at Que Manager Shutdown

Wim,
I could not find the stuff on one of my systems, but what you have is just about what we used to bring down a system. I'd use it to have my system ready for field services to do pm's early mornings.
( while I slept late :) Dean