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

108 lines
7.9 KiB
HTML
Raw Permalink 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="Start journaling" />
<meta name="abstract" content="This topic provides information about how to start journaling for all object types." />
<meta name="description" content="This topic provides information about how to start journaling for all object types." />
<meta name="DC.Relation" scheme="URI" content="rzakistartandend.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakistrjrnpf.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakidb2files.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakistrjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakistrjrnap.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakistrjrndta.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiautostrjrnl.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiestimatercv.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakicorrectorder.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="rzakistrjrnl" />
<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>Start journaling</title>
</head>
<body id="rzakistrjrnl"><a name="rzakistrjrnl"><!-- --></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">Start journaling</h1>
<div><p>This topic provides information about how to start journaling for
all object types.</p>
<div class="section"><p>After you have created the journal and journal receiver, you can
start journaling. When journaling has been started for an object, the system
writes journal entries for all changes to the object.</p>
<p>The start journal
command must obtain an exclusive lock on the object. However, for database
physical files and integrated file system objects, you can start journaling
even if an object is open. The recommended procedure for starting journaling
is:</p>
</div>
<ol><li><span>Start journaling the object.</span></li>
<li><span>Save the object. If the object is open for changing, this will
be a save-while-active type save.</span></li>
</ol>
<div class="section"><p>If you are not using the save-while-active function, it is highly
recommended that you update the history for the object when you save it so
that processing for applying and removing journaled changes will have the
best information for verification. If you saved the object using the SAV command,
the default value is to not preserve the update history. Therefore, change
the UPDHST value to something other than *NO. </p>
<p>For the other save related
commands, the default value is to preserve the update history. When using
save-while-active, updating the history for the object is not needed for verification
when applying and removing journaled changes. In this case, information is
saved on media with the object, and restored when the object is restored.
This extra information provides the last save information for applying and
removing journaled changes.</p>
<p><img src="./delta.gif" alt="Start of change" />Normally, only the definition
of a data queue is saved, not its contents. To save the contents of the queue
as well, one must specify QDTA(*DTAQ) on the save commands.<img src="./deltaend.gif" alt="End of change" /></p>
<p><img src="./delta.gif" alt="Start of change" />The maximum number of objects that can be associated with one journal
is either 250,000 or 10,000,000. The option of setting the journal object
limit to 10,000,000 simplifies journaling because there are fewer journals
to manage, but allows for less parallelism during IPL and disaster recovery.
You can also have all objects created within a subdirectory start journaling
automatically without having to be broken up when you reach the 250,000 limit.
The value *MAX10M can only be specified for the Journal Object Limit (JRNOBJLMT)
parameter if the Receiver Size Option (RCVSIZOPT) parameter has one of the
*MAXOPT values specified or if RCVSIZOPT is *SYSDFT.<img src="./deltaend.gif" alt="End of change" /></p>
<p>The following links
provide instructions to start journaling for each object type:</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzakistrjrnpf.htm">Journal database physical files (tables)</a></strong><br />
When you start journaling a physical file (table), you specify whether you want after-images saved, or both before-images and after-images.</li>
<li class="ulchildlink"><strong><a href="rzakidb2files.htm">Journal DB2 Multisystem files</a></strong><br />
When you successfully start journaling on a distributed file, the system distributes the start journal request to the other servers in the node group.</li>
<li class="ulchildlink"><strong><a href="rzakistrjrn.htm">Journal integrated file system objects</a></strong><br />
You can journal the following integrated file system objects if they are in the "root"(/), QOpenSys, and user-defined file systems:</li>
<li class="ulchildlink"><strong><a href="rzakistrjrnap.htm">Journal access paths</a></strong><br />
After you have started journaling for physical files, you can set up explicit journaling of access paths.</li>
<li class="ulchildlink"><strong><a href="rzakistrjrndta.htm">Journal data areas and data queues</a></strong><br />
When you start journaling for a data area or a data queue, the system writes journal entries for all changes to the data area or data queue.</li>
<li class="ulchildlink"><img src="./delta.gif" alt="Start of change" /><strong><a href="rzakiautostrjrnl.htm">Automatically Start Journaling</a></strong><img src="./deltaend.gif" alt="End of change" /><br />
Using a data area named QDFTJRN, you can automatically start journaling when a non-integrated file system object (data area, data queue, or file) is created, moved, or restored into the library, thus, ensuring the very first change to the object will be recorded in the journal and that no lock on the user's part prevents journaling from starting in the library. The QDFTJRN data area must exist in the library where the object is being added.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakistartandend.htm" title="The following links provide instructions on how to start and end journaling for all of the object types that journaling supports.">Start and end journaling and change journaling attributes</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzakiestimatercv.htm" title="You can use the methods below to estimate the effect a journal receiver will have on auxiliary storage.">Methods to estimate the size of a journal receiver</a></div>
<div><a href="rzakicorrectorder.htm" title="You must restore journals and their associated objects in the correct order.">Correct order for restoration of journaled objects</a></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>