ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaii_5.4.0.1/rzaiimts.htm

104 lines
6.1 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="task" />
<meta name="DC.Title" content="Use Distributed transaction support" />
<meta name="abstract" content="The iSeries Access for Windows client supports Microsoft Transaction Server (MTS) and the Component Services model, with the iSeries Access ODBC driver and the IBMDASQL OLE DB provider." />
<meta name="description" content="The iSeries Access for Windows client supports Microsoft Transaction Server (MTS) and the Component Services model, with the iSeries Access ODBC driver and the IBMDASQL OLE DB provider." />
<meta name="DC.Relation" scheme="URI" content="rzaiithreetier.htm" />
<meta name="DC.Relation" scheme="URI" content="http://www.microsoft.com/com/tech/MTS.asp" />
<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="rzaiimts" />
<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>Use Distributed transaction support</title>
</head>
<body id="rzaiimts"><a name="rzaiimts"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use Distributed transaction support</h1>
<div><p>The iSeries™ Access
for Windows<sup>®</sup> client
supports Microsoft<sup>®</sup> Transaction Server (MTS) and the Component
Services model, with the iSeries Access ODBC driver and the IBMDASQL OLE DB
provider.</p>
<div class="section"><p><strong>MTS</strong></p>
<p>MTS is a Microsoft component-based programming
model and run-time environment for developing, deploying, and managing Internet
server applications. In many three-tier environments, Active Server Pages
(ASP) call MTS components to access databases, mainframe applications, and
message queues. Used with iSeries Access for Windows running in the middle-tier of
a three-tier environment, MTS components manage transactions between client
applications, iSeries Access
for Windows components,
and the databases involved in the transactions.</p>
<p>MTS uses Microsoft Distributed
Transaction Coordinator (MSDTC) in order to manage transactions that span
multiple Database Management Systems (DBMS), and to ensure two-phase commit
integrity when dealing with transactions whose implementations depend on mutual
success.</p>
<p>In newer Windows server models, MTS has been
replaced with the Component Services model. The iSeries Access for Windows ODBC
and OLE DB providers support the Component Services model in the same manner
as they support MTS.</p>
<p><strong>Implementation notes</strong></p>
<ul><li>If the MSDTC cannot load the iSeries Access ODBC driver, the SQLSetConnectAttr(
SQL_ATTR_ENLIST_IN_DTC ) will fail with reason code of 2 (XaRmCreate failed).
If you installed iSeries Access
for Windows PC5250
eumlator component, the MSDTC system environment path is set for you. To avoid
this, the system environment path on the PC running MSDTC must include the
path to the Shared directory within the directory in which iSeries Access
for Windows is
installed. For example: C:\Program Files\IBM\Client Access\Shared.</li>
<li>If you are using SSL, or any other configurable value on the <span class="menucascade"><span class="uicontrol">Connections</span> &gt; <span class="uicontrol">Properties</span></span> dialog
in iSeries Navigator,
your iSeries connection
name in iSeries Navigator
must match the connection name specified on the client PC managed by MTS.
MSDTC uses the same connection names as iSeries Access for Windows ODBC
client PCs managed by MTS to connect to the DB2<sup>®</sup> UDB for iSeries database. To change the connection
properties of the MSDTC connections, you must change the system account registry. <p>One
way to do this is to use Incoming Remote Command (IRC) in combination with
the CWBENV utility:</p>
</li>
</ul>
</div>
<ol><li class="stepexpand"><span>Run CWBENV on a client PC to extract the configuration information
for an environment.</span></li>
<li class="stepexpand"><span>Copy the resulting file to the MSDTC PC.</span></li>
<li class="stepexpand"><span>Start the iSeries Access for Windows Remote Command service and ensure
that it is configured to run in the Local System context.</span></li>
<li class="stepexpand"><span>Using the RUNRMTCMD command from a PC5250 session, send a CWBENV
command to the MSDTC PC to import the environment.</span> <p>See the User's
Guide in the iSeries Access
for Windows program
group for more information on these functions.</p>
</li>
</ol>
<div class="section"><p>For more information about MTS or the Component Services model,
refer to the Microsoft Web site.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiithreetier.htm" title="By installing iSeries Access for Windows on the middle tier of a three-tier environment, a wide variety of client workstations can access iSeries services.">Use iSeries Access for Windows in a three-tier environment</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="http://www.microsoft.com/com/tech/MTS.asp" target="_blank">Microsoft MTS Web site</a></div>
</div>
</div>
</body>
</html>