Display Power On/Off Schedule (DSPPWRSCD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Power On/Off Schedule (DSPPWRSCD) command allows you to display or print the power on/off schedule.

Top

Parameters

Keyword Description Choices Notes
OUTPUT Output *, *PRINT Optional, Positional 1
STRDATE Start date Date, *TODAY Optional
DAYS Days 1-366, 40 Optional
Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Start date (STRDATE)

Specifies the first date to be displayed or printed on the power on/off schedule.

*TODAY
The current date is used.
date
Specify a date in the future or the current date. The date must be entered in the same format as specified by your job attributes.
Top

Days (DAYS)

Specifies the number of days for which the power on/off schedule is to be printed.

40
Forty days of the schedule are printed.
1-366
Specify the number of days.
Top

Examples

Example 1: Displaying Power On/Off Schedule

DSPPWRSCD

This command displays the power on/off schedule.

Example 2: Printing 30 Days of Power On/Off Schedule

DSPPWRSCD   OUTPUT(*PRINT)  DAYS(30)

This command prints 30 days of the power on/off schedule, starting with the current date.

Top

Error messages

*ESCAPE Messages

CPF1E2B
Power scheduler and cleanup options not found.
CPF1E23
Power schedule or cleanup options in use by another user.
CPF1E27
Not authorized to change power on/off schedule.
CPF1E28
Cannot print schedule at specified STRDATE.
CPF1E99
Unexpected error occurred.
Top