ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dsphstjs.htm

419 lines
15 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display History using JS (DSPHSTJS)</title>
</head>
<body bgcolor="white">
<a name="DSPHSTJS.Top_Of_Page"></a>
<h2>Display History using JS (DSPHSTJS)</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="#DSPHSTJS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPHSTJS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPHSTJS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPHSTJS"></a>
<p>The Display History using Job Scheduler (DSPHSTJS) command allows you to display or print job completion history based on specified completion status, date ranges and sequences. The Display History using Job Scheduler command takes you to the Display History display which shows the job information, last run information and completion status for jobs based on the parameters you have selected in the DSPHSTJS command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPHSTJS.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" rowspan="4"><a href="#DSPHSTJS.JOB"><b>JOB</b></a></td>
<td valign="top">Job entry</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="4">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: Job</td>
<td valign="top">
<i>Generic name, name</i>, <b><u>*ALL</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Group</td>
<td valign="top">
<i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
</tr>
<tr>
<td valign="top">Element 3: Group sequence</td>
<td valign="top">
1-99, <b><u>*ALL</u></b>, *NONE</td>
</tr>
<tr>
<td valign="top"><a href="#DSPHSTJS.STATUS"><b>STATUS</b></a></td>
<td valign="top">Completion status</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 7 repetitions): *NORMAL, *ABNORMAL, *ABNGRP, *SBMERROR, *PROCESS, *JOBQ, *CANCELLED, *RESET</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="7"><a href="#DSPHSTJS.PERIOD"><b>PERIOD</b></a></td>
<td valign="top">Time period for history output</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="7">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Start time and date</td>
<td valign="top">
<i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: Beginning time</td>
<td valign="top">
<i>Time</i>, <b><u>*AVAIL</u></b></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: Beginning date</td>
<td valign="top">
<i>Character value</i>, *CURRENT, <b><u>*BEGIN</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: End time and date</td>
<td valign="top">
<i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: Ending time</td>
<td valign="top">
<i>Time</i>, <b><u>*AVAIL</u></b></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: Ending date</td>
<td valign="top">
<i>Character value</i>, *CURRENT, <b><u>*END</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#DSPHSTJS.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location name</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b>, *LCL, *JOBCTL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DSPHSTJS.SEQOPT"><b>SEQOPT</b></a></td>
<td valign="top">Sequence option</td>
<td valign="top"><b><u>*DATE</u></b>, *JOB, *GROUP</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DSPHSTJS.START"><b>START</b></a></td>
<td valign="top">Entries to display first</td>
<td valign="top"><b><u>*LAST</u></b>, *FIRST</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DSPHSTJS.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPHSTJS.JOB"></a>
<h3>Job entry (JOB)</h3>
<p>Specifies the name of the job or jobs that you want to display or print. You can specify a group and associated sequence numbers for the jobs whose history you want to display or print. You can sequence the display or report by job, by date or by group. When you press Enter, you are taken to the Display History panel where you can perform various actions on the selected job history information.
</p>
<p><b>Element 1: Job</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>You want to display or print Advanced Job Scheduler history for all jobs that meet the criteria specified in the command.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic job. For example, specifying JOB* would cause all jobs whose names begin with JOB to be included.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job that you want to display or print.
</dd>
</dl>
<p><b>Element 2: Group</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>You want to display or print Advanced Job Scheduler history for all jobs that are members of any group.
</dd>
<dt><b>*NONE</b></dt>
<dd>The job is not a member of a group.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic group. For example, specifying GROUP* would cause all groups whose names begin with GROUP to be included.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the group for which you want to display or print.
</dd>
</dl>
<p><b>Element 3: Group sequence</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All sequence numbers should be included in the jobs that you want to display or print.
</dd>
<dt><b>*NONE</b></dt>
<dd>The job does not have a sequence number.
</dd>
<dt><b><i>1-99</i></b></dt>
<dd>Specify the sequence number of the job that you want to display or print.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.STATUS"></a>
<h3>Completion status (STATUS)</h3>
<p>Specifies the completion status that you want to use when displaying or printing Advanced Job Scheduler history information.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Include all jobs in the Display History display regardless of completion status.
</dd>
</dl>
<p><b>Other values (up to 7 repetitions)</b>
</p>
<dl>
<dt><b>*NORMAL</b></dt>
<dd>The job came to normal end of job completion.
</dd>
<dt><b>*ABNORMAL</b></dt>
<dd>The job completed abnormally. The Advanced Job Scheduler log can be used to determine why the job ended abnormally.
</dd>
<dt><b>*ABNGRP</b></dt>
<dd>The group ended abnormally. This completion status applies to all jobs in the group that did not process because a previous job group did not run successfully.
</dd>
<dt><b>*SBMERROR</b></dt>
<dd>The job did not run successfully because there was an error in the job submission. An example of a submission error would be a job submitted by a user who did not have the proper authority to submit the job.
</dd>
<dt><b>*PROCESS</b></dt>
<dd>The job is currently in process on the system.
</dd>
<dt><b>*JOBQ</b></dt>
<dd>The job is currently in the job queue waiting for processing.
</dd>
<dt><b>*CANCELLED</b></dt>
<dd>The job was cancelled prior to its completion.
</dd>
<dt><b>*RESET</b></dt>
<dd>The job was manually reset.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.PERIOD"></a>
<h3>Time period for history output (PERIOD)</h3>
<p>Specifies the period of time for which the history entries are selected for the display or report.
</p>
<p><b>Element 1: Start time and date</b>
</p>
<p>Specifies the beginning time and date at or after which history entries are included. Any jobs started before the specified time and date are not included in the display or report.
</p>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Element 1: Beginning time</b>
</p>
<dl>
<dt><b><u>*AVAIL</u></b></dt>
<dd>Any time that is available for the beginning date is included.
</dd>
<dt><b><i>time</i></b></dt>
<dd>Specify the beginning time for the specified beginning date that indicates which history entries are to be included.
<p>The time is specified in 24-hour format and can be specified with or without a time separator:
</p>
<ul>
<li>Without a time separator, specify a string of 4 digits (hhmm) where hh=hours and mm=minutes. Hours and minutes must each be exactly 2 digits (using leading zeros if necessary).
</li>
<li>With a time separator, specify a string of 5 digits where the time separator specified for your job is used to separate the hours, minutes, and seconds. If you enter this command from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
</li>
</ul>
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 2: Beginning date</b>
</p>
<dl>
<dt><b><u>*BEGIN</u></b></dt>
<dd>History entries from the beginning of the history entries are included.
</dd>
<dt><b>*CURRENT</b></dt>
<dd>History entries with a current date run date and between the specified beginning and ending times (if specified) are included.
</dd>
<dt><b><i>date</i></b></dt>
<dd>Specify the beginning date. The date must be specified in the job date format.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify a number to represent the number of days before the current date that you want to use for the search. An example would be 10. If today's date were 3/12/01 (date format is mm/dd/yy), the Begin date for the Advanced Job Scheduler history would be 3/2/01.
</dd>
</dl>
</dd>
</dl>
<p><b>Element 2: End time and date</b>
</p>
<p>Specifies the ending time and date after which history entries are not included. Any job completion times after the specified time and date are not included in the history entries for the display or report.
</p>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Element 1: Ending time</b>
</p>
<dl>
<dt><b><u>*AVAIL</u></b></dt>
<dd>Any time that is available for the ending date is included.
</dd>
<dt><b><i>time</i></b></dt>
<dd>Specify the ending time for the specified ending date that indicates which history entries are to be included.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 2: Ending date</b>
</p>
<dl>
<dt><b><u>*END</u></b></dt>
<dd>The history entries to the end of the history information are included in the display or report.
</dd>
<dt><b>*CURRENT</b></dt>
<dd>History entries whose run date is on or before the current date are included in the display or report.
</dd>
<dt><b><i>date</i></b></dt>
<dd>Specify the ending date. The date must be specified in the job date format.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify a number to represent the number of days before the current date that you want to use for the search. An example would be 10. If today's date were 3/22/01 (date format is mm/dd/yy), the End date for the Advanced Job Scheduler history would be 3/12/01.
</dd>
</dl>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.RMTLOCNAME"></a>
<h3>Remote location name (RMTLOCNAME)</h3>
<p>Specifies the remote location and network identification of the system that created the job history that you want to display or print.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Selects all job history for all systems in the network.
</dd>
<dt><b>*LCL</b></dt>
<dd>Selects all job history for the local system.
</dd>
<dt><b>*JOBCTL</b></dt>
<dd>Selects all job history using *JOBCTL as the remote location name.
</dd>
<dt><b><i>remote-location-name</i></b></dt>
<dd>Specify the name of the remote location associated with the system whose job history you want to display or print.
</dd>
<dt><b><i>network-ID.remote-location-name</i></b></dt>
<dd>Specify the network identifier and the name of the remote location associated with the system. Specify these values using the format nnnnnnnn.cccccccc where nnnnnnnn is the network identifier and cccccccc is the remote location name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.SEQOPT"></a>
<h3>Sequence option (SEQOPT)</h3>
<p>Specifies how the Display History display is to be sequenced.
</p>
<dl>
<dt><b><u>*DATE</u></b></dt>
<dd>Sequences the Display History display by date.
</dd>
<dt><b>*JOB</b></dt>
<dd>Sequences the Display History display by job.
</dd>
<dt><b>*GROUP</b></dt>
<dd>Sequences the Display History display by group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.START"></a>
<h3>Entries to display first (START)</h3>
<p>Specifies whether the newest job history entries or the oldest job history entries are shown first. The display station user can roll the display up or down to see other job history entries if the job history entry is on another display screen.
</p>
<dl>
<dt><b><u>*LAST</u></b></dt>
<dd>The last (newest) job history is shown on the bottom line of the display.
</dd>
<dt><b>*FIRST</b></dt>
<dd>The first (oldest) job history is shown on the top line of the display.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPHSTJS.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
</dd>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPHSTJS.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying Job Scheduler History</b>
</p>
<p>
<pre>
DSPHSTJS SEQOPT(*JOB) OUTPUT(*PRINT)
</pre>
</p>
<p>This command prints the Job Scheduler History report for all jobs and all groups. The report is sequenced by job.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPHSTJS.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPHSTJS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>