Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I want to automatic shutdown reboot by use dcl script,how can I do it?
thank you in advance for your help.

The SYSMAN SHUTDOWN NODE command is what You need.
Run SYSMAN (MCR SYSMAN if the command is not defined in Your environment), then use HELP SHUTDOWN NODE to see all its options.
In general it is
SET ENVIRON/NODE=x (x00 for current node).
SHUTDOWN NODE/AUTOMATIC_REBOOTRead the examples help for the discussion of shutting down the current node and the necessity to stay logged on.
A second method is to run sys$system:shutdown as a detached process like this:
run/detach/authorize/input=sys$manager:detached_reboot.com-
/output=sys$manager:detached_reboot.log sys$system:loginoutand detached_reboot.com contains the shutdown command:
$ @SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES REBOOT_CHECK"

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |