69 lines
4.7 KiB
HTML
69 lines
4.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="Run with both RUW and DUW connection management" />
|
||
|
<meta name="abstract" content="Programs compiled with remote unit of work (RUW) connection management can be called by programs compiled with distributed unit of work (DUW) connection management. SET CONNECTION, RELEASE, and DISCONNECT statements can be used by the program compiled with RUW connection management to work with any of the active connections." />
|
||
|
<meta name="description" content="Programs compiled with remote unit of work (RUW) connection management can be called by programs compiled with distributed unit of work (DUW) connection management. SET CONNECTION, RELEASE, and DISCONNECT statements can be used by the program compiled with RUW connection management to work with any of the active connections." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1adduwmg.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="rbal1running" />
|
||
|
<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>Run with both RUW and DUW connection management</title>
|
||
|
</head>
|
||
|
<body id="rbal1running"><a name="rbal1running"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Run with both RUW and DUW connection management</h1>
|
||
|
<div><p>Programs compiled with remote unit of work (RUW) connection management
|
||
|
can be called by programs compiled with distributed unit of work (DUW) connection
|
||
|
management. SET CONNECTION, RELEASE, and DISCONNECT statements can be used
|
||
|
by the program compiled with RUW connection management to work with any of
|
||
|
the active connections.</p>
|
||
|
<div class="section"><p>However, when a program compiled with DUW connection management
|
||
|
calls a program compiled with RUW connection management, CONNECTs that are
|
||
|
performed in the program compiled with RUW connection management will attempt
|
||
|
to end all active connections for the activation group as part of the CONNECT.
|
||
|
</p>
|
||
|
</div>
|
||
|
<div class="section"><p>Such CONNECTs will fail if the conversation used by active connections
|
||
|
uses protected conversations. Furthermore, when protected conversations were
|
||
|
used for inactive connections and the DDMCNV job attribute is *KEEP, these
|
||
|
unused DDM conversations will also cause the connections in programs compiled
|
||
|
with RUW connection management to fail. To avoid this situation, run with
|
||
|
DDMCNV(*DROP) and perform a RELEASE and COMMIT prior to calling any programs
|
||
|
compiled with RUW connection management that perform CONNECTs.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>Likewise, when creating packages for programs compiled with DUW
|
||
|
connection management after creating a package for a program compiled with
|
||
|
RUW connection management, either run with DDMCNV(*DROP) or perform a RCLDDMCNV
|
||
|
after creating the package for the programs compiled with DUW connection management.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>Programs compiled with DUW connection management can also be called
|
||
|
by programs compiled with RUW connection management. When the program compiled
|
||
|
with DUW connection management performs a CONNECT, the connection performed
|
||
|
by the program compiled with RUW connection management is not disconnected.
|
||
|
This connection can be used by the program compiled with DUW
|
||
|
connection management.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1adduwmg.htm" title="The application-directed distributed unit of work facility also provides for the remote preparation and execution of SQL statements in the same fashion as remote unit of work.">Distributed unit of work</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|