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

60 lines
3.7 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="Connection failures specific to Interactive SQL" />
<meta name="abstract" content="Sometimes when you are running a CONNECT statement from Interactive SQL, a general SQ30080 message is given." />
<meta name="description" content="Sometimes when you are running a CONNECT statement from Interactive SQL, a general SQ30080 message is given." />
<meta name="DC.Relation" scheme="URI" content="rbal1reqfail.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1setup4isql.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="rbal1connfailure" />
<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>Connection failures specific to Interactive SQL</title>
</head>
<body id="rbal1connfailure"><a name="rbal1connfailure"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Connection failures specific to Interactive SQL</h1>
<div><p>Sometimes when you are running a CONNECT statement from Interactive
SQL, a general SQ30080 message is given.</p>
<div class="section"><p> The text of that message is:</p>
<pre>Communication error occurred during distributed database processing</pre>
<p>In
order to get the details of the error, you should exit from Interactive SQL
and look at the job log.</p>
</div>
<div class="section"><p>If you get message SQL7020, <samp class="codeph">SQL
package creation failed</samp>, when connecting for the first time (for
any given level of commitment control) to a server that has only single-phase
commit capabilities, the cause might be that you accessed the remote server
as a read-only server and you need to update it to create the SQL package.</p>
</div>
<div class="section"><p>You can verify that by looking at the messages in the job log.
The solution is to do a RELEASE ALL and COMMIT to get rid of all connections
before connecting, so that the connection will be updatable.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1reqfail.htm" title="The main causes for failed connection requests at a Distributed Relational Database Architecture (DRDA) server configured for TCP/IP use is that the DDM TCP/IP server is not started, an authorization error occurred, or the machine is not running.">Handle connection request failures for TCP/IP</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rbal1setup4isql.htm" title="This topic applies only to non-iSeries Application Servers (ASs).">Set up SQL packages for Interactive SQL</a></div>
</div>
</div>
</body>
</html>