Stop the server

Use this topic to safely shut down the server and to plan for controlled server restart operations.

Turning off your system takes careful attention. If you turn off the system without completing the following tasks, data might be damaged or the system might behave in unpredictable ways. The iSeries™ server provides several ways to safely turn off your system.

Before you turn off your system, you must complete the following tasks.

Make sure all batch jobs are finished and users are signed off the system

  1. Send a message that interrupts all users signed on the system telling them to sign off.
    1. Type GO MANAGESYS and press Enter.
    2. Select option 12 (Work with signed-on users) on the Manage Your System, Users, and Devices (MANAGESYS) menu.
      Note: If the Work with User Jobs display is shown, you need to switch to basic assistance level using F21.
    3. Press F10 (Send message to all) on the Work with Signed-On Users display.
    4. Type the message in the Message text field on the Send a Message display and press F10 (Send).
  2. Wait for the users to sign off.
  3. Check to make sure all users have signed off by pressing F5 (Refresh) on the Work with Signed-On Users display. When everyone is signed off the system, the display will show only your job. To sign someone off the system, use option 4 (Sign off).
    Note: If you have separate interactive subsystems, other than the controlling subsystem, you might want to stop the interactive subsystems when the users have signed off. This prevents them from signing on again before you stop the system. See Working with Subsystems for information about how to end a subsystem.

Check the status of any batch jobs that might be affected if the system is powered down

  1. On any command line, type GO MANAGESYS and press Enter.
  2. Select option 11 (Work with jobs) on the Manage Your System, Users, and Devices (MANAGESYS) menu.
    Note: If the Work with User Jobs display is shown, you need to switch to basic assistance level using F21.
  3. Press F14 (Select other jobs) on the Work with Jobs display.
  4. Type *all in the User field.
  5. Type an N in every field except the Message waiting, Running, and Running job held fields. The Work with Jobs display is shown again with the batch jobs listed.
  6. If any job queues have jobs waiting to run, press F22 (Work with job queues) to see the Work with Job Queues display.
  7. Hold any job queues that have jobs waiting to run on the Work with Job Queues display. Release these job queues when you start the system again.
  8. Press F12 (Cancel) to return to the Work with Jobs display.
  9. Press F5 (Refresh) every few minutes until all batch jobs have completed processing.

Check for removable media

  1. Check to see if there are any tapes in any tape units or CD-ROMs in any optical units.
  2. Remove any tapes or CD-ROM currently in the unit.
Related concepts
Schedule a system shutdown and restart
Subsystems, job queues, and memory pools
Controlled shutdown concepts
Related reference
PWRDWNSYS