ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dsppwrscd.htm

170 lines
4.9 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display Power On/Off Schedule (DSPPWRSCD)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="DSPPWRSCD.Top_Of_Page"></a>
<h2>Display Power On/Off Schedule (DSPPWRSCD)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#DSPPWRSCD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPPWRSCD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPPWRSCD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPPWRSCD"></a>
<p>The Display Power On/Off Schedule (DSPPWRSCD) command allows you to display or print the power on/off schedule.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPPWRSCD.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#DSPPWRSCD.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPPWRSCD.STRDATE"><b>STRDATE</b></a></td>
<td valign="top">Start date</td>
<td valign="top"><i>Date</i>, <b><u>*TODAY</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DSPPWRSCD.DAYS"><b>DAYS</b></a></td>
<td valign="top">Days</td>
<td valign="top">1-366, <b><u>40</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPPWRSCD.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
<dl>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPPWRSCD.STRDATE"></a>
<h3>Start date (STRDATE)</h3>
<p>Specifies the first date to be displayed or printed on the power on/off schedule.
</p>
<dl>
<dt><b><u>*TODAY</u></b></dt>
<dd>The current date is used.
</dd>
<dt><b><i>date</i></b></dt>
<dd>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.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPPWRSCD.DAYS"></a>
<h3>Days (DAYS)</h3>
<p>Specifies the number of days for which the power on/off schedule is to be printed.
</p>
<dl>
<dt><b><u>40</u></b></dt>
<dd>Forty days of the schedule are printed.
</dd>
<dt><b><i>1-366</i></b></dt>
<dd>Specify the number of days.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPPWRSCD.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying Power On/Off Schedule</b>
</p>
<p>
<pre>
DSPPWRSCD
</pre>
</p>
<p>This command displays the power on/off schedule.
</p>
<p><b>Example 2: Printing 30 Days of Power On/Off Schedule</b>
</p>
<p>
<pre>
DSPPWRSCD OUTPUT(*PRINT) DAYS(30)
</pre>
</p>
<p>This command prints 30 days of the power on/off schedule, starting with the current date.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPPWRSCD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1E2B</b></dt>
<dd>Power scheduler and cleanup options not found.
</dd>
<dt><b>CPF1E23</b></dt>
<dd>Power schedule or cleanup options in use by another user.
</dd>
<dt><b>CPF1E27</b></dt>
<dd>Not authorized to change power on/off schedule.
</dd>
<dt><b>CPF1E28</b></dt>
<dd>Cannot print schedule at specified STRDATE.
</dd>
<dt><b>CPF1E99</b></dt>
<dd>Unexpected error occurred.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPPWRSCD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>