197 lines
7.0 KiB
HTML
197 lines
7.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>Release Job Schedule Entry (RLSJOBSCDE)</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="RLSJOBSCDE.Top_Of_Page"></a>
|
|
<h2>Release Job Schedule Entry (RLSJOBSCDE)</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="#RLSJOBSCDE.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#RLSJOBSCDE.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#RLSJOBSCDE.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="RLSJOBSCDE"></a>
|
|
<p>The Release Job Schedule Entry (RLSJOBSCDE) command allows you to release an entry, all entries, or a set of entries in the job schedule. Each job schedule entry contains the information needed to automatically submit a job to be run once or at regularly scheduled intervals.
|
|
</p>
|
|
<p>If you release a job schedule entry, the job is not submitted immediately, even if the date and time at which it was scheduled to be submitted passed while the entry was held. The job is submitted on any future dates for which it is scheduled to be submitted.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ol>
|
|
<li>To release entries, you must have job control (*JOBCTL) special authority; otherwise you can release 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="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="RLSJOBSCDE.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="#RLSJOBSCDE.JOB"><b>JOB</b></a></td>
|
|
<td valign="top">Job name</td>
|
|
<td valign="top"><i>Generic name, name</i>, *ALL</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RLSJOBSCDE.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="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="RLSJOBSCDE.JOB"></a>
|
|
<h3>Job name (JOB)</h3>
|
|
<p>Specifies the name of the job schedule entry.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All of the job schedule entries for which you have authority are released. If JOB(*ALL) is specified, ENTRYNBR(*ALL) must also be specified.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name used to find job schedule entries. 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 released. 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 release.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RLSJOBSCDE.ENTRYNBR"></a>
|
|
<h3>Entry number (ENTRYNBR)</h3>
|
|
<p>Specifies the number of the job schedule entry you want to release. 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 released and an error message is sent.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All entries with the specified job name are released.
|
|
</dd>
|
|
<dt><b><i>000001-999999</i></b></dt>
|
|
<dd>Specify the number of the job schedule entry you want to release.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RLSJOBSCDE.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Releasing All Job Schedule Entries</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RLSJOBSCDE JOB(*ALL) ENTRYNBR(*ALL)
|
|
</pre>
|
|
</p>
|
|
<p>This command releases all the job schedule entries.
|
|
</p>
|
|
<p><b>Example 2: Releasing an Individual Job Schedule Entry</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RLSJOBSCDE JOB(PAYROLL) ENTRYNBR(*ONLY)
|
|
</pre>
|
|
</p>
|
|
<p>This command releases entry PAYROLL in the job schedule.
|
|
</p>
|
|
<p><b>Example 3: Releasing a Generic Job Schedule Entry</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RLSJOBSCDE JOB(PAY*) ENTRYNBR(*ALL)
|
|
</pre>
|
|
</p>
|
|
<p>This command releases all entries in the job schedule with the prefix PAY in their names.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RLSJOBSCDE.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>CPF1632</b></dt>
|
|
<dd>Job schedule entry &3 number &4 damaged.
|
|
</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>
|
|
<dt><b>CPF1648</b></dt>
|
|
<dd>&3 entries successfully released. &4 entries not released.
|
|
</dd>
|
|
<dt><b>CPF1649</b></dt>
|
|
<dd>Entry number must be *ALL.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RLSJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|