59 lines
3.5 KiB
HTML
59 lines
3.5 KiB
HTML
<?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="Connectable and unconnected state" />
|
|
<meta name="abstract" content="An activation group is not connected to an application server. The only SQL statement that can be executed is CONNECT." />
|
|
<meta name="description" content="An activation group is not connected to an application server. The only SQL statement that can be executed is CONNECT." />
|
|
<meta name="DC.subject" content="connection state, CONNECT (Type 2) statement, connection, SQL" />
|
|
<meta name="keywords" content="connection state, CONNECT (Type 2) statement, connection, SQL" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbal1ruwcnst.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="rbal1connun" />
|
|
<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>Connectable and unconnected state</title>
|
|
</head>
|
|
<body id="rbal1connun"><a name="rbal1connun"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Connectable and unconnected state</h1>
|
|
<div><p>An activation group is not connected to an application server.
|
|
The only SQL statement that can be executed is CONNECT.</p>
|
|
<div class="section"><p>The activation group enters this state when:</p>
|
|
<ul><li>The connection was previously released and a successful COMMIT is executed.</li>
|
|
<li>The connection is disconnected using the SQL DISCONNECT statement.</li>
|
|
<li>The connection was in a connectable state, but the CONNECT statement was
|
|
unsuccessful.</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>Consecutive CONNECT statements can be executed successfully because
|
|
CONNECT does not remove the activation group from the connectable state. A
|
|
CONNECT to the application server to which the activation group is currently
|
|
connected is executed like any other CONNECT statement. </p>
|
|
</div>
|
|
<div class="section"><p>CONNECT cannot run successfully when it is preceded by any SQL
|
|
statement other than CONNECT, COMMIT, DISCONNECT, SET CONNECTION, RELEASE,
|
|
or ROLLBACK (unless running with COMMIT(*NONE)). To avoid an error, execute
|
|
a commit or rollback operation before a CONNECT statement is executed. </p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1ruwcnst.htm" title="An activation group is in one of three states at any time.">Activation group states</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |