Computing.Net > Forums > OpenVMS > Automatic shutdown reboot

Automatic shutdown reboot

Reply to Message Icon

Original Message
Name: OpenVMS
Date: July 18, 2008 at 06:10:42 Pacific
Subject: Automatic shutdown reboot
OS: OpenVMS
CPU/Ram: Alpha
Model/Manufacturer: 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.


Report Offensive Message For Removal

Response Number 1
Name: Joseph.Huber
Date: July 18, 2008 at 08:07:34 Pacific
Subject: Automatic shutdown reboot
Reply: (edit)


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"


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Automatic shutdown reboot

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software