124 lines
4.1 KiB
HTML
124 lines
4.1 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>Delay Job (DLYJOB)</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="DLYJOB.Top_Of_Page"></a>
|
||
|
<h2>Delay Job (DLYJOB)</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="#DLYJOB.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DLYJOB.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DLYJOB.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DLYJOB"></a>
|
||
|
<p>The Delay Job (DLYJOB) command causes your current job to wait for a specified number of seconds, or until a specified time of day, before running resumes.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>A value must be specified for either the <b>Job delay time</b> (DLY) parameter or the <b>Resume job time</b> (RSMTIME) parameter but not for both.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DLYJOB.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="#DLYJOB.DLY"><b>DLY</b></a></td>
|
||
|
<td valign="top">Job delay time</td>
|
||
|
<td valign="top">1-999999</td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLYJOB.RSMTIME"><b>RSMTIME</b></a></td>
|
||
|
<td valign="top">Resume job time</td>
|
||
|
<td valign="top"><i>Time</i></td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DLYJOB.DLY"></a>
|
||
|
<h3>Job delay time (DLY)</h3>
|
||
|
<p>Specifies the number of seconds to delay the job. The DLY keyword allows a maximum value of 999999 seconds (approximately 11 days, 14 hours). This is a required parameter if the <b>Resume job time</b> (RSMTIME) parameter is not specified.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>1-999999</i></b></dt>
|
||
|
<dd>Specify the number of seconds to delay the job.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLYJOB.RSMTIME"></a>
|
||
|
<h3>Resume job time (RSMTIME)</h3>
|
||
|
<p>Specifies the time of day the job resumes running. When specifying a resume time, the date is implied by the time specified. If the resume time is later than the current time of day, the date is assumed to be the current date. If the resume time is earlier than the current time of day, then tomorrow's date is assumed (the delay lasts until that time tomorrow). This is a required parameter if the <b>Job delay time</b> (DLY) parameter is not specified.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the time of day the job resumes running.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLYJOB.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Delaying a Job for 15 Seconds</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLYJOB DLY(15)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command delays running of the job for 15 seconds.
|
||
|
</p>
|
||
|
<p><b>Example 2: Delaying a Job Until Midnight</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLYJOB RSMTIME('000000')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command delays running of the job until midnight tonight.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLYJOB.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p>None
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLYJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|