552 lines
23 KiB
HTML
552 lines
23 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>Work with Jobs using JS (WRKJOBJS)</title>
|
|
</head>
|
|
<body bgcolor="white">
|
|
<a name="WRKJOBJS.Top_Of_Page"></a>
|
|
<h2>Work with Jobs using JS (WRKJOBJS)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#WRKJOBJS.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#WRKJOBJS.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#WRKJOBJS.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="WRKJOBJS"></a>
|
|
<p>The Work with Jobs using Job Scheduler (WRKJOBJS) command allows you to work with a single job, groups of jobs or all jobs that you have set up in Advanced Job Scheduler. You can sequence the display by job, by date or by group.
|
|
</p>
|
|
<p>When you select jobs that you want to work with, you are taken to the Work with Jobs display. From this display you can perform most job related functions.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="WRKJOBJS.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="#WRKJOBJS.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="#WRKJOBJS.APP"><b>APP</b></a></td>
|
|
<td valign="top">Application</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.SCDCDE"><b>SCDCDE</b></a></td>
|
|
<td valign="top">Schedule code</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *DAILY, *CALENDAR, *DATE, *DAY, *NUMDAY, *MINUTES, *ONCE, *MONTHEND, *FIRST, *SECOND, *THIRD, *FOURTH, *FIFTH, *LAST, *FIRSTWRK, *LASTWRK, *ALTERNATE, *TEMP, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.CAL"><b>CAL</b></a></td>
|
|
<td valign="top">Calendar</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.HDYCAL"><b>HDYCAL</b></a></td>
|
|
<td valign="top">Holiday calendar</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.FSCCAL"><b>FSCCAL</b></a></td>
|
|
<td valign="top">Fiscal calendar</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.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="#WRKJOBJS.RPTDSTID"><b>RPTDSTID</b></a></td>
|
|
<td valign="top">Report distribution ID</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.LIBL"><b>LIBL</b></a></td>
|
|
<td valign="top">Library list</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b>, *JOBCTL, *JOBD, *SYSVAL, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.STATUS"><b>STATUS</b></a></td>
|
|
<td valign="top">Job status</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *READY, *DEPW, *HELD, *OMIT, *PROCESS, *JOBQ, *SAVED</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.TEXT"><b>TEXT</b></a></td>
|
|
<td valign="top">Text</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b>, *NONE, *generic*</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.CMD"><b>CMD</b></a></td>
|
|
<td valign="top">Command request</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b>, *NONE, *generic*</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKJOBJS.SEQ"><b>SEQ</b></a></td>
|
|
<td valign="top">Sequence</td>
|
|
<td valign="top"><b><u>*JOB</u></b>, *DATE, *GROUP</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="WRKJOBJS.JOB"></a>
|
|
<h3>Job entry (JOB)</h3>
|
|
<p>Specifies that you want to work with a single job, a generic group of jobs or all jobs. You can specify a single job with a generic group, all jobs with a single group and so on.
|
|
</p>
|
|
<p><b>Element 1: Job</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Work with all jobs that meet the other parameter specifications.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the jobs that you want to work with. A generic name is a character string that contains one or more characters followed by an asterisk (*). If an * is not specified with the name, the system assumes that the name is a complete job.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the job that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Group</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All groups to which the specified job or jobs are members are included in the Work with Jobs display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>There is no group associated with the job or jobs.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the group that you want to work with. A generic name is a character string that contains one or more characters followed by an asterisk (*). If an * is not specified with the name, the system assumes that the name is a complete group.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the group that contains the job or jobs that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 3: Group sequence</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All sequence numbers for the specified group or groups are included in the Work with Jobs display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>There is no sequence number associated with the job.
|
|
</dd>
|
|
<dt><b><i>1-99</i></b></dt>
|
|
<dd>Specify the sequence number of the job within the group or groups that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.APP"></a>
|
|
<h3>Application (APP)</h3>
|
|
<p>Specifies the name of the application that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the application entries that meet this command's other parameter values are shown on the Work with Jobs display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>The job is not assigned to an application.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the application. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If the generic name is specified, then all entries with application names that begin with the generic name are displayed. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete application name.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user-defined name of the application you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.SCDCDE"></a>
|
|
<h3>Schedule code (SCDCDE)</h3>
|
|
<p>Specifies the schedule code or schedule name for the job or jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the schedule code entries that meet this command's other parameter values are shown on the Work with Jobs display.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*DAILY</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *DAILY schedule code.
|
|
</dd>
|
|
<dt><b>*CALENDAR</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *CALENDAR schedule code.
|
|
</dd>
|
|
<dt><b>*DATE</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *DATE schedule code.
|
|
</dd>
|
|
<dt><b>*DAY</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *DAY schedule code.
|
|
</dd>
|
|
<dt><b>*NUMDAY</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *NUMDAY schedule code.
|
|
</dd>
|
|
<dt><b>*MINUTES</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *MINUTES schedule code.
|
|
</dd>
|
|
<dt><b>*ONCE</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *ONCE schedule code.
|
|
</dd>
|
|
<dt><b>*MONTHEND</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *MONTHEND schedule code.
|
|
</dd>
|
|
<dt><b>*FIRST</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *FIRST schedule code.
|
|
</dd>
|
|
<dt><b>*SECOND</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *SECOND schedule code.
|
|
</dd>
|
|
<dt><b>*THIRD</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *THIRD schedule code.
|
|
</dd>
|
|
<dt><b>*FOURTH</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *FOURTH schedule code.
|
|
</dd>
|
|
<dt><b>*FIFTH</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *FIFTH schedule code. If there is not a fifth occurrence in a month, the job will not run and will be scheduled for the next time there is a fifth occurrence of a selected day in a month.
|
|
</dd>
|
|
<dt><b>*LAST</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *LAST schedule code.
|
|
</dd>
|
|
<dt><b>*FIRSTWRK</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *FIRSTWRK schedule code.
|
|
</dd>
|
|
<dt><b>*LASTWRK</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *LASTWRK schedule code.
|
|
</dd>
|
|
<dt><b>*ALTERNATE</b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the *ALTERNATE schedule code.
|
|
</dd>
|
|
<dt><b>*TEMP</b></dt>
|
|
<dd>The job or jobs that you want to work with are temporary jobs, created as a result of processing the SBMJOBJS command.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>The job is not a scheduled job. It can be a member of a group job waiting for submission, a job waiting for a predecessor job to run, or a job waiting for manual submission by a user.
|
|
<p>
|
|
<b>Note: </b>The schedule code *NONE replaces the schedule code *DEPJOB which was used in releases prior to V4R2.
|
|
</p>
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>The job or jobs that you want to work with are scheduled to run using the specified schedule or the schedule code found in the specified schedule. For instance, user-defined schedule MONTHLY1 uses schedule code *DAY. By specifying MONTHLY1 all jobs using MONTHLY1 as the schedule or *DAY as the schedule code would be listed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.CAL"></a>
|
|
<h3>Calendar (CAL)</h3>
|
|
<p>Specifies the name of the calendar for the jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the calendar entries that meet this command's other parameter values are shown on the display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>A calendar is not assigned to the job.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the calendar. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If the generic name is specified, then all entries with calendar names that begin with the generic name are displayed. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete calendar name.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user-defined name of the calendar you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.HDYCAL"></a>
|
|
<h3>Holiday calendar (HDYCAL)</h3>
|
|
<p>Specifies the name of the holiday calendar for the jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the holiday calendar entries that meet this command's other parameter values are shown on the display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>A holiday calendar is not assigned to the job.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the holiday calendar. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If the generic name is specified, then all entries with holiday calendar names that begin with the generic name are displayed. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete holiday calendar name.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user-defined name of the holiday calendar for the jobs that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.FSCCAL"></a>
|
|
<h3>Fiscal calendar (FSCCAL)</h3>
|
|
<p>Specifies the name of the fiscal year calendar for the jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the fiscal calendar entries that meet this command's other parameter values are shown on the display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>A fiscal calendar is not assigned to the job.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the fiscal calendar. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If the generic name is specified, then all entries with fiscal calendar names that begin with the generic name are displayed. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete fiscal calendar name.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user-defined name of the fiscal calendar for the jobs that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.RMTLOCNAME"></a>
|
|
<h3>Remote location name (RMTLOCNAME)</h3>
|
|
<p>Specifies the remote location and network identification of the system that created the job entry that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Selects all job entries for all systems in the network.
|
|
</dd>
|
|
<dt><b>*LCL</b></dt>
|
|
<dd>Selects all job entries for the local system.
|
|
</dd>
|
|
<dt><b>*JOBCTL</b></dt>
|
|
<dd>Selects all job entries 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 entries you want to work with.
|
|
</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="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.RPTDSTID"></a>
|
|
<h3>Report distribution ID (RPTDSTID)</h3>
|
|
<p>Specifies the identifier of the report distribution names for the jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All the report distribution ID's that meet this command's other parameter values are shown on the display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>You do not want to include any jobs with report distribution ID's in the display.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>The report distribution ID is generic. For example, specifying ACT* would cause all jobs whose report distribution ID begins with the characters ACT to be included.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the report distribution ID for the jobs that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.LIBL"></a>
|
|
<h3>Library list (LIBL)</h3>
|
|
<p>Specifies the name of the library list that you want to work with. If you want to select a library list name from a list when prompting this command, place the cursor on this parameter and press F4.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Include all jobs regardless of library list in the display.
|
|
</dd>
|
|
<dt><b>*JOBCTL</b></dt>
|
|
<dd>Include only those jobs whose library list is *JOBCTL in the display.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>Include only those jobs whose library list is *JOBD in the display.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>Include only those jobs whose library list is *SYSVAL in the display.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>Include only those jobs whose library list is *NONE in the display.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>The library list name is generic. For example, specifying LIB* would cause all jobs whose library lists begin with the characters LIB to be included.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library list that you want to include in the display.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.STATUS"></a>
|
|
<h3>Job status (STATUS)</h3>
|
|
<p>Specifies the status code of the jobs that you want to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Include all jobs that meet the specifications of the other parameters.
|
|
</dd>
|
|
<dt><b>*READY</b></dt>
|
|
<dd>Include only jobs whose job status is *READY in the Work with Jobs display. Jobs with job status *READY are jobs that are waiting to be processed at their next scheduled date and time.
|
|
</dd>
|
|
<dt><b>*DEPW</b></dt>
|
|
<dd>Include only jobs whose job status is *DEPW in the Work with Jobs display. Jobs with job status *DEPW are jobs that are waiting to be processed based on another job or event.
|
|
</dd>
|
|
<dt><b>*HELD</b></dt>
|
|
<dd>Include only those jobs whose job status is *HELD in the Work with Jobs display. Jobs with job status *HELD have been suspended and will not be processed until released.
|
|
</dd>
|
|
<dt><b>*PROCESS</b></dt>
|
|
<dd>Include only those jobs whose job status is *PROCESS in the Work with Jobs display. Jobs with job status *PROCESS are jobs that are currently processing at the time of the display.
|
|
</dd>
|
|
<dt><b>*JOBQ</b></dt>
|
|
<dd>Include only those jobs whose job status is *JOBQ in the Work with Jobs display. Jobs with job status *JOBQ are jobs that are on the job queue at the time of the display.
|
|
</dd>
|
|
<dt><b>*SAVED</b></dt>
|
|
<dd>Include only those jobs whose job status is *SAVED in the Work with Jobs display. Jobs with job status *SAVED are one time jobs that you have saved for future use.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.TEXT"></a>
|
|
<h3>Text (TEXT)</h3>
|
|
<p>Specifies the text related to the job that you want to work with. You can search for any string of characters, and only those job schedule entries that contain the string of characters in the text are included in the display.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>You want to work with all job schedule entries, regardless of the text.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>You want to work with all job schedule entries that have blanks or *NONE for text.
|
|
</dd>
|
|
<dt><b><i>generic-text</i></b></dt>
|
|
<dd>Specify generic text. For example, specifying 'THE JOB*' would cause all text that begins the words 'THE JOB' to be included in the display.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify that you want to work with all job schedule entries that have the text string specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.CMD"></a>
|
|
<h3>Command request (CMD)</h3>
|
|
<p>Specifies the command request for the jobs that you want to work with. You can include any command request, a string of command characters, or work with entries that have no command request.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>You want to work with all job schedule entries, regardless of whether they have a command request.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>You want to work with all job schedule entries that have no command request.
|
|
</dd>
|
|
<dt><b><i>generic-command</i></b></dt>
|
|
<dd>Specify generic command information. For example, specifying 'CALL PG*' would cause all command requests that begins the string 'CALL PG' to be included in the display.
|
|
</dd>
|
|
<dt><b><i>command</i></b></dt>
|
|
<dd>Specify that you want to work with all job schedule entries that have the command request specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKJOBJS.SEQ"></a>
|
|
<h3>Sequence (SEQ)</h3>
|
|
<p>Specifies the sequence in which you want to work with the selected job schedule entries.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOB</u></b></dt>
|
|
<dd>You want to work with the job schedule entries in job sequence.
|
|
</dd>
|
|
<dt><b>*DATE</b></dt>
|
|
<dd>You want to work with the job schedule entries in schedule date sequence.
|
|
</dd>
|
|
<dt><b>*GROUP</b></dt>
|
|
<dd>You want to work with the job schedule entries in group sequence.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKJOBJS.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
WRKJOBJS SCDCDE(*DAILY) STATUS(*READY) SEQ(*DATE)
|
|
</pre>
|
|
</p>
|
|
<p>This command displays the Work with Jobs panel showing all jobs that have a schedule code of *DAILY and a status code of *READY. The jobs are presented in date sequence.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div>
|
|
<h3><a name="WRKJOBJS.ERROR.MESSAGES">Error messages</a></h3>Unknown
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKJOBJS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|