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

170 lines
5.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>End Managed System Services (ENDMGDSYS)</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="ENDMGDSYS.Top_Of_Page"></a>
<h2>End Managed System Services (ENDMGDSYS)</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="#ENDMGDSYS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENDMGDSYS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENDMGDSYS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENDMGDSYS"></a>
<p>The End Managed System Services (ENDMGDSYS) command ends the managed system jobs after all currently running activities are completed.
</p>
<p><b>Restriction:</b>
</p>
<ol>
<li>You must have *JOBCTL authority to use the end command.
</li>
<li>Public authority for this command is *EXCLUDE.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDMGDSYS.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="#ENDMGDSYS.OPTION"><b>OPTION</b></a></td>
<td valign="top">How to end</td>
<td valign="top"><b><u>*CNTRLD</u></b>, *IMMED</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ENDMGDSYS.DELAY"><b>DELAY</b></a></td>
<td valign="top">Delay time, if *CNTRLD</td>
<td valign="top">1-999999, <b><u>*NOLIMIT</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENDMGDSYS.OPTION"></a>
<h3>How to end (OPTION)</h3>
<p>Specifies that the managed system jobs have a controlled ending or are to be ended immediately.
</p>
<dl>
<dt><b><u>*CNTRLD</u></b></dt>
<dd>Specify that the managed system jobs end in a controlled manner.
</dd>
<dt><b>*IMMED</b></dt>
<dd>Specify that the managed system jobs end immediately. The programs that are running do not get time to perform cleanup. This option may cause undesirable results if data has been partially updated. Therefore, this option should be used only if a controlled end was unsuccessful.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENDMGDSYS.DELAY"></a>
<h3>Delay time, if *CNTRLD (DELAY)</h3>
<p>Specifies the delay time before ending is immediate.
</p>
<dl>
<dt><b><u>NOLIMIT</u></b></dt>
<dd>The managed system jobs continue processing until the current activity processing is complete.
</dd>
<dt><b><i>delay-time</i></b></dt>
<dd>Specify that the managed system jobs end immediately after the delay time.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDMGDSYS.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Ending Managed System Jobs</b>
</p>
<p>
<pre>
ENDMGDSYS
</pre>
</p>
<p>This command ends the managed system jobs after all currently running activities are completed.
</p>
<p><b>Example 2: Ending Managed System Jobs Immediately</b>
</p>
<p>
<pre>
ENDMGDSYS OPTION(*IMMED)
</pre>
</p>
<p>This command ends the managed system jobs immediately.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDMGDSYS.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF3CD9</b></dt>
<dd>Requested function cannot be performed at this time.
</dd>
<dt><b>CPF3CDA</b></dt>
<dd>Registration facility repository not available for use.
</dd>
<dt><b>CPF81xx</b></dt>
<dd>Damaged object error messages.
</dd>
<dt><b>CPF90FF</b></dt>
<dd>*JOBCTL special authority required to do requested operation.
</dd>
<dt><b>CPF9872</b></dt>
<dd>Program or service program &amp;1 in library &amp;2 ended. Reason code &amp;3.
</dd>
<dt><b>MSS0059</b></dt>
<dd>Internal object not found or damaged.
</dd>
<dt><b>MSS005B</b></dt>
<dd>Storage limit exceeded.
</dd>
<dt><b>MSS0064</b></dt>
<dd>Internal object not found or damaged.
</dd>
<dt><b>MSS0066</b></dt>
<dd>Internal processing error occurred.
</dd>
<dt><b>MSS0067</b></dt>
<dd>Not able to allocate internal object.
</dd>
<dt><b>MSS0321</b></dt>
<dd>Managed System Services for iSeries not active.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDMGDSYS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>