HPlogo System Startup, Configuration, and Shutdown Reference Manual > Chapter 9 Halting System Activity

Including Shutdown Information in the Welcome Message

MPE documents

Complete PDF
Table of Contents
Glossary
Index

E0802 Edition 7 ♥
E0201 Edition 6
E0796 Edition 5

Include shutdown information in the welcome message. Remember to include information about the time of the shutdown and whom a user should contact with questions. Enter:

   :WELCOME
   #Return

This erases the present WELCOME message. Enter for a second time:

   :WELCOME
   #

When the pound sign prompt (#) appears, enter the message line by line, terminating each line with Return. Enter Return at the prompt to terminate the WELCOME message facility.

When users log on to the computer, the message notifies them of the impending shutdown. They can then plan their schedules accordingly.

Telling Users about the Shutdown


Use the TELL command to alert users to the upcoming shutdown approximately 15 minutes beforehand. Enter:

   :TELL @S;Shutdown in 15 minutes.  Please log off.

This message reaches all active terminals, except those in quiet mode.

Limiting System Use


Use the LIMIT and JOBFENCE commands to prevent any new users from logging on or any scheduled jobs from starting. Enter:

   :LIMIT 0,0
   :JOBFENCE 14

The command LIMIT 0,0 limits the number of concurrently running jobs and sessions. The two parameters, in this case, 0,0, define the allowed number of jobs and sessions, respectively.

The command JOBFENCE 14 defines the minimum input priority that a job or session must have to execute. The parameter 14 raises the jobfence to the highest level.

Shutting the Spool Queues and Handling the Remaining Reports


To verify that the printer is available, to shut down spool queues, and to begin removing backlogged reports, complete the following steps:
  1. Verify the printer is active. Enter:

    
       :SHOWDEV nn
       (nn is your printer's ldev number.)
    
    
  2. Shut down the spool queue.

    Entering the SHUTQ command shuts down the spool queues to prevent users from sending reports to the printer. Enter:

    
       :SHUTQ nn
       (nn is your printer's ldev number.)
    
    
    or
    
       :SHUTQ devname
       (devname is the device name of the spooled device)
    
    
  3. List the backlog of existing reports. Enter:

    
       :LISTSPF
    
    
    This lists all spool files. If the system responds NO SUCH FILE(S), you have no spool files. Since output spool files are permanent files, they will still be present when the system is restarted.

Warning Users Two Minutes Before Shutting Down the System


The TELL command, mentioned in previous sections, does not send its message to sessions in quiet mode. The WARN command, however, sends its message to all sessions, including those in quiet mode.

Warn users two minutes before shutting down the system. Enter:

   :WARN @S;SYSTEM SHUTDOWN IN 2 MINUTES.  LOG OFF.

Closing Any Open Communication Lines


Close any of the system's open communication lines. Enter both of the following to deactivate the NS 3000/XL product:

   :NSCONTROL ABORT
   :NETCONTROL STOP

Mhr style="margin:0"> NOTE: NSCONTROL ABORT ensures that all network management processes are shut down.

If you have any other communications products, consult their manuals for instructions on deactivating them.

Shutting Down the System


To shut down the system, enter:

   CTRL A
   =SHUTDOWN

The following keywords can also be entered in the SHUTDOWN command to document the shutdown:

SYSTEM
NETWORK
DTC
TERMINAL
TAPE
DISC
OTHER

You can use these options to indicate the reason that you are shutting down the system. For example, if you shut down to clear a DTC hang, use the DTC option.

   CTRL A
   =SHUTDOWN DTC

The console responds by listing shutdown messages similar to these:

  Shutdown of operating system begins. (Shut 1)
  Shutdown of user processes begins (Shut 2)
  Shutdown of jobs & sessions begins. (Shut 3)
  Spoolers notified of a shutdown. (Shut 16)
                    .
                    .
                    .
  Shutdown of system processes begins. (Shut 4)
  Shutdown of system managers begins. (Shut 5)
  Shutdown of operating system complete. (Shut 6)




Chapter 9 Halting System Activity


Appendix A Using the Access Port (AP)