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

89 lines
5.9 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="Work with commitment definitions in a distributed relational database" />
<meta name="abstract" content="Use the Work with Commitment Definitions (WRKCMTDFN) command if you want to work with the commitment definitions on the server." />
<meta name="description" content="Use the Work with Commitment Definitions (WRKCMTDFN) command if you want to work with the commitment definitions on the server." />
<meta name="DC.subject" content="administration task, working with commitment definitions, database administration, working with, commitment definitions, commitment definitions, defined" />
<meta name="keywords" content="administration task, working with commitment definitions, database administration, working with, commitment definitions, commitment definitions, defined" />
<meta name="DC.Relation" scheme="URI" content="rbal1rdbactv.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strcmtctl.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakj/rzakjtrouble.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/wrkcmtdfn.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="rbal1cmt" />
<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>Work with commitment definitions in a distributed relational database</title>
</head>
<body id="rbal1cmt"><a name="rbal1cmt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Work with commitment definitions in a distributed relational database</h1>
<div><p>Use the <span class="cmdname">Work with Commitment Definitions (WRKCMTDFN)</span> command
if you want to work with the commitment definitions on the server.</p>
<div class="section"> <p>A <em>commitment definition</em> is used to store information about
commitment control when commitment control is started by the <span class="cmdname">Start
Commitment Control (STRCMTCTL)</span> command. These commitment definitions
might or might not be associated with an active job. Those not associated
with an active job have been ended, but one or more of its logical units of
work have not yet been completed.</p>
<p>The <span class="cmdname">Work with Commitment
Definitions (WRKCMTDFN)</span> command can be used to work with commitment
definitions based on the job name, status, or logical unit of work identifier
of the commitment definition.</p>
<p>On the STATUS parameter, you can specify
all jobs or only those that have a status value of *RESYNC or *UNDECIDED.
*RESYNC shows only the jobs that are involved with resynchronizing their resources
in an effort to reestablish a synchronization point; a <em>synchronization
point</em> is the point where all resources are in consistent state.</p>
<p>*UNDECIDED
shows only those jobs for which the decision to commit or roll back resources
is unknown.</p>
<p>On the LUWID parameter, you can display commitment definitions
that are working with a commitment definition on another server. Jobs containing
these commitment definitions are communicating using an APPC-protected
conversation. An LUWID can be found by displaying the commitment definition
on one server and then using it as input to the <span class="cmdname">Work with Commitment
Definitions (WRKCMTDFN)</span> command to find the corresponding commitment
definition.</p>
<p>You can use the <span class="cmdname">Work with Commitment
Definitions (WRKCMTDFN)</span> command to free local resources in jobs
that are undecided, but only if the commitment definitions are in a Prepared
(PRP) or Last Agent Pending (LAP) state. You can force the commitment definition
to either commit or roll back, and thus free up held resources; control does
not return to the program that issued the original commitment until the initiator
learns of the action taken on the commitment definition.</p>
<p>You can also
use the <span class="cmdname">Work with Commitment Definitions (WRKCMTDFN)</span> command
to end synchronization in cases where it is determined that resynchronization
will not ever complete with another server.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1rdbactv.htm" title="You can rely on control language (CL) commands, all of which provide similar information, but in different ways, to give you a view of work on an iSeries server.">Monitor relational database activity</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzakj/rzakjtrouble.htm">Troubleshoot transactions and commitment control</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/strcmtctl.htm">Start Commitment Control (STRCMTCTL) command</a></div>
<div><a href="../cl/wrkcmtdfn.htm">Work with Commitment Definitions (WRKCMTDFN) command</a></div>
</div>
</div>
</body>
</html>