273 lines
9.9 KiB
HTML
273 lines
9.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>Work with User Jobs (WRKUSRJOB)</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="WRKUSRJOB.Top_Of_Page"></a>
|
||
|
<h2>Work with User Jobs (WRKUSRJOB)</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="#WRKUSRJOB.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKUSRJOB.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKUSRJOB.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKUSRJOB"></a>
|
||
|
<p>The Work with User Jobs (WRKUSRJOB) command allows you to work with a list of selected user jobs.
|
||
|
</p>
|
||
|
<p>Depending on the values you specify on the STATUS, ASTLVL, and JOBTYPE parameters, you can use this command to perform the following tasks:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>From the Work with Signed-On Users display, you can select options to send messages to or sign off users who are signed on the system. You can also select options to display messages or display details about signed-on users. To show the Work with Signed-On Users display, specify STATUS(*ACTIVE), ASTLVL(*BASIC), and JOBTYPE(*INTERACT).
|
||
|
</li>
|
||
|
<li>From the Work with Jobs display, you can show the status of all batch jobs on the system. You can select options to hold, end, or release the jobs shown. You can also select options to work with printer output or display messages. To show the Work with Jobs display, specify any value for the STATUS parameter, ASTLVL(*BASIC), and JOBTYPE(*BATCH).
|
||
|
</li>
|
||
|
<li>From the Work with User Jobs display, you can show the status of user jobs running on the system and of user jobs that are on job queues or output queues. You can select options to change, hold, end, work with, release, or disconnect the jobs shown. You can also select options to work with spooled files and display messages. To show the Work with User Jobs display, specify one of the following:
|
||
|
<ul>
|
||
|
<li>ASTLVL(*INTERMED) and any value for the STATUS and JOBTYPE parameters
|
||
|
</li>
|
||
|
<li>ASTLVL(*BASIC), JOBTYPE(*INTERACT), and either STATUS(*ALL), STATUS(*JOBQ), or STATUS(*OUTQ)
|
||
|
</li>
|
||
|
<li>ASTLVL(*BASIC), JOBTYPE(*ALL), and any value for the STATUS parameter
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKUSRJOB.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="#WRKUSRJOB.USER"><b>USER</b></a></td>
|
||
|
<td valign="top">User whose jobs to display</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*</u></b>, *ALL</td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKUSRJOB.STATUS"><b>STATUS</b></a></td>
|
||
|
<td valign="top">Status of user jobs</td>
|
||
|
<td valign="top"><b><u>*ALL</u></b>, *ACTIVE, *JOBQ, *OUTQ</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKUSRJOB.OUTPUT"><b>OUTPUT</b></a></td>
|
||
|
<td valign="top">Output</td>
|
||
|
<td valign="top"><b><u>*</u></b>, *PRINT</td>
|
||
|
<td valign="top">Optional, Positional 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKUSRJOB.JOBTYPE"><b>JOBTYPE</b></a></td>
|
||
|
<td valign="top">Job type</td>
|
||
|
<td valign="top"><b><u>*ALL</u></b>, *INTERACT, *BATCH</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKUSRJOB.ASTLVL"><b>ASTLVL</b></a></td>
|
||
|
<td valign="top">Assistance level</td>
|
||
|
<td valign="top"><b><u>*PRV</u></b>, *USRPRF, *BASIC, *INTERMED</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKUSRJOB.USER"></a>
|
||
|
<h3>User whose jobs to display (USER)</h3>
|
||
|
<p>This parameter allows you to work with user jobs defined by the user profile which initiated the job. User jobs include interactive jobs, submitted batch jobs, communications-evoked batch jobs, MRT batch jobs, and autostart jobs. User jobs do not include system jobs, subsystem monitor jobs, spooling readers, or spooling writers.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>User jobs with the current user profile are displayed.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>User jobs with all user profiles are displayed.
|
||
|
</dd>
|
||
|
<dt><b><i>user-profile name</i></b></dt>
|
||
|
<dd>Specify the name of a user profile. User jobs with the specified user profile are shown.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKUSRJOB.STATUS"></a>
|
||
|
<h3>Status of user jobs (STATUS)</h3>
|
||
|
<p>Specifies the status of the user jobs being worked with.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>User jobs of any status are displayed, including jobs on job queues, active jobs, and jobs on output queues.
|
||
|
</dd>
|
||
|
<dt><b>*JOBQ</b></dt>
|
||
|
<dd>Only user jobs that are on job queues are displayed.
|
||
|
</dd>
|
||
|
<dt><b>*ACTIVE</b></dt>
|
||
|
<dd>Only user jobs that are active are displayed, including all group jobs and system request jobs. You must specify STATUS(*ACTIVE) to show the Work with Signed-On Users display.
|
||
|
</dd>
|
||
|
<dt><b>*OUTQ</b></dt>
|
||
|
<dd>Only user jobs that have completed running but still have output on an output queue, are displayed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKUSRJOB.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 for interactive jobs or printed with the job's spooled output for non-interactive jobs.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<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="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKUSRJOB.JOBTYPE"></a>
|
||
|
<h3>Job type (JOBTYPE)</h3>
|
||
|
<p>Specifies the type of the user jobs shown.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All types of user jobs are shown, including interactive jobs and batch jobs. If JOBTYPE(*ALL) is specified, the ASTLVL parameter is ignored.
|
||
|
</dd>
|
||
|
<dt><b>*INTERACT</b></dt>
|
||
|
<dd>Only interactive user jobs are shown. You must specify JOBTYPE(*INTERACT) to show the Work with Signed-On Users display. If you also specify ASTLVL(*BASIC), interactive jobs shown include suspended group jobs and signed-off users with printer output waiting to print.
|
||
|
</dd>
|
||
|
<dt><b>*BATCH</b></dt>
|
||
|
<dd>Only batch user jobs are shown, including prestart jobs, batch immediate jobs, and 36EE MRT jobs. You must specify JOBTYPE(*BATCH) to show the Work with Jobs display.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKUSRJOB.ASTLVL"></a>
|
||
|
<h3>Assistance level (ASTLVL)</h3>
|
||
|
<p>Specifies which user interface to use.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*PRV</u></b></dt>
|
||
|
<dd>The previous user interface is used.
|
||
|
</dd>
|
||
|
<dt><b>*USRPRF</b></dt>
|
||
|
<dd>The user interface specified for the <b>Assistance level</b> (ASTLVL) parameter of your user profile is used. If *ADVANCED is specified in the user profile, *INTERMED is used.
|
||
|
</dd>
|
||
|
<dt><b>*BASIC</b></dt>
|
||
|
<dd>The Operational Assistant user interface is used.
|
||
|
</dd>
|
||
|
<dt><b>*INTERMED</b></dt>
|
||
|
<dd>The system user interface is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKUSRJOB.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Working with a List of Selected Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKUSRJOB USER(PGMR12)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with a list of jobs that are running with the user profile name PGMR12.
|
||
|
</p>
|
||
|
<p><b>Example 2: Working with a List of All Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKUSRJOB USER(*ALL) STATUS(*JOBQ)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with a list of all the jobs on job queues.
|
||
|
</p>
|
||
|
<p><b>Example 3: Working with a List of Interactive Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKUSRJOB USER(*ALL) STATUS(*ACTIVE)
|
||
|
JOBTYPE(*INTERACT) ASTLVL(*BASIC)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with a list of signed-on users that includes signed-off users with printer output and suspended interactive group jobs.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKUSRJOB.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1E50</b></dt>
|
||
|
<dd>Not all jobs displayed.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E51</b></dt>
|
||
|
<dd>Job queue &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E99</b></dt>
|
||
|
<dd>Unexpected error occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPF1003</b></dt>
|
||
|
<dd>Subsystem &1 not active.
|
||
|
</dd>
|
||
|
<dt><b>CPF9845</b></dt>
|
||
|
<dd>Error occurred while opening file &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9846</b></dt>
|
||
|
<dd>Error while processing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9847</b></dt>
|
||
|
<dd>Error occurred while closing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9850</b></dt>
|
||
|
<dd>Override of printer file &1 not allowed.
|
||
|
</dd>
|
||
|
<dt><b>CPF9851</b></dt>
|
||
|
<dd>Overflow value for file &1 in &2 too small.
|
||
|
</dd>
|
||
|
<dt><b>CPF9871</b></dt>
|
||
|
<dd>Error occurred while processing.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKUSRJOB.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|