ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafowrkjrn.htm

101 lines
7.8 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="Work with journals" />
<meta name="abstract" content="This topic discusses what control language (CL) commands and iSeries Navigator functions you can use to work with journals." />
<meta name="description" content="This topic discusses what control language (CL) commands and iSeries Navigator functions you can use to work with journals." />
<meta name="DC.Relation" scheme="URI" content="rbaforzahfpre.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafocrtjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafocrtjrnr.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafovuwc.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoaddrjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaformvrjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoactrjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodactrjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodspjrni.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoswpjrnr.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafostrstpjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/apyjrnchg.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rmvjrnchg.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzaki/rzakikickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.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="rbafowrkjrn" />
<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 journals</title>
</head>
<body id="rbafowrkjrn"><a name="rbafowrkjrn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Work with journals</h1>
<div><p>This topic discusses what control language (CL) commands and iSeries™ Navigator
functions you can use to work with journals.</p>
<div class="p">The following CL commands can be used to work with journals: <ul><li>To recover a damaged or unusable database file member that contains journaled
changes, use the Apply Journaled Changes (APYJRNCHG) and Remove Journaled
Changes (RMVJRNCHG) commands.</li>
<li>To apply the changes that were recorded in a journal receiver to the designated
physical file member, use the APYJRNCHG command. However, depending on the
type of damage to the physical file and the amount of activity since the file
was last saved, removing changes from the file using the RMVJRNCHG command
can be easier.</li>
<li>To convert journal entries to a database file, use the Display Journal
(DSPJRN) command. Use this file for activity reports, audit trails, security,
and program debugging.</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafocrtjrn.htm">Create a journal using iSeries Navigator</a></strong><br />
Creating a journal causes a new instance of a journal on your system. You must start journaling the table to a journal before it begins journaling information.</li>
<li class="ulchildlink"><strong><a href="rbafocrtjrnr.htm">Create a journal receiver using iSeries Navigator</a></strong><br />
A journal receiver is the file that contains the information the journal is recording. When you create a journal, the receiver is automatically created. However, if you want to manually swap receivers, you must first create a new journal receiver.</li>
<li class="ulchildlink"><strong><a href="rbafovuwc.htm">Values used when creating new journals and new journal receivers</a></strong><br />
The journal and journal receiver are created or changed using the values you specified on the Advanced Journal Attributes or the Journal Properties window. If you do not specify any values, the journal and journal receiver are created using default values.</li>
<li class="ulchildlink"><strong><a href="rbafoaddrjrn.htm">Add a remote journal using iSeries Navigator</a></strong><br />
Remote journals allow you to replicate journal information to a separate system. A remote journal is associated with an existing journal. The journal on the source system can be either a local journal or another remote journal.</li>
<li class="ulchildlink"><strong><a href="rbaformvrjrn.htm">Remove a remote journal using iSeries Navigator</a></strong><br />
Removing a remote journal disassociates it from the journal on the source system; it does not delete the journal or the journal receivers. You must deactivate a remote journal before you can remove it.</li>
<li class="ulchildlink"><strong><a href="rbafoactrjrn.htm">Activate a remote journal using iSeries Navigator</a></strong><br />
After you add a remote journal, you must activate it.</li>
<li class="ulchildlink"><strong><a href="rbafodactrjrn.htm">Deactivate a remote journal using iSeries Navigator</a></strong><br />
When you deactivate a remote journal, the collection of data is stopped.</li>
<li class="ulchildlink"><strong><a href="rbafodspjrni.htm">Display journal information for a table using iSeries Navigator</a></strong><br />
This topic includes a procedure for displaying journal information
for a table using iSeries Navigator.</li>
<li class="ulchildlink"><strong><a href="rbafoswpjrnr.htm">Swap receivers using iSeries Navigator</a></strong><br />
Swapping journal receivers replaces the current journal receiver with a new journal receiver that is automatically created and attached to the journal by the system. There are two methods that you can use to swap receivers for journaling. The first method does not allow you to change the attributes of the new receiver; the second does.</li>
<li class="ulchildlink"><strong><a href="rbafostrstpjrn.htm">Start or stop a journal for a table (file) using iSeries Navigator</a></strong><br />
After a journal is created, it must be started for a table. If you want to delete a journal, it must be stopped.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfpre.htm" title="Journal management allows you to record all the data changes that occur to one or more database files. You can then use the journal for recovery.">Manage journals</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzaki/rzakikickoff.htm">Journal management</a></div>
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/apyjrnchg.htm">Apply Journaled Changes (APYJRNCHG) command</a></div>
<div><a href="../cl/rmvjrnchg.htm">Removed Journaled Changes (RMVJRNCHG) command</a></div>
<div><a href="../cl/dspjrn.htm">Display Journal (DSPJRN) command</a></div>
</div>
</div>
</body>
</html>