ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaki_5.4.0.1/rzakiqdbrplay.htm

163 lines
8.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="concept" />
<meta name="DC.Title" content="Replay a database operation from a single journal entry" />
<meta name="abstract" content="Use the Replay Database Operation (QDBRPLAY) API to replay a database operation from a single journal entry. You can only use the QDBRPLAY API to replay journal entries for database file objects. Also, the API does not run under commitment control even if the original journal entry was performed as part of a committable transaction." />
<meta name="description" content="Use the Replay Database Operation (QDBRPLAY) API to replay a database operation from a single journal entry. You can only use the QDBRPLAY API to replay journal entries for database file objects. Also, the API does not run under commitment control even if the original journal entry was performed as part of a committable transaction." />
<meta name="DC.Relation" scheme="URI" content="rzakiwrkjrninfo.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakifinder.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qdbrplay.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirtvjrnentry.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/QJORJRNE.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="rzakiqdbrplay" />
<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>Replay a database operation from a single journal entry</title>
</head>
<body id="rzakiqdbrplay"><a name="rzakiqdbrplay"><!-- --></a>
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Replay a database operation from a single journal entry</h1>
<div><p>Use the <span class="apiname">Replay Database Operation (QDBRPLAY) </span>API
to replay a database operation from a single journal entry. You can only use
the <span class="apiname">QDBRPLAY</span> API to replay journal entries for database
file objects. Also, the API does not run under commitment control even if
the original journal entry was performed as part of a committable transaction.</p>
<p>Since these database journal entries can be very large, be sure to retrieve
the journal entries using an interface that supports pointers (either the <span class="apiname">Retrieve
Journal Entries (QjoRetrieveJournalEntries)</span> API or the <span class="cmdname">Receiver
Journal Entry (RCVJRNE)</span> command). </p>
<p>You can use the <span class="apiname">QDBRPLAY</span> API to replay the following
journal entries. You can get more information about these journal entries
in the Journal entry information finder.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" id="d0e41">Journal code</th>
<th valign="top" id="d0e43">Entry type</th>
<th valign="top" id="d0e45">Description</th>
</tr>
</thead>
<tbody><tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">AC</td>
<td valign="top" headers="d0e45 ">Add Constraint</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">CG</td>
<td valign="top" headers="d0e45 ">Change File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">CT</td>
<td valign="top" headers="d0e45 ">Create File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">DC</td>
<td valign="top" headers="d0e45 ">Remove Constraint</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">DT</td>
<td valign="top" headers="d0e45 ">Delete File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">FM</td>
<td valign="top" headers="d0e45 ">Move File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">FN</td>
<td valign="top" headers="d0e45 ">Rename File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">GC</td>
<td valign="top" headers="d0e45 ">Change Constraint</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">GO</td>
<td valign="top" headers="d0e45 ">Change Owner</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">GT</td>
<td valign="top" headers="d0e45 ">Grant File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">RV</td>
<td valign="top" headers="d0e45 ">Revoke File</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">TC</td>
<td valign="top" headers="d0e45 ">Add Trigger</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">TD</td>
<td valign="top" headers="d0e45 ">Remove Trigger</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">TG</td>
<td valign="top" headers="d0e45 ">Change Trigger</td>
</tr>
<tr><td valign="top" headers="d0e41 ">D</td>
<td valign="top" headers="d0e43 ">TQ</td>
<td valign="top" headers="d0e45 ">Refresh Table</td>
</tr>
<tr><td valign="top" headers="d0e41 ">F</td>
<td valign="top" headers="d0e43 ">CB</td>
<td valign="top" headers="d0e45 ">Change Member</td>
</tr>
<tr><td valign="top" headers="d0e41 ">F</td>
<td valign="top" headers="d0e43 ">DM</td>
<td valign="top" headers="d0e45 ">Remove Member</td>
</tr>
<tr><td valign="top" headers="d0e41 ">F</td>
<td valign="top" headers="d0e43 ">MC</td>
<td valign="top" headers="d0e45 ">Add Member</td>
</tr>
<tr><td valign="top" headers="d0e41 ">F</td>
<td valign="top" headers="d0e43 ">MN</td>
<td valign="top" headers="d0e45 ">Rename Member</td>
</tr>
<tr><td valign="top" headers="d0e41 ">F</td>
<td valign="top" headers="d0e43 ">RM</td>
<td valign="top" headers="d0e45 ">Reorganize Member</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><h4 class="sectiontitle">Rename exit program</h4><p>The <span class="apiname">QDBRPLAY</span> API
has an exit program that can change the names of the objects that are referenced
in the journal entry. If a rename exit program is specified, each name referenced
during the replay of the operation will be passed to the rename exit program.
The names passed to the rename exit program might be short names or long SQL
names. The same name might be passed to the exit program more than once if
it is referenced in the internal journal entry specific data more than once.
If the names are changed by the rename exit program, the names are case sensitive
and must conform to any i5/OS<sup>®</sup> and SQL rules for object names.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakiwrkjrninfo.htm" title="Provides ways that you can display, retrieve, and receive journal entries.">Work with journal entry information</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakirtvjrnentry.htm" title="Use the Retrieve Journal Entry (RTVJRNE) command or the Retrieve Journal Entries (QjoRetrieveJournalEntries) API in a program to retrieve a journal entry and place it in a variable in the program.">Retrieve journal entries in a program</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../apis/qdbrplay.htm">Replay Database Operation (QDBRPLAY) API</a></div>
<div><a href="../apis/QJORJRNE.htm">Retrieve Journal Entries (QjoRetrieveJournalEntries) API</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="rzakifinder.htm">Journal entry information finder</a></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>