133 lines
4.8 KiB
HTML
133 lines
4.8 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>End Agent Services (ENDAGTSRV)</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="ENDAGTSRV.Top_Of_Page"></a>
|
|
<h2>End Agent Services (ENDAGTSRV)</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="#ENDAGTSRV.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#ENDAGTSRV.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#ENDAGTSRV.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="ENDAGTSRV"></a>
|
|
<p>The End Agent Services (ENDAGTSRV) command ends all of the active agent services on this system that are defined in a preferences file. Another preferences file is also used to help define how the services are ended. The preferences files are stream files named <i>ableplatform.preferences</i> and <i>able.preferences</i> that are located in the directory specified for the <b>Preferences file directory (PREFDIR)</b> parameter.
|
|
</p>
|
|
<p>You can restart the agent services by running the Start Agent Services (STRAGTSRV) command.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>You must have all object (*ALLOBJ) and job control (*JOBCTL) special authorities to run this command.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ENDAGTSRV.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="ENDAGTSRV.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="#ENDAGTSRV.PREFDIR"><b>PREFDIR</b></a></td>
|
|
<td valign="top">Preferences file directory</td>
|
|
<td valign="top"><i>Path name</i>, <b><u>*DFT</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ENDAGTSRV.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="ENDAGTSRV.PREFDIR"></a>
|
|
<h3>Preferences file directory (PREFDIR)</h3>
|
|
<p>Specifies the directory that contains the preferences files that define the agent services to be ended and how they are ended. The preferences files must be named <i>ableplatform.preferences</i> and <i>able.preferences</i>.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*DFT</u></b></dt>
|
|
<dd>Use the preferences files located in /QIBM/ProdData/OS400/able/.
|
|
</dd>
|
|
<dt><b><i>path-name</i></b></dt>
|
|
<dd>Specify the directory that contains the preferences files to be used to end the agent services.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ENDAGTSRV.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="ENDAGTSRV.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Ending with Shipped Default Values</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ENDAGTSRV
|
|
</pre>
|
|
</p>
|
|
<p>This command ends all of the agent services defined in the default ableplatform.preferences file in '/qibm/prodData/OS400/able/' in a way defined in the default able.preferences file in '/qibm/prodData/OS400/able/'.
|
|
</p>
|
|
<p><b>Example 2: Ending with User-Specified Values</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ENDAGTSRV PREFDIR('/qibm/userData/OS400/able/test/')
|
|
</pre>
|
|
</p>
|
|
<p>This command ends all of the running agent services defined in the ableplatform.preferences file in '/qibm/userData/OS400/able/test/' in a way defined in the default able.preferences file in '/qibm/userData/OS400/able/test/'.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ENDAGTSRV.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="ENDAGTSRV.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF1890</b></dt>
|
|
<dd>*ALLOBJ authority required for requested operation.
|
|
</dd>
|
|
<dt><b>CPF90FF</b></dt>
|
|
<dd>*JOBCTL special authority required to do requested operation.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Error messages from submitted job:</b>
|
|
</p>
|
|
<p>This command submits a batch job which will end the batch jobs where the agent services are running. The following error messages could be signaled from this batch job:
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF4B03</b></dt>
|
|
<dd>Java Virtual Machine(JVM) exception has occurred.
|
|
</dd>
|
|
<dt><b>CPF4B04</b></dt>
|
|
<dd>Unable to finish ending agent services. Reason code &1
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ENDAGTSRV.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|