214 lines
7.2 KiB
HTML
214 lines
7.2 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>Hold Job Schedule Entry (HLDJOBSCDE)</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="HLDJOBSCDE.Top_Of_Page"></a>
|
||
|
<h2>Hold Job Schedule Entry (HLDJOBSCDE)</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="#HLDJOBSCDE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#HLDJOBSCDE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#HLDJOBSCDE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="HLDJOBSCDE"></a>
|
||
|
<p>The Hold Job Schedule Entry (HLDJOBSCDE) command allows you to hold 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 hold a job schedule entry:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>The entry is held until it is released using the Release Job Schedule Entry (RLSJOBSCDE) or Work with Job Schedule Entries (WRKJOBSCDE) command.
|
||
|
</li>
|
||
|
<li>The job is not submitted when it is released, even if a date and time at which it was scheduled to be submitted passed while the entry was held.
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To hold entries, you must have job control (*JOBCTL) special authority; otherwise you can hold 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="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="HLDJOBSCDE.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="#HLDJOBSCDE.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="#HLDJOBSCDE.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="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="HLDJOBSCDE.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>*ALL</b></dt>
|
||
|
<dd>All of the job schedule entries for which you have authority are held. 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 held. 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 held.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="HLDJOBSCDE.ENTRYNBR"></a>
|
||
|
<h3>Entry number (ENTRYNBR)</h3>
|
||
|
<p>Specifies the number of the job schedule entry you want held. 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 held and an error message is sent.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All entries with the specified job name are held.
|
||
|
</dd>
|
||
|
<dt><b><i>000001-999999</i></b></dt>
|
||
|
<dd>Specify the number of the job schedule entry you want held.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="HLDJOBSCDE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Holding a Job Schedule Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
HLDJOBSCDE JOB(CLEANUP)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command holds the job schedule entry with the job name CLEANUP.
|
||
|
</p>
|
||
|
<p><b>Example 2: Holding All Job Schedule Entries</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
HLDJOBSCDE JOB(*ALL) ENTRYNBR(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command holds all entries in the job schedule.
|
||
|
</p>
|
||
|
<p><b>Example 3: Holding an Individual Job Schedule Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
HLDJOBSCDE JOB(PAYROLL) ENTRYNBR(*ONLY)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command holds the entry PAYROLL in the job schedule.
|
||
|
</p>
|
||
|
<p><b>Example 4: Holding a Generic Job Schedule Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
HLDJOBSCDE JOB(PAY*) ENTRYNBR(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command holds 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="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="HLDJOBSCDE.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>CPF1647</b></dt>
|
||
|
<dd>&3 entries successfully held, &4 entries not held.
|
||
|
</dd>
|
||
|
<dt><b>CPF1649</b></dt>
|
||
|
<dd>Entry number must be *ALL.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#HLDJOBSCDE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|