Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: charon_shutdown.com updated

...

Tru64

uname -a

for all modes except 'expect' followed by:

init 0

OpenVMS

Depending on the method selected (described in more detail below), one of the following commands is executed:

Either

@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER NO NONE

or the script detailed below if 'expect' is not used.

Requirements

...

Warning

If the CHARON instance is running OpenVMS and the mode is not 'expect', the CHARON_SHUTDOWN.COM script is required, see below.


Div
classpagebreak


OpenVMS shutdown script

Copy/paste this script on your OpenVMS system, it will be used to issue the shutdown command for all modes except 'expect':

$ EDIT SYS$MANAGER:CHARON_SHUTDOWN.COM

Code Block
languagetext
$ IF F$MODE() .eqs. "OTHER"


$
THEN
$   DEFINE SYS$OUTPUT OPA0:
$  
 THEN
$   DEFINE SYS$OUTPUT OPA0:
$   @SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER NO
NONE
$
$ ELSE
$   SET VERIFY
$   PURGE
 NONE
$
$ ELSE
$   IF "''P1'".EQS."CHECK"
$   THEN
$     WRITE SYS$OUTPUT "''P2' was successful"
$   ELSE
$     SET VERIFY
$     PURGE /KEEP=20 SYS$MANAGER:CHARON_SHUTDOWN.LOG

$   RUN

$     RUN /DETACH SYS$SYSTEM:LOGINOUT.EXE /INPUT=SYS$MANAGER:CHARON_SHUTDOWN
-
       
 -
          /OUTPUT=SYS$MANAGER:CHARON_SHUTDOWN.LOG /UIC=[1,4]

$ ENDIF
$

$   ENDIF
$ ENDIF
$ EXIT


Include Page
KBCOMMON:KB-GoToTop
KBCOMMON:KB-GoToTop