298 lines
10 KiB
HTML
298 lines
10 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Change Power Schedule Entry (CHGPWRSCDE)</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="CHGPWRSCDE.Top_Of_Page"></a>
|
||
|
<h2>Change Power Schedule Entry (CHGPWRSCDE)</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="#CHGPWRSCDE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGPWRSCDE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGPWRSCDE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGPWRSCDE"></a>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To use this command, you must have all object (*ALLJOB) and security administrator (*SECADM) special authorities.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGPWRSCDE.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="#CHGPWRSCDE.DAY"><b>DAY</b></a></td>
|
||
|
<td valign="top">Day</td>
|
||
|
<td valign="top"><i>Date</i>, *TODAY, *ALL, *SUN, *MON, *TUE, *WED, *THU, *FRI, *SAT</td>
|
||
|
<td valign="top">Required, Key, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGPWRSCDE.PWRONTIME"><b>PWRONTIME</b></a></td>
|
||
|
<td valign="top">Power on time</td>
|
||
|
<td valign="top"><i>Time</i>, <b><u>*SAME</u></b>, *NONE, *DFT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGPWRSCDE.PWROFFTIME"><b>PWROFFTIME</b></a></td>
|
||
|
<td valign="top">Power off time</td>
|
||
|
<td valign="top"><i>Time</i>, <b><u>*SAME</u></b>, *NONE, *DFT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGPWRSCDE.DAYDESC"><b>DAYDESC</b></a></td>
|
||
|
<td valign="top">Day description</td>
|
||
|
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGPWRSCDE.MSGITV"><b>MSGITV</b></a></td>
|
||
|
<td valign="top">Minutes before power off</td>
|
||
|
<td valign="top">0-60, <b><u>*SAME</u></b>, *DFT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGPWRSCDE.DAY"></a>
|
||
|
<h3>Day (DAY)</h3>
|
||
|
<p>Specifies the days for which you are changing the power on/off schedule.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*TODAY</b></dt>
|
||
|
<dd>The current date is used.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>The default values for all days of the week are changed.
|
||
|
</dd>
|
||
|
<dt><b>*SUN</b></dt>
|
||
|
<dd>The default values for Sunday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*MON</b></dt>
|
||
|
<dd>The default values for Monday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*TUE</b></dt>
|
||
|
<dd>The default values for Tuesday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*WED</b></dt>
|
||
|
<dd>The default values for Wednesday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*THU</b></dt>
|
||
|
<dd>The default values for Thursday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*FRI</b></dt>
|
||
|
<dd>The default values for Friday are changed.
|
||
|
</dd>
|
||
|
<dt><b>*SAT</b></dt>
|
||
|
<dd>The default values for Saturday are changed.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify the date you would like to change. The date must be specified in the same format as specified by your job attributes.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGPWRSCDE.PWRONTIME"></a>
|
||
|
<h3>Power on time (PWRONTIME)</h3>
|
||
|
<p>Specifies the power on time.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The power on time does not change.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>No power on time or default power on time is set.
|
||
|
</dd>
|
||
|
<dt><b>*DFT</b></dt>
|
||
|
<dd>The power on time for the date you are changing is set to the default value for the day of the week on which the date occurs. This value is allowed only if you specify *TODAY or a specific date on the <b>Day (DAY)</b> parameter.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the power on time in the <b>hhmmss</b> format, where <b>hh = hours</b>, <b>mm = minutes,</b> and <b>ss = seconds</b>.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGPWRSCDE.PWROFFTIME"></a>
|
||
|
<h3>Power off time (PWROFFTIME)</h3>
|
||
|
<p>Specifies the time you want a power off to occur.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The power off time does not change.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>No power off time or default power off time is set.
|
||
|
</dd>
|
||
|
<dt><b>*DFT</b></dt>
|
||
|
<dd>The power off time for the date you are changing is set to the default value for the day of the week on which the date occurs. This value is allowed only if you specify *TODAY or a specific date on the <b>Day (DAY)</b> parameter.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the power off time in the <b>hhmmss</b> format, where <b>hh = hours,</b><b>mm = minutes,</b> and <b>ss = seconds</b>.
|
||
|
<p>The time can be specified with or without a time separator:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where hh = hours, mm = minutes, and ss = seconds. Valid values for <b>hh</b> range from 00 through 23. Valid values for <b>mm</b> and <b>ss</b> range from 00 through 59.
|
||
|
</li>
|
||
|
<li>With a time separator, specify a string of 5 or 8 digits where the time separator specified for your job is used to separate the hours, minutes, and seconds. If you enter this command from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGPWRSCDE.DAYDESC"></a>
|
||
|
<h3>Day description (DAYDESC)</h3>
|
||
|
<p>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 <b>Day (DAY)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The description does not change.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 38 characters of text for an explanation of the day's power on/off schedule.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGPWRSCDE.MSGITV"></a>
|
||
|
<h3>Minutes before power off (MSGITV)</h3>
|
||
|
<p>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 <b>Day (DAY)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The number of minutes does not change.
|
||
|
</dd>
|
||
|
<dt><b>*DFT</b></dt>
|
||
|
<dd>The number of minutes is set to 30.
|
||
|
</dd>
|
||
|
<dt><b><i>0-60</i></b></dt>
|
||
|
<dd>Specify the number of minutes for the message interval.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGPWRSCDE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Changing the Schedule For An Entire Week</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGPWRSCDE DAY(*ALL) PWRONTIME(0800) PWROFFTIME(1800)
|
||
|
CHGPWRSCDE DAY(*SAT) PWRONTIME(*NONE) PWROFFTIME(*NONE)
|
||
|
CHGPWRSCDE DAY(*SUN) PWRONTIME(*NONE) PWROFFTIME(*NONE)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>These commands set the power on and power off values for an entire week.
|
||
|
</p>
|
||
|
<p><b>Example 2: Changing the Power-Off Time</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGPWRSCDE DAY('01/22/90') PWROFFTIME(2000)
|
||
|
CHGPWRSCDE DAY('01/22/90') PWROFFTIME(2000) PWRONTIME(*SAME)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>Either of these commands is used to set the power-off time to 8 p.m. on January 22, 1990.
|
||
|
</p>
|
||
|
<p><b>Example 3: Changing the Power-On Time</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGPWRSCDE DAY(012590) PWRONTIME(060000) PWROFFTIME(*NONE)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command sets the power-on time to 6 a.m. for January 25, 1990 and sets no power-off time.
|
||
|
</p>
|
||
|
<p><b>Example 4: Changing Back to the Defaults</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGPWRSCDE DAY(012590) PWROFFTIME(*DFT) PWRONTIME(*DFT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command sets the power on and off times for January 25, 1990 back to the defaults for that day of the week.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGPWRSCDE.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1E2A</b></dt>
|
||
|
<dd>Unexpected error in QSYSSCD job.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E2B</b></dt>
|
||
|
<dd>Power scheduler and cleanup options not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E2C</b></dt>
|
||
|
<dd>Error occurred scheduling next power on and off.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E23</b></dt>
|
||
|
<dd>Power schedule or cleanup options in use by another user.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E26</b></dt>
|
||
|
<dd>Cannot change a date or a time that has passed
|
||
|
</dd>
|
||
|
<dt><b>CPF1E27</b></dt>
|
||
|
<dd>Not authorized to change power on/off schedule.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E99</b></dt>
|
||
|
<dd>Unexpected error occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPF2105</b></dt>
|
||
|
<dd>Object &1 in &2 type *&3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9808</b></dt>
|
||
|
<dd>Cannot allocate one or more libraries on library list.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGPWRSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|