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

189 lines
6.1 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>Work with Subsystem Jobs (WRKSBSJOB)</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="WRKSBSJOB.Top_Of_Page"></a>
<h2>Work with Subsystem Jobs (WRKSBSJOB)</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="#WRKSBSJOB.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKSBSJOB.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKSBSJOB.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKSBSJOB"></a>
<p>The Work with Subsystem Jobs (WRKSBSJOB) command allows you to work with jobs running in subsystems in the system, and jobs that are on a job or output queue. If a user name is specified, only those jobs belonging to the specified user are shown. Also, if one of the jobs shown on the subsystem display is selected, additional information about that job can be displayed.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKSBSJOB.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="#WRKSBSJOB.SBS"><b>SBS</b></a></td>
<td valign="top">Subsystem</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b>, *JOBQ, *OUTQ</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKSBSJOB.USER"><b>USER</b></a></td>
<td valign="top">User whose jobs to display</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#WRKSBSJOB.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="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKSBSJOB.SBS"></a>
<h3>Subsystem (SBS)</h3>
<p>Specifies the name of the subsystem (or all subsystems) for which the job name and job status of each job currently active in the subsystem, or jobs on a job queue or output queue are worked with.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All jobs in all subsystems have their job information displayed. In this case, jobs that are on job queues and on output queues are also displayed.
</dd>
<dt><b>*JOBQ</b></dt>
<dd>Jobs that are on a job queue are worked with.
</dd>
<dt><b>*OUTQ</b></dt>
<dd>Jobs that have completed running and have spooled files on an output queue are worked with.
<p>
<b>Note: </b>This includes readers and writers, but does not include system jobs or subsystem monitor jobs.
</p>
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the subsystem. All active jobs in this subsystem are displayed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKSBSJOB.USER"></a>
<h3>User whose jobs to display (USER)</h3>
<p>Specifies the name of the user whose jobs are displayed.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All jobs being processed under all user names are displayed.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify a user name. All jobs with this user name are displayed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKSBSJOB.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="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKSBSJOB.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Working With All Jobs</b>
</p>
<p>
<pre>
WRKSBSJOB
</pre>
</p>
<p>This command, entered from a work station, allows you to work with all jobs in all subsystems, and the jobs on the job queues and output queues.
</p>
<p><b>Example 2: Working With One User's Job</b>
</p>
<p>
<pre>
WRKSBSJOB SBS(QBATCH) USER(JONES)
</pre>
</p>
<p>This command allows you to work with all jobs in the QBATCH subsystem that belong to the user profile of the user named JONES.
</p>
<p><b>Example 3: Working With Jobs on an Output Queue</b>
</p>
<p>
<pre>
WRKSBSJOB SBS(*OUTQ)
</pre>
</p>
<p>This command allows you to work with jobs that are on an output queue.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKSBSJOB.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1003</b></dt>
<dd>Subsystem &amp;1 not active.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9850</b></dt>
<dd>Override of printer file &amp;1 not allowed.
</dd>
<dt><b>CPF9851</b></dt>
<dd>Overflow value for file &amp;1 in &amp;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="#WRKSBSJOB.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>