103 lines
5.3 KiB
HTML
103 lines
5.3 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="concept" />
|
||
|
<meta name="DC.Title" content="Access intent of a committable resource" />
|
||
|
<meta name="abstract" content="The access intent determines how the resources participate together in a transaction." />
|
||
|
<meta name="description" content="The access intent determines how the resources participate together in a transaction." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakjresources.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzakjintent" />
|
||
|
<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>Access intent of a committable resource</title>
|
||
|
</head>
|
||
|
<body id="rzakjintent"><a name="rzakjintent"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Access intent of a committable resource</h1>
|
||
|
<div><p>The access intent determines how the resources participate together
|
||
|
in a transaction.</p>
|
||
|
<p>When a resource is placed under commitment control, the resource manager
|
||
|
indicates how the resource will be accessed:</p>
|
||
|
<ul><li>Update</li>
|
||
|
<li>Read-only</li>
|
||
|
<li>Undetermined</li>
|
||
|
</ul>
|
||
|
<p> The following table shows what access intents are possible for a particular
|
||
|
type of resource and how the system determines the access intent for a resource
|
||
|
when it is registered.</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" id="d0e30">Resource type</th>
|
||
|
<th valign="top" id="d0e32">Possible access intents</th>
|
||
|
<th valign="top" id="d0e34">How the access intent is determined</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e30 ">FILE</td>
|
||
|
<td valign="top" headers="d0e32 ">Update, read-only</td>
|
||
|
<td valign="top" headers="d0e34 ">Based on how the file was opened</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">DDL</td>
|
||
|
<td valign="top" headers="d0e32 ">Update</td>
|
||
|
<td valign="top" headers="d0e34 ">Always update</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">API</td>
|
||
|
<td valign="top" headers="d0e32 ">Update</td>
|
||
|
<td valign="top" headers="d0e34 ">Always update</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">DDM</td>
|
||
|
<td valign="top" headers="d0e32 ">Update, read-only</td>
|
||
|
<td valign="top" headers="d0e34 ">Based on how the file was opened</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">LU62</td>
|
||
|
<td valign="top" headers="d0e32 ">Undetermined</td>
|
||
|
<td valign="top" headers="d0e34 ">Always undetermined</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">DRDA<sup>®</sup></td>
|
||
|
<td valign="top" headers="d0e32 ">Update, read-only, undetermined</td>
|
||
|
<td valign="top" headers="d0e34 ">For DRDA Level
|
||
|
1, the access intent is update if no other remote resources are registered.
|
||
|
Otherwise, the access intent is read-only. For DRDA Level 2, the access intent is always
|
||
|
undetermined.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">TCP</td>
|
||
|
<td valign="top" headers="d0e32 ">Undetermined</td>
|
||
|
<td valign="top" headers="d0e34 ">Always undetermined</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p>The access intent of resources that are already registered determines whether
|
||
|
a new resource can be registered. The following rules apply:</p>
|
||
|
<ul><li>A one-phase resource whose access intent is update cannot be registered
|
||
|
when any of the following conditions is true: <ul><li>Resources whose access intent is update are already registered at other
|
||
|
locations.</li>
|
||
|
<li>Resources whose access intent is undetermined are already registered at
|
||
|
other locations.</li>
|
||
|
<li>Resources whose access intent is undetermined are already registered at
|
||
|
the same location and the resources have been changed during the current transaction.</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>A two-phase resource whose access intent is update cannot be registered
|
||
|
when a one-phase resource whose access intent is update is already registered.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakjresources.htm" title="When you place an object under commitment control, it becomes a committable resource. It is registered with the commitment definition. It participates in each commit operation and rollback operation that occurs for that commitment definition.">How commitment control works with objects</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|