ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1ruwcnst.htm

72 lines
4.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Activation group states" />
<meta name="abstract" content="An activation group is in one of three states at any time." />
<meta name="description" content="An activation group is in one of three states at any time." />
<meta name="DC.subject" content="connection states, remote unit of work" />
<meta name="keywords" content="connection states, remote unit of work" />
<meta name="DC.Relation" scheme="URI" content="rbal1cmrwj.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1connectstate.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1unconnectstate.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1connun.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal1ruwcnst" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Activation group states</title>
</head>
<body id="rbal1ruwcnst"><a name="rbal1ruwcnst"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Activation group states</h1>
<div><p>An activation group is in one of three states at any time.</p>
<div class="section"><p>The three states are:</p>
<ul><li>Connectable and connected</li>
<li>Unconnectable and connected</li>
<li>Connectable and unconnected</li>
</ul>
</div>
<div class="section"><p>The following figure shows the state transitions:</p>
</div>
<div class="example"> <div class="fignone" id="rbal1ruwcnst__rbal1rcntyp2"><a name="rbal1ruwcnst__rbal1rcntyp2"><!-- --></a><span class="figcap">Figure 1. Remote unit of work activation group
connection state transition</span><br /><img src="rbal1506.gif" alt="Remote Unit of Work Activation Group Connection State Transitions" /><br /></div>
</div>
<div class="section"><p>The initial state of an activation group is <em>connectable</em> and <em>connected</em>.
The application server to which the activation group is connected is determined
by the RDB parameter on the <span class="cmdname">CRTSQLxxx</span> and <span class="cmdname">STRSQL</span> commands
and might involve an implicit CONNECT operation. An implicit CONNECT operation
cannot occur if an implicit or explicit CONNECT operation has already successfully
or unsuccessfully occurred. Thus, an activation group cannot be implicitly
connected to an application server more than once.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbal1connectstate.htm">Connectable and connected state</a></strong><br />
An activation group is connected to an application server and CONNECT statements can be executed. The activation group enters this state when it completes a rollback or successful commit from the unconnectable and connected state, or a CONNECT statement is successfully executed from the connectable and unconnected state.</li>
<li class="ulchildlink"><strong><a href="rbal1unconnectstate.htm">Unconnectable and connected state</a></strong><br />
An activation group is connected to an application server, but a CONNECT statement cannot be successfully executed to change application servers. The activation group enters this state from the connectable and connected state when it executes any SQL statement other than CONNECT, COMMIT, or ROLLBACK.</li>
<li class="ulchildlink"><strong><a href="rbal1connun.htm">Connectable and unconnected state</a></strong><br />
An activation group is not connected to an application server. The only SQL statement that can be executed is CONNECT.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1cmrwj.htm" title="The remote unit of work facility provides for the remote preparation and processing of SQL statements.">Remote unit of work</a></div>
</div>
</div>
</body>
</html>