Computing.Net > Forums > OpenVMS > Automatic shutdown reboot

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Automatic shutdown reboot

Reply to Message Icon

Name: OpenVMS
Date: July 18, 2008 at 06:10:42 Pacific
OS: OpenVMS
CPU/Ram: Alpha
Product: Alpha Server
Comment:

I want to automatic shutdown reboot by use dcl script,how can I do it?

thank you in advance for your help.



Sponsored Link
Ads by Google

Response Number 1
Name: Joseph.Huber
Date: July 18, 2008 at 08:07:34 Pacific
Reply:


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_REBOOT

Read 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:loginout

and detached_reboot.com contains the shutdown command:
$ @SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES REBOOT_CHECK"


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Automatic shutdown reboot

Generate system problems in VMS www.computing.net/answers/openvms/generate-system-problems-in-vms/207.html

rebooting an alpha 433 au www.computing.net/answers/openvms/rebooting-an-alpha-433-au/250.html

Changing quorum disks www.computing.net/answers/openvms/changing-quorum-disks/255.html