Command reference / sys

DSPPWRSCD

Display Power On/Off Schedule

Shows or prints the scheduled power on and power off times of the system. The schedule lists one line for each date, with the day of the week, the power on time, the power off time and the description that CHGPWRSCD or CHGPWRSCDE set for the date. A date with no times follows the defaults of its day of the week.

Allowed environments: *ALL. Positional parameters: 3.

Parameters

OUTPUT Output

Specifies whether the schedule is shown at the requesting display station or printed with the job's spooled output. In a batch job the default, * , prints it.

Type
*CHAR
Required
No
Default
*
Length
10
Case
Uppercase

Allowed values: *, *PRINT

*
The schedule is shown on the display of an interactive job; a batch job prints it with its spooled output.
*PRINT
The schedule is printed with the job's spooled output, one line per date.

STRDATE Start date

Specifies the first date of the schedule. The date is entered in the job's date format, with or without the date separator, or *TODAY. A date before the current date is not allowed (CPF1E28).

Type
*DATE
Required
No
Default
*TODAY
Case
Uppercase

Suggested / special values: *TODAY

*TODAY
The schedule starts with the current date.

DAYS Number of days

Specifies how many dates the schedule lists, from 1 through 366. The default is 40 days.

Type
*DEC
Required
No
Default
40
Length
3
Range
1 to 366
Case
Uppercase

Examples

DSPPWRSCD

Shows forty days of the power on/off schedule starting with the current date.

DSPPWRSCD OUTPUT(*PRINT) DAYS(30)

Prints thirty days of the schedule with the job's spooled output.

IBM command documentation

Generated from os/cl/catalog/DSPPWRSCD.json and os/cl/help/DSPPWRSCD.json.