188 lines
6.6 KiB
HTML
188 lines
6.6 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>Remove Job Schedule Entry (RMVJOBSCDE)</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="RMVJOBSCDE.Top_Of_Page"></a>
|
||
|
<h2>Remove Job Schedule Entry (RMVJOBSCDE)</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="#RMVJOBSCDE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#RMVJOBSCDE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#RMVJOBSCDE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="RMVJOBSCDE"></a>
|
||
|
<p>The Remove Job Schedule Entry (RMVJOBSCDE) command allows you to remove an entry, entries, or generic entries in the job schedule. Each job schedule entry corresponds to one batch job, and contains the information needed to automatically run the job once or at regularly scheduled intervals. A message is sent to you and the message queue specified in the job schedule entry when an entry is successfully removed.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To remove entries, you must be running under a user profile which has job control (*JOBCTL) special authority; otherwise you can remove only those entries that you added.
|
||
|
</li>
|
||
|
<li>To use this command, you must have:
|
||
|
<ul>
|
||
|
<li>Use (*USE) authority to object QDFTJOBSCD, type *JOBSCD, in library QUSRSYS and execute (*EXECUTE) authority to library QUSRSYS.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="RMVJOBSCDE.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="#RMVJOBSCDE.JOB"><b>JOB</b></a></td>
|
||
|
<td valign="top">Job name</td>
|
||
|
<td valign="top"><i>Generic name, name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#RMVJOBSCDE.ENTRYNBR"><b>ENTRYNBR</b></a></td>
|
||
|
<td valign="top">Entry number</td>
|
||
|
<td valign="top">000001-999999, <b><u>*ONLY</u></b>, *ALL</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="RMVJOBSCDE.JOB"></a>
|
||
|
<h3>Job name (JOB)</h3>
|
||
|
<p>Specifies the name of the job schedule entry.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the job schedule entry. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all entries with names that begin with the generic name, and for which the user has authority, are removed. If a generic name is specified, ENTRYNBR(*ALL) must also be specified. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete job name.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the job schedule entry that you want to remove.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="RMVJOBSCDE.ENTRYNBR"></a>
|
||
|
<h3>Entry number (ENTRYNBR)</h3>
|
||
|
<p>Specifies the number of the job schedule entry you want to remove. The message sent when an entry is successfully added contains the entry number. You can also determine the entry number by using the Work with Job Schedule Entries (WRKJOBSCDE) command. Press F11 from the WRKJOBSCDE display to show the entry numbers of the selected entries.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ONLY</u></b></dt>
|
||
|
<dd>Only one entry in the job schedule has the job name specified for the JOB parameter. If *ONLY is specified and more than one entry has the specified job name, no entries are removed and an error message is sent.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All entries with the specified job name are removed.
|
||
|
</dd>
|
||
|
<dt><b><i>000001-999999</i></b></dt>
|
||
|
<dd>Specify the number of the job schedule entry you want to remove.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="RMVJOBSCDE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Removing Job Schedule Entries</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
RMVJOBSCDE JOB(SAMPLE*) ENTRYNBR(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command removes all the job schedule entries whose job names start with SAMPLE.
|
||
|
</p>
|
||
|
<p><b>Example 2: Removing an Individual Job Schedule Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
RMVJOBSCDE JOB(PAYROLL) ENTRYNBR(*ONLY)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command removes the job PAYROLL in the job schedule.
|
||
|
</p>
|
||
|
<p><b>Example 3: Removing a Generic Job Schedule Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
RMVJOBSCDE JOB(PAY*) ENTRYNBR(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command removes all entries in the job schedule that have the prefix PAY in their names.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="RMVJOBSCDE.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1628</b></dt>
|
||
|
<dd>Job schedule entry &3 number &4 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1629</b></dt>
|
||
|
<dd>Not authorized to job schedule &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF1630</b></dt>
|
||
|
<dd>Not authorized to job schedule entry &3 number &4.
|
||
|
</dd>
|
||
|
<dt><b>CPF1631</b></dt>
|
||
|
<dd>&3 entries successfully removed, &4 entries not removed.
|
||
|
</dd>
|
||
|
<dt><b>CPF1636</b></dt>
|
||
|
<dd>More than one entry with specified entry job name found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1637</b></dt>
|
||
|
<dd>Job schedule &1 in library &2 in use.
|
||
|
</dd>
|
||
|
<dt><b>CPF1638</b></dt>
|
||
|
<dd>Job schedule entry &3 number &4 in use.
|
||
|
</dd>
|
||
|
<dt><b>CPF1640</b></dt>
|
||
|
<dd>Job schedule &1 in library &2 does not exist.
|
||
|
</dd>
|
||
|
<dt><b>CPF1641</b></dt>
|
||
|
<dd>Job schedule &1 in library &2 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF1645</b></dt>
|
||
|
<dd>No job schedule entries found for specified name.
|
||
|
</dd>
|
||
|
<dt><b>CPF1646</b></dt>
|
||
|
<dd>Entry number must be *ALL when generic name specified.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RMVJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|