<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to make shutdown.com reboot without asking questions everytime in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257537#M100713</link>
    <description>There are posted examples of folks that have implemented local DCL-based solutions for a network-based SHUTDOWN, and there's also a fully-supported approach:&lt;BR /&gt;&lt;BR /&gt;SYSMAN&amp;gt; SHUTDOWN NODE [/other-stuff]&lt;BR /&gt;&lt;BR /&gt;With Apache running, it's also feasible to set up (for instance) a CGI shutdown command or, well, whatever.  DCL is sufficiently capable to make that task feasible in a dozen or two lines of DCL. &lt;BR /&gt;&lt;BR /&gt;Probably ten or twenty lines of DCL using DECnet, too, based on DCL DECnet task-to-task processing, too.  Here's an example version that does almost all of what would be needed; everything but the SHUTDOWN itself:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_0159.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_0159.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Some of those web-based tools HP is so fond of may (will?) have capabilities here, too, as will the OpenVMS Management Station, etc.&lt;BR /&gt;&lt;BR /&gt;There are many ways to implement this.&lt;BR /&gt;&lt;BR /&gt;And FWIW, there was a bug in the SHUTDOWN or the REBOOT symbols set in the system manager's LOGIN.COM in a release or two of OpenVMS, IIRC.  (The argument order of one was briefly messed up, and this again from some dim memory.)&lt;BR /&gt;&lt;BR /&gt;This SHUTDOWN stuff has been discussed; Google is your friend, and the manuals likely have fodder here, too.&lt;BR /&gt;</description>
    <pubDate>Sun, 03 Oct 2010 11:45:15 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2010-10-03T11:45:15Z</dc:date>
    <item>
      <title>how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257527#M100703</link>
      <description>hello,&lt;BR /&gt;from a user account, i use the following command to reboot the system&lt;BR /&gt;$@sys$system:shutdown&lt;BR /&gt;this asks lot of questions before it reboots the system.&lt;BR /&gt;if i reboot system frequently and have fixed answers for the questions then&lt;BR /&gt;answering the above question everytime is annoying.&lt;BR /&gt;&lt;BR /&gt;from system account, i heard there is a easier way to reboot using a reboot symbol.&lt;BR /&gt;is this reboot symbol available for user account ?&lt;BR /&gt;else, any other quick way to issue a reboot command so that the above command does not ask questions for a user account?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 02 Oct 2010 15:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257527#M100703</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-10-02T15:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257528#M100704</link>
      <description>You can do what LOGIN.COM does for the SYSTEM account. &lt;BR /&gt;Define some symbols which call SYS$SYSTEM:SHUTDOWN with pre-set values/answers.&lt;BR /&gt;&lt;BR /&gt;:&lt;BR /&gt;SYS$COMMON:[SYSMGR]LOGIN.COM;1&lt;BR /&gt;:&lt;BR /&gt;$  SHUTDOWN     == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER NO NONE"&lt;BR /&gt;$  REBOOT       == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE"&lt;BR /&gt;$  SHUTDOWN1    == "@SYS$SYSTEM:SHUTDOWN"&lt;BR /&gt;&lt;BR /&gt;Gotta say... SYS$SYSTEM:SHUTDOWN.COM is pretty lame is being totally undocumented.&lt;BR /&gt;Would it have cost too much to enumerate the arguments to it, and its ASK subroutine?&lt;BR /&gt;Jeez, what were we thinking? (Were we thinking?)&lt;BR /&gt;&lt;BR /&gt;Hein.</description>
      <pubDate>Sat, 02 Oct 2010 15:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257528#M100704</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-10-02T15:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257529#M100705</link>
      <description>Hein van den Heuvel&amp;gt;&amp;gt;&lt;BR /&gt;i tried your suggestion, but when i issue the reboot command, it asks questions again &lt;BR /&gt;$REBOOT == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE"&lt;BR /&gt;$REBOOT&lt;BR /&gt;&lt;BR /&gt;        SHUTDOWN -- Perform an Orderly System Shutdown&lt;BR /&gt;                    on node DISNEY&lt;BR /&gt;&lt;BR /&gt;Do you really want to shutdown node DISNEY [NO]?&lt;BR /&gt;&lt;BR /&gt;is my step correct?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 02 Oct 2010 15:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257529#M100705</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-10-02T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257530#M100706</link>
      <description>Works for me! Dang... now I have to reboot! :-).&lt;BR /&gt;&lt;BR /&gt;Maybe you have a LOCAL symbol defined which takes precedence?&lt;BR /&gt;&lt;BR /&gt;$ SHOW SYMB REB*&lt;BR /&gt;&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Oct 2010 15:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257530#M100706</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-10-02T15:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257531#M100707</link>
      <description>Hein van den Heuvel&amp;gt;&amp;gt;&lt;BR /&gt;--Works for me! Dang... now I have to reboot! :-).&lt;BR /&gt;oopsie, that was funny. i wont laugh much as it was because of me :)&lt;BR /&gt;&lt;BR /&gt;no symbol is defined.&lt;BR /&gt;$ SHOW SYMB REB*&lt;BR /&gt;  REBOOT == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE"&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;this works for me when i log in from system account. but from user account it never works for me.&lt;BR /&gt;&lt;BR /&gt;did it work for you from a user account ?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 02 Oct 2010 15:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257531#M100707</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-10-02T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257532#M100708</link>
      <description>i just found out that it does not work for me even from a  system account. bad. dont know whats wrong.&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 02 Oct 2010 16:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257532#M100708</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-10-02T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257533#M100709</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;1) I needed to reboot anyway to stop/start the windows net service msipcap, to get the network going after a pause for my freeAxp session.&lt;BR /&gt;&lt;BR /&gt;2) I ran as a user 'hein', UIC 2,1, all privs.&lt;BR /&gt;&lt;BR /&gt;3) Which OpenVMS version?&lt;BR /&gt;&lt;BR /&gt;4) does not work for me ...&lt;BR /&gt;&lt;BR /&gt;It does not shut down? errors? Asks anyway?&lt;BR /&gt;&lt;BR /&gt;Hmmm....&lt;BR /&gt;&lt;BR /&gt;Maybe somebody / something gave the system a 'better' SHUTDOWN.COM&lt;BR /&gt;&lt;BR /&gt;Check for older versions and/or root specific versions versus SYS$COMMON:[SYSEXE]&lt;BR /&gt;&lt;BR /&gt;Just try a run with verification on?!&lt;BR /&gt;&lt;BR /&gt;$ define SHUTDOWN$VERIFY x&lt;BR /&gt;$ set veri&lt;BR /&gt;$ @SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;It should run into lines like:&lt;BR /&gt;&lt;BR /&gt;$if p2 .eqs. "" then recurse ASK shutdown$ -&lt;BR /&gt;"Reason for shutdown" "Standalone" s&lt;BR /&gt;&lt;BR /&gt;The 'recurse' is a silly (very silly IMHO) obfuscation of 'CALL' , and should not be called if there is a p2&lt;BR /&gt;&lt;BR /&gt;Or just read the command file and see what gives (or not).&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Oct 2010 16:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257533#M100709</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-10-02T16:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257534#M100710</link>
      <description>Hein van den Heuvel&amp;gt;&amp;gt;&lt;BR /&gt;i should do tests better.&lt;BR /&gt;&lt;BR /&gt;after defining the symbol you have given, this what happens&lt;BR /&gt;----&lt;BR /&gt;$REBOOT == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE"&lt;BR /&gt;$REBOOT&lt;BR /&gt;&lt;BR /&gt;SHUTDOWN -- Perform an Orderly System Shutdown&lt;BR /&gt;on node DISNEY&lt;BR /&gt;&lt;BR /&gt;Do you really want to shutdown node DISNEY [NO]?&lt;BR /&gt;----&lt;BR /&gt;if i answer yes, then this will not ask any further questions and reboots. great.&lt;BR /&gt;&lt;BR /&gt;can i make the reboot symbol skip the above question also ?&lt;BR /&gt;i am using V83I&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 02 Oct 2010 16:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257534#M100710</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-10-02T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257535#M100711</link>
      <description>Ah... that's an extra question in case you used SET HOST to the system and perhaps are about to shutdown the wrong system (window says X, actually active on Y).&lt;BR /&gt;&lt;BR /&gt;It comes from this code in SHUTDOWN.COM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$if f$getdvi( "sys$command", "set_host_terminal" )&lt;BR /&gt;$then&lt;BR /&gt;$recurse ASK shutdown$ -&lt;BR /&gt;"Do you really want to shutdown node ''nodename'" -&lt;BR /&gt;&lt;BR /&gt;So that's why it works for me, being on the console because my network was down, and not for you.&lt;BR /&gt;&lt;BR /&gt;You can not make that go away without changing the code. &lt;BR /&gt;You could SUBMIT the shutdown command as alternative.&lt;BR /&gt;&lt;BR /&gt;I suspect that now you know it is just the 1 more question you'll live with it. But I would have no qualm changing shutdown.com for this reason. Just don't complain if some day you accidental shutdown DISNEY whilst intending to shut down an other system.&lt;BR /&gt;&lt;BR /&gt;Ok, back to real work... in the garden and stuff.&lt;BR /&gt;&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Oct 2010 17:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257535#M100711</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-10-02T17:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257536#M100712</link>
      <description>As Hein says, that message comes up because you're not on the console of the system, you're SET HOSTed on most likely.&lt;BR /&gt;&lt;BR /&gt;Beware that if you shutdown from certain networked sessions the shutdown is likely to hang when your session is disconnected.  Kind of, "we're shutting down.  Oh?  What happened to the process that was shutting us down?  We'd better wait and see what happens," and you have to go visit the computer room where the system is and either login on the console (if you can) or power cycle the box.</description>
      <pubDate>Sun, 03 Oct 2010 07:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257536#M100712</guid>
      <dc:creator>Steve Reece_3</dc:creator>
      <dc:date>2010-10-03T07:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257537#M100713</link>
      <description>There are posted examples of folks that have implemented local DCL-based solutions for a network-based SHUTDOWN, and there's also a fully-supported approach:&lt;BR /&gt;&lt;BR /&gt;SYSMAN&amp;gt; SHUTDOWN NODE [/other-stuff]&lt;BR /&gt;&lt;BR /&gt;With Apache running, it's also feasible to set up (for instance) a CGI shutdown command or, well, whatever.  DCL is sufficiently capable to make that task feasible in a dozen or two lines of DCL. &lt;BR /&gt;&lt;BR /&gt;Probably ten or twenty lines of DCL using DECnet, too, based on DCL DECnet task-to-task processing, too.  Here's an example version that does almost all of what would be needed; everything but the SHUTDOWN itself:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_0159.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_0159.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Some of those web-based tools HP is so fond of may (will?) have capabilities here, too, as will the OpenVMS Management Station, etc.&lt;BR /&gt;&lt;BR /&gt;There are many ways to implement this.&lt;BR /&gt;&lt;BR /&gt;And FWIW, there was a bug in the SHUTDOWN or the REBOOT symbols set in the system manager's LOGIN.COM in a release or two of OpenVMS, IIRC.  (The argument order of one was briefly messed up, and this again from some dim memory.)&lt;BR /&gt;&lt;BR /&gt;This SHUTDOWN stuff has been discussed; Google is your friend, and the manuals likely have fodder here, too.&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Oct 2010 11:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257537#M100713</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-10-03T11:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257538#M100714</link>
      <description>How about this instead:&lt;BR /&gt;&lt;BR /&gt;$ shutdown0 :== "mcr sysman shutdown node/min=0/noauto"&lt;BR /&gt;&lt;BR /&gt;and:&lt;BR /&gt;&lt;BR /&gt;$ reboot0 :== "mcr sysman shutdown node/min=0/auto"&lt;BR /&gt;&lt;BR /&gt;or even (on IA64):&lt;BR /&gt;&lt;BR /&gt;$ poweroff0 :== "mcr sysman shutdown node/min=0/noauto/power"&lt;BR /&gt;&lt;BR /&gt;Or, why not set up special "shutdown", "reboot" and "poweroff" (IA64 only) accounts that someone can login to and that login will trigger an immediate shutdown / reboot / shutdown_and_poweroff. Make them privileged captive accounts, perhaps without passwords too!&lt;BR /&gt;&lt;BR /&gt;Cheers, Colin.</description>
      <pubDate>Sun, 03 Oct 2010 17:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257538#M100714</guid>
      <dc:creator>Colin Butcher</dc:creator>
      <dc:date>2010-10-03T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257539#M100715</link>
      <description>If you're enamored with GUI interfaces, with auto_action set to reboot you can request a crash from the Availability Manager which will lead to a system restart.  No need to answer questions or worry about pesky application shutdown.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Oct 2010 15:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257539#M100715</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2010-10-04T15:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to make shutdown.com reboot without asking questions everytime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257540#M100716</link>
      <description>thanks everyone for help.&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Tue, 16 Nov 2010 13:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-make-shutdown-com-reboot-without-asking-questions/m-p/5257540#M100716</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-11-16T13:03:36Z</dc:date>
    </item>
  </channel>
</rss>

