210 lines
6.9 KiB
HTML
210 lines
6.9 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>Print Schedule using JS (PRTSCDJS)</title>
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<a name="PRTSCDJS.Top_Of_Page"></a>
|
||
|
<h2>Print Schedule using JS (PRTSCDJS)</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="#PRTSCDJS.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#PRTSCDJS.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#PRTSCDJS.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="PRTSCDJS"></a>
|
||
|
<p>The Print Schedule using Job Scheduler (PRTSCDJS) command allows you print a report based on a number of days that you specify that forecasts what jobs are to be submitted by Advanced Job Scheduler and when. You can include or exclude jobs that have been held.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>If you use the schedule code *MINUTES, the PRTSCDJS command can be long running.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="PRTSCDJS.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="#PRTSCDJS.NBRDAY"><b>NBRDAY</b></a></td>
|
||
|
<td valign="top">Number of days</td>
|
||
|
<td valign="top">1-365, <b><u>30</u></b>, *NEXT, *SELECT</td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#PRTSCDJS.PAGADV"><b>PAGADV</b></a></td>
|
||
|
<td valign="top">Page advance</td>
|
||
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#PRTSCDJS.INCHLDJOB"><b>INCHLDJOB</b></a></td>
|
||
|
<td valign="top">Include held jobs</td>
|
||
|
<td valign="top">*YES, <b><u>*NO</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#PRTSCDJS.SEQ"><b>SEQ</b></a></td>
|
||
|
<td valign="top">Sequence</td>
|
||
|
<td valign="top"><b><u>*DATE</u></b>, *JOBQ</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#PRTSCDJS.SLTDATE"><b>SLTDATE</b></a></td>
|
||
|
<td valign="top">Select dates</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: From date</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*CURRENT</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: To date</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*CURRENT</u></b></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="PRTSCDJS.NBRDAY"></a>
|
||
|
<h3>Number of days (NBRDAY)</h3>
|
||
|
<p>Specifies the number of days that you want to forecast jobs that are scheduled to be submitted by Advanced Job Scheduler. You can specify a number of days, the next day only or a range of days.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>30</u></b></dt>
|
||
|
<dd>The forecast will include the next 30 days.
|
||
|
</dd>
|
||
|
<dt><b>*NEXT</b></dt>
|
||
|
<dd>The forecast will be for the next day.
|
||
|
</dd>
|
||
|
<dt><b>*SELECT</b></dt>
|
||
|
<dd>When you specify *SELECT, you can add a range of dates to include in the forecast in the SLTDATE parameter.
|
||
|
</dd>
|
||
|
<dt><b><i>1-365</i></b></dt>
|
||
|
<dd>Specify the number of days that you want to include in the forecast.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTSCDJS.PAGADV"></a>
|
||
|
<h3>Page advance (PAGADV)</h3>
|
||
|
<p>Specifies whether you want the page to advance for each day that you specify.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*YES</u></b></dt>
|
||
|
<dd>The report will be printed such that at the end of each day of forecasted jobs the paper will advance to the top of a new page.
|
||
|
</dd>
|
||
|
<dt><b>*NO</b></dt>
|
||
|
<dd>The report will be printed continuously with page breaks when a page is filled.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTSCDJS.INCHLDJOB"></a>
|
||
|
<h3>Include held jobs (INCHLDJOB)</h3>
|
||
|
<p>Specifies whether you want to include jobs that have been held in the forecast report.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>The report will not include jobs that have been held.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>The report will include jobs that have been held.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTSCDJS.SEQ"></a>
|
||
|
<h3>Sequence (SEQ)</h3>
|
||
|
<p>Specifies the sequence in which you want to sort the forecast report.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*DATE</u></b></dt>
|
||
|
<dd>Sequence the report in date order.
|
||
|
</dd>
|
||
|
<dt><b>*JOBQ</b></dt>
|
||
|
<dd>Sequence the report by job queue.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTSCDJS.SLTDATE"></a>
|
||
|
<h3>Select dates (SLTDATE)</h3>
|
||
|
<p>Specifies the range of dates that you want to use when printing the forecast report. The <b>From date</b> is the beginning point in the date range of forecast information that is displayed and the <b>To date</b> is the ending point.
|
||
|
</p>
|
||
|
<p><b>Element 1: From date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>Uses the current date as the beginning date in the date range.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify the date in system format with or without date separators, such as 12/01/01 or 120101, that you want to be the beginning date of the date range.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: To date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>The current date is the ending date of the date range.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify the date in system format with or without date separators, such as 12/01/01 or 120101, that you want to be the ending date of the date range.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="PRTSCDJS.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
PRTSCDJS NBRDAY(5) PAGEADV(*NO) INCHLDJOB(*YES)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command prints the Job Schedule report for jobs that will run for the next 5 days. There will not be a separate page for each day and held jobs are included in the report.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div>
|
||
|
<h3><a name="PRTSCDJS.ERROR.MESSAGES">Error messages</a></h3>Unknown
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTSCDJS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|