Command reference / sys
CHGPWRSCDE
Change Power On/Off Schedule Entry
Changes the power on and power off times of the days of the week (the defaults), of one date, or the interval of the warning message that goes to every work station before the scheduled power off. Changes take effect immediately; DSPPWRSCD shows the new schedule. You must have all object (*ALLOBJ) and security administrator (*SECADM) special authority (CPF1E27). A date or a time that has passed cannot be changed (CPF1E26).
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
DAY
Day
Specifies which day is changed: *ALL changes the default times of every day of the week, *SUN through *SAT change the default of one day, and *TODAY or a date in the job's date format change the values of that one date.
Suggested / special values:
*ALL, *SUN, *MON, *TUE, *WED, *THU, *FRI, *SAT, *TODAY
*ALL- The default values of every day of the week are changed.
*SUN- The default values of Sunday are changed.
*MON- The default values of Monday are changed.
*TUE- The default values of Tuesday are changed.
*WED- The default values of Wednesday are changed.
*THU- The default values of Thursday are changed.
*FRI- The default values of Friday are changed.
*SAT- The default values of Saturday are changed.
*TODAY- The values of the current date are changed.
PWRONTIME
Power on time
Specifies when the system powers on. Without a separator, give 4 or 6 digits (hhmm or hhmmss; hh 00-23, mm and ss 00-59). With a separator, give 5 or 8 characters using the job's time separator in apostrophes.
Suggested / special values:
*SAME, *NONE, *DFT
*SAME- The power on time does not change.
*NONE- No power on time is set.
*DFT- The power on time of the date goes back to the default of its day of the week. Allowed only when DAY is *TODAY or a date.
PWROFFTIME
Power off time
Specifies when the system powers off, in the same forms as PWRONTIME.
Suggested / special values:
*SAME, *NONE, *DFT
*SAME- The power off time does not change.
*NONE- No power off time is set.
*DFT- The power off time of the date goes back to the default of its day of the week. Allowed only when DAY is *TODAY or a date.
DAYDESC
Description
Specifies the description of the date, up to 38 characters. Allowed only when DAY is *TODAY or a date.
Suggested / special values:
*SAME
*SAME- The description does not change.
MSGITV
Minutes before power off to send message
Specifies how many minutes before the scheduled power off a warning message goes to all work stations, from 0 through 60. Allowed only when DAY is *ALL.
Suggested / special values:
*SAME, *DFT
*SAME- The interval does not change.
*DFT- The interval is set to its default, 30 minutes.
Examples
CHGPWRSCDE DAY(*ALL) PWRONTIME(0800) PWROFFTIME(1800)
Every day of the week powers on at 08:00 and off at 18:00.
CHGPWRSCDE DAY(*SAT) PWRONTIME(*NONE) PWROFFTIME(*NONE)
Saturday has no power on or power off time.
CHGPWRSCDE DAY('11/20/26') PWROFFTIME(2000)
On 20 November 2026 the system powers off at 20:00; the power on time keeps the default of its day.
CHGPWRSCDE DAY(*ALL) MSGITV(45)
The warning message goes to all work stations 45 minutes before the scheduled power off.
Generated from os/cl/catalog/CHGPWRSCDE.json and os/cl/help/CHGPWRSCDE.json.