Enabling a power-handling program to control system activity during a power interruption
System software support is essentially the same for both the battery feature and the uninterruptible power supply attachment.
In some environments you may want to perform different actions when the uninterruptible power supply begins supplying power to the system or when power is fluctuating. A power-handling program can use any of the following methods to handle these situations:
- Sending specific messages to interactive users
- Ending batch jobs and subsystems in preparation for powering down
- Dynamically changing the system values that control uninterruptible power supply processing
- Issuing the PWRDWNSYS command to shut down the system
To specify that you have power handling programs, change the QUPSMSGQ system value to the name of a queue you have created. The system will send the same messages to both QSYSOPR and the queue you specified. Change the QUPSDLYTIM system value to *NOMAX.
The program you use to handle the message queue must be active and must allocate the queue. If a program has not allocated the queue that is specified in QUPSMSGQ, the system will assume that no power handling program exists.
- Implementing a power-handling program
When an uninterruptible power supply is attached, you can use a power-handling program for a system.- Writing a power-handling program
You should activate the power-handling program at each initial program load (IPL) and keep it active at all times. It should be accounted for in the activity level available in work management subsystem specifications.
Parent topic:
Controlling system shutdown using a power-handling programRelated concepts
Uninterruptible power supply message queue system value (QUPSMSGQ) Uninterruptible power supply delay time system value (QUPSDLYTIM) Handling uninterruptible power supply conditions when no power-handling program exists