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

138 lines
5.4 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 CICS (ENDCICS)</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="ENDCICS.Top_Of_Page"></a>
<h2>End CICS (ENDCICS)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Batch job (*BATCH)</li>
<li>Interactive job (*INTERACT)</li>
<li>Batch program (*BPGM)</li>
<li>Interactive program (*IPGM)</li>
<li>Batch REXX procedure (*BREXX)</li>
<li>Interactive REXX procedure (*IREXX)</li>
<li>Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)</li>
</ul><b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ENDCICS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENDCICS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENDCICS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENDCICS"></a>
<p>The End CICS (ENDCICS) command will shut down a CICS control region and specifies what happens to active work being processed by that CICS control region.
</p>
<p>All associated CICS shells (user or batch) must be shut down before the CICS control region can complete the shut down. The CICS user shells are informed of the involuntary shut down. Refer to the iSeries ENDCICSUSR CL command in order to shut down a CICS user shell without shutting down the CICS control region.
</p>
<p>No new CICS shells can be started, that would be associated with the CICS control region being shut down, after this command is executed.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDCICS.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="#ENDCICS.CTLRGN"><b>CTLRGN</b></a></td>
<td valign="top">Control region</td>
<td valign="top"><i>Communications name</i>, <b><u>CICS</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ENDCICS.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 2</td>
</tr>
<tr>
<td valign="top"><a href="#ENDCICS.DELAY"><b>DELAY</b></a></td>
<td valign="top">Delay time, if *CNTRLD</td>
<td valign="top">1-99999, <b><u>*NOLIMIT</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENDCICS.CTLRGN"></a>
<h3>Control region (CTLRGN)</h3>
<p>The name of the CICS control region to be shut down. This can be obtained from your CICS System Administrator. The name of the CICS control region is also known as the CICS SYSID.
</p>
<ul>
<li><b>control-region:</b> The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or one of the special characters, $, @, or #.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENDCICS.OPTION"></a>
<h3>How to end (OPTION)</h3>
<p>Identifies the method used to shut down the CICS control region.
</p>
<p>The possible OPTION values are:
</p>
<ul>
<li>*CNTRLD: All associated CICS shells are automatically shut down when they are idle or the CICS transaction that is currently executing is completed.
</li>
<li> def.<b>*IMMED:</b> All associated CICS shells are shut down immediately, meaning that any CICS transactions that are executing are not allowed to perform any cleanup. This option might cause undesirable results and, therefore, should be used only after a controlled shut down has been attempted unsuccessfully.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENDCICS.DELAY"></a>
<h3>Delay time, if *CNTRLD (DELAY)</h3>
<p>Indicates the amount of time (in seconds) that is allowed to complete the controlled CICS control region shut down. If this amount of time is exceeded and the CICS control region shut down is not complete, all associated CICS shells associated with the CICS control region are ended.
</p>
<p>The possible DELAY values are:
</p>
<ul>
<li>*NOLIMIT: The amount of time in which to complete a controlled shut down is not limited.
</li>
<li> def.<b>delay-time:</b> Valid values range from 1 through 99999.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDCICS.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDCICS.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCICS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>