158 lines
5.0 KiB
HTML
158 lines
5.0 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>Start Cleanup (STRCLNUP)</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="STRCLNUP.Top_Of_Page"></a>
|
|
<h2>Start Cleanup (STRCLNUP)</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="#STRCLNUP.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#STRCLNUP.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#STRCLNUP.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="STRCLNUP"></a>
|
|
<p>The Start Cleanup (STRCLNUP) command starts the cleanup operation, if allowed. Cleanup is allowed if *YES is specified for the <b>Allow cleanup (ALWCLNUP)</b> parameter of the Change Cleanup (CHGCLNUP) command.
|
|
</p>
|
|
<p>A batch job is submitted to the job queue specified on the Change Cleanup (CHGCLNUP) command if cleanup is allowed. This cleanup control job submits individual batch jobs to the same job queue each day These batch jobs do the actual cleanup of the items specified on the CHGCLNUP command.
|
|
</p>
|
|
<p>More information is in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</p>
|
|
<p><b>Restriction:</b> You must have job control (*JOBCTL) special authority and have at least *USE authority to the QPGMR user profile to use this command.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRCLNUP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="STRCLNUP.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="#STRCLNUP.OPTION"><b>OPTION</b></a></td>
|
|
<td valign="top">Option</td>
|
|
<td valign="top"><b><u>*SCHED</u></b>, *IMMED</td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRCLNUP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="STRCLNUP.OPTION"></a>
|
|
<h3>Option (OPTION)</h3>
|
|
<p>Specifies when the cleanup operation is started.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SCHED</u></b></dt>
|
|
<dd>The cleanup operation is started as scheduled for the <b>Time cleanup starts each day (STRTIME)</b> parameter of the Change Cleanup (CHGCLNUP) command or as scheduled on the Change Cleanup Options display.
|
|
</dd>
|
|
<dt><b>*IMMED</b></dt>
|
|
<dd>The cleanup operation starts immediately.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRCLNUP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="STRCLNUP.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Starting Cleanup Operation as Scheduled</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
STRCLNUP
|
|
</pre>
|
|
</p>
|
|
<p>This command starts the cleanup operation as specified.
|
|
</p>
|
|
<p><b>Example 2: Starting Cleanup Operation as Specified on CHGCLNUP Command</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
STRCLNUP OPTION(*SCHED)
|
|
</pre>
|
|
</p>
|
|
<p>This command starts the cleanup operation as specified on the STRTIME parameter of the Change Cleanup (CHGCLNUP) command or on the Change Cleanup Options panel.
|
|
</p>
|
|
<p><b>Example 3: Starting Cleanup Operation Immediately</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
STRCLNUP OPTION(*IMMED)
|
|
</pre>
|
|
</p>
|
|
<p>This command starts the cleanup operation immediately.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRCLNUP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="STRCLNUP.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>CPF1E3A</b></dt>
|
|
<dd>Not authorized to start cleanup.
|
|
</dd>
|
|
<dt><b>CPF1E3C</b></dt>
|
|
<dd>Job queue &2/&1 not found.
|
|
</dd>
|
|
<dt><b>CPF1E3D</b></dt>
|
|
<dd>Library &1 for JOBQ parameter not found.
|
|
</dd>
|
|
<dt><b>CPF1E33</b></dt>
|
|
<dd>Cleanup options or power schedule in use by another user.
|
|
</dd>
|
|
<dt><b>CPF1E34</b></dt>
|
|
<dd>Error occurred starting &1 job.
|
|
</dd>
|
|
<dt><b>CPF1E36</b></dt>
|
|
<dd>Cleanup has not been started.
|
|
</dd>
|
|
<dt><b>CPF1E37</b></dt>
|
|
<dd>Cleanup has already been started or is scheduled to run.
|
|
</dd>
|
|
<dt><b>CPF1E38</b></dt>
|
|
<dd>Cleanup not allowed to run.
|
|
</dd>
|
|
<dt><b>CPF1E39</b></dt>
|
|
<dd>Not authorized to job queue used for cleanup.
|
|
</dd>
|
|
<dt><b>CPF1E99</b></dt>
|
|
<dd>Unexpected error occurred.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRCLNUP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|