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

97 lines
3.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 Commitment Control (ENDCMTCTL)</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="ENDCMTCTL.Top_Of_Page"></a>
<h2>End Commitment Control (ENDCMTCTL)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>Yes
</td>
<td valign="top" align="right">
<a href="#ENDCMTCTL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENDCMTCTL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENDCMTCTL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENDCMTCTL"></a>
<p>The End Commitment Control (ENDCMTCTL) command ends the commitment definition associated with the activation group for the program that issued the command. Changes to commitment resources associated with the commitment definition are no longer made after this command is processed.
</p>
<p>This command either ends the activation group level or the job level commitment definition associated with the activation group for the program that issued the command. A commitment definition is first established by the Start Commitment Control (STRCMTCTL) command.
</p>
<p>If there are uncommitted changes for an interactive job, a message is sent asking the user whether the changes should be committed or rolled back before a commitment definition is ended. For a batch job, the changes are rolled back.
</p>
<p>More information on commitment control is in the "Commitment control" article is in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p>There are no parameters for this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMTCTL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDCMTCTL.PARAMETERS.TABLE">Parameters</a></h3>None<br>
<table width="100%">
<tr><td align="right"><a href="#ENDCMTCTL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<hr size="2" width="100%">
<div><h3><a name="ENDCMTCTL.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ENDCMTCTL
</pre>
</p>
<p>This command specifies that the commitment definition established with the STRCMTCTL command is to end. The system determines if any changes have been made to the commitment resources after the last commitment boundary (at the last completed Commit (COMMIT) command or Rollback (ROLLBACK) command). If changes have been made for an interactive job, a message is sent asking the user whether the changes should be made permanent (committed) or removed (rolled back). For batch jobs, any changes are rolled back.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMTCTL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDCMTCTL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF83E4</b></dt>
<dd>Commitment control ended with resources not committed.
</dd>
<dt><b>CPF835A</b></dt>
<dd>End of commitment definition &amp;1 canceled.
</dd>
<dt><b>CPF835B</b></dt>
<dd>Errors occurred while ending commitment control.
</dd>
<dt><b>CPF835C</b></dt>
<dd>Commitment control ended with remote changes not committed.
</dd>
<dt><b>CPF8350</b></dt>
<dd>Commitment definition not found.
</dd>
<dt><b>CPF8355</b></dt>
<dd>ENDCMTCTL not allowed. Pending changes active.
</dd>
<dt><b>CPF8356</b></dt>
<dd>Commitment control ended with &amp;1 local changes not committed.
</dd>
<dt><b>CPF8367</b></dt>
<dd>Cannot perform commitment control operation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMTCTL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>