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

135 lines
4.2 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 ASP Jobs (WRKASPJOB)</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="WRKASPJOB.Top_Of_Page"></a>
<h2>Work with ASP Jobs (WRKASPJOB)</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="#WRKASPJOB.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKASPJOB.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKASPJOB.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKASPJOB"></a>
<p>The Work with ASP Jobs (WRKASPJOB) command allows you to work with a list of jobs that are using an auxiliary storage pool (ASP).
</p>
<p>You can use this command to perform the following tasks:
</p>
<ul>
<li>Select jobs to end or select an ASP to end all jobs using it.
</li>
<li>Select jobs to work with or select an ASP to work with all jobs using it.
</li>
<li>Select jobs to send messages to or select an ASP to send a message to all jobs using it.
</li>
</ul>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have use (*USE) authority to the ASP device description.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKASPJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKASPJOB.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="#WRKASPJOB.ASPDEV"><b>ASPDEV</b></a></td>
<td valign="top">ASP device</td>
<td valign="top"><i>Name</i>, <b><u>*ALLAVL</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKASPJOB.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKASPJOB.ASPDEV"></a>
<h3>ASP device (ASPDEV)</h3>
<p>Specify the name of the auxiliary storage pool (ASP) device whose jobs are to be displayed. When working with an entire ASP group, the ASP device specified should be that of the primary. Specifying the name of a secondary will only provide the detail vary status when the secondary is being varied to join an already online ASP group.
</p>
<dl>
<dt><b><u>*ALLAVL</u></b></dt>
<dd>Using job information will be shown for all ASP devices that currently have a state of 'Available'.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the ASP whose using jobs you want to show.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKASPJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKASPJOB.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Work with Jobs Using any Available ASP</b>
</p>
<p>
<pre>
WRKASPJOB ASPDEV(*ALLAVL)
</pre>
</p>
<p>This command shows every available ASP device and the jobs that are using it.
</p>
<p><b>Example 2: Work with Jobs Using a Specific ASP</b>
</p>
<p>
<pre>
WRKASPJOB ASPDEV(WAREHOUSE)
</pre>
</p>
<p>This command shows the jobs that are using an ASP device named WAREHOUSE.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKASPJOB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKASPJOB.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPF9871</b></dt>
<dd>Error occurred while processing.
</dd>
<dt><b>CPF9899</b></dt>
<dd>Error occurred during processing of command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKASPJOB.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>