Stop the system
Turning off your system needs careful attention. If you turn off the system without following this topic, data might be damaged, or the system might behave in unpredictable ways.
The i5/OS® operating system provides several ways to safely turn off your system:
- Use the Power Down System (PWRDWNSYS) command to either perform a controlled shutdown operation or to shut down the system immediately.
- You can stop the system using the Power On and Off Tasks (POWER) menu. To get to the Power On and Off Tasks menu, type go power on any command line and press Enter.
- You can set up a schedule that automatically turns your system on and off. You can determine the time of day that you want the system turned on and off. You can also specify special circumstances that change the normal daily schedule, such as a holiday or special closing.
- In emergencies you can stop the system by using the Power button. However, using the Power button might cause errors with your data files and other objects on the system.
Before you turn off your system, complete the following tasks.
Making sure all batch jobs are finished and users are signed off the system
- Send a message that interrupts all users signed on to the system, telling them to sign off. To do this, follow these steps:
- Type GO MANAGESYS and press Enter.
- Select Option 12 (Work with signed-on users) on the Manage Your System, Users, and Devices (MANAGESYS) menu.
If the Work with User Jobs display is shown, you need to switch to basic assistance level using F21 (Select assistance level).
- Press F10 (Send message to all) on the Work with Signed-On Users display.
- Type the message in the Message text field on the Send a Message display and press F10 (Send).
- Wait for the users to sign off.
- 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).
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. To work with each active subsystem in the system, use the Work with Subsystems (WRKSBS) command. To end the specified subsystem (or all active subsystems), use the End Subsystem (ENDSBS) command.
Checking the status of any batch jobs that might be affected if the system is powered down
- On any command line, type GO MANAGESYS and press Enter.
- Select Option 11 (Work with jobs) on the Manage Your System, Users, and Devices (MANAGESYS) menu.
If the Work with User Jobs display is shown, you need to switch to basic assistance level using F21.
- Press F14 (Select other jobs) on the Work with Jobs display.
- Type *all in the User field.
- 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.
- If any job queues have jobs waiting to run, press F22 (Work with job queues) to see the Work with Job Queues display.
- 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.
- Press F12 (Cancel) to return to the Work with Jobs display.
- Press F5 (Refresh) every few minutes until all batch jobs have completed processing.
Checking for removable media
- Check to see if there are any tapes in any tape units or CD-ROMs in any optical units.
- Remove any tapes or CD-ROM currently in the unit.
- Turning off the system immediately
Regardless of the system mode, you can stop the system by using the Power Down System (PWRDWNSYS) command on any command line.- Using the Power button
If you cannot use Option 3 (Power off the system immediately) or Option 4 (Power off the system immediately and then power on) on the Power On and Off Tasks (POWER) menu to stop the system, you can turn off the system using the Power button when the mode is set to Manual.
Parent topic:
Starting and stopping the systemRelated concepts
Scheduling a system shutdown and restart Subsystems, job queues, and memory pools Controlled shutdown conceptsRelated reference
Power Down System (PWRDWNSYS) command