Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Power On/Off Schedule Entry (CHGPWRSCDE) command is used to change the system's power on/off schedule. You can change power on or power off default values for the days of the week or change the values for a particular day. You can also change or set the time the system sends a message that warns users of an impending power off. The changes you make in the power on/off schedule are effective immediately.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DAY | Day | Date, *TODAY, *ALL, *SUN, *MON, *TUE, *WED, *THU, *FRI, *SAT | Required, Key, Positional 1 |
PWRONTIME | Power on time | Time, *SAME, *NONE, *DFT | Optional |
PWROFFTIME | Power off time | Time, *SAME, *NONE, *DFT | Optional |
DAYDESC | Day description | Character value, *SAME | Optional |
MSGITV | Minutes before power off | 0-60, *SAME, *DFT | Optional |
Top |
Specifies the days for which you are changing the power on/off schedule.
This is a required parameter.
Top |
Specifies the power on time.
Top |
Specifies the time you want a power off to occur.
The time can be specified with or without a time separator:
Top |
Specifies a description of the power on/off schedule. You can use this parameter to explain why the schedule is set the way it is. This parameter is valid only if *TODAY or a specific date is specified for the Day (DAY) parameter.
Top |
Specifies the number of minutes before the scheduled power off that a message is sent to all work stations warning users of the scheduled power off. This parameter is allowed only if *ALL is specified for the Day (DAY) parameter.
Top |
Example 1: Changing the Schedule For An Entire Week
CHGPWRSCDE DAY(*ALL) PWRONTIME(0800) PWROFFTIME(1800) CHGPWRSCDE DAY(*SAT) PWRONTIME(*NONE) PWROFFTIME(*NONE) CHGPWRSCDE DAY(*SUN) PWRONTIME(*NONE) PWROFFTIME(*NONE)
These commands set the power on and power off values for an entire week.
Example 2: Changing the Power-Off Time
CHGPWRSCDE DAY('01/22/90') PWROFFTIME(2000) CHGPWRSCDE DAY('01/22/90') PWROFFTIME(2000) PWRONTIME(*SAME)
Either of these commands is used to set the power-off time to 8 p.m. on January 22, 1990.
Example 3: Changing the Power-On Time
CHGPWRSCDE DAY(012590) PWRONTIME(060000) PWROFFTIME(*NONE)
This command sets the power-on time to 6 a.m. for January 25, 1990 and sets no power-off time.
Example 4: Changing Back to the Defaults
CHGPWRSCDE DAY(012590) PWROFFTIME(*DFT) PWRONTIME(*DFT)
This command sets the power on and off times for January 25, 1990 back to the defaults for that day of the week.
Top |
*ESCAPE Messages
Top |