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

150 lines
9.1 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="End journaling" />
<meta name="abstract" content="Provides information about how to end journaling and why ending journaling might be necessary." />
<meta name="description" content="Provides information about how to end journaling and why ending journaling might be necessary." />
<meta name="DC.Relation" scheme="URI" content="rzakistartandend.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/endjrnap.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/endjrnpf.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/endjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/endjrnobj.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qjoejobj.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzahf/rzahfmultipledb.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakideletejrn.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="rzakiendjrn" />
<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>End journaling</title>
</head>
<body id="rzakiendjrn"><a name="rzakiendjrn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">End journaling</h1>
<div><p>Provides information about how to end journaling and why ending
journaling might be necessary.</p>
<div class="section"><p>You may need to end journaling for several reasons:</p>
<ul><li>If a journal is damaged and you need to delete it, you must first end
journaling for all objects assigned to the journal.</li>
<li>In some situations, you might want to end journaling before running a
large batch application, if that application has exclusive use of the object.
This is done either to improve the speed of the batch application or to reduce
the auxiliary storage needed for the journal receiver. If you do this, use
this method: <ol><li>End journaling for the objects.</li>
<li>If journaling physical files save them specifying ACCPTH(*YES).</li>
<li>If journaling other object types, save them.</li>
<li>Run the batch application.</li>
<li>Start journaling for the objects.</li>
<li>Save the physical files, specifying ACCPTH(*YES).</li>
<li>Save the other journaled objects.</li>
</ol>
</li>
</ul>
<p>To end journaling proceed as follows:</p>
</div>
<ol><li><span>End journaling for access paths with the <span class="cmdname">End Journal Access
Path (ENDJRNAP)</span> command</span></li>
<li><span>In iSeries™ Navigator
expand the system with the object that you want stop journaling.</span></li>
<li><span>If the object is a database file, proceed as follows:</span><ol type="a"><li><span>Expand <span class="uicontrol">Databases</span> and the database with
the journal that you want to end journaling.</span></li>
<li><span>Expand <span class="uicontrol">Schemas</span>.</span></li>
<li><span>Click the schema with the table (file) you are journaling.</span></li>
<li><span>Click <span class="uicontrol">Tables</span>.</span></li>
<li><span>Right-click table and select <span class="uicontrol">Journaling</span>.</span></li>
<li><span>Click <span class="uicontrol">End</span> to end journaling.</span></li>
</ol>
</li>
<li><span>If the object is an integrated file system object proceed as follows: </span><ol type="a"><li><span>Expand <span class="uicontrol">File Systems</span>.</span></li>
<li><span>Expand <span class="uicontrol">Integrated File System</span>.</span></li>
<li><span>Expand the file system with the object you are ending journaling.</span></li>
<li><span>If you are ending journaling for a directory, right click that
directory. If you are ending journaling for an object in a directory, open
the directory and right click the object.</span></li>
<li><span>Right-click the object or directory and select <span class="uicontrol">Journaling</span></span></li>
<li><span>Click <span class="uicontrol">End</span> to end journaling.</span></li>
</ol>
</li>
<li><span>If the object is a data area or data queue, proceed as follows:</span><ol type="a"><li><span>Expand <span class="uicontrol">File Systems</span>.</span></li>
<li><span>Expand <span class="uicontrol">Integrated File System</span>.</span></li>
<li><span>Expand <span class="uicontrol">QSYS.LIB</span>.</span></li>
<li><span>Select the library with the data area or data queue.</span></li>
<li><span>Right-click the data area or data queue you want to end journaling
and select <span class="uicontrol">Journaling</span>.</span></li>
<li><span>Click <span class="uicontrol">End</span> to end journaling.</span></li>
</ol>
</li>
</ol>
<div class="section"><p>Or, use the following commands or API to end journaling:</p>
<ul><li><span class="cmdname">End Journal Access Path (ENDJRNAP)</span> command for access
paths</li>
<li><span class="cmdname">End Journal Physical File (ENDJRNPF)</span> command for database
files</li>
<li><span class="cmdname">End Journal (ENDJRN)</span> command for integrated file system
objects</li>
<li><span class="cmdname">End Journal Object (ENDJRNOBJ)</span> command for other objects</li>
<li><span class="apiname">End Journal (QjoEndJournal)</span> API for integrated file
system objects, data areas, and data queues.</li>
</ul>
<p>You must end journaling for any access paths based on a physical file
before you can end journaling for the physical file.</p>
<p>In the following
cases, the system implicitly ends journaling:</p>
<ul><li>When you delete an object, journaling is ended for the object.</li>
<li>When you remove a physical file member, journaling is ended for the member.</li>
<li>When you remove a physical file member, journaling is ended for any access
paths associated with the member unless an access path is shared and journaled
by another file member.</li>
<li>When you delete a file, journaling is ended for any access paths associated
with the file unless an access path is shared and journaled by another file.</li>
</ul>
</div>
</div>
<div>
<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="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzahf/rzahfmultipledb.htm">Distributed database administration</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzakideletejrn.htm" title="Each journal on the system causes additional time and resource to be used when you restart the system or vary on an independent disk pool after an abnormal end. If you no longer need a journal, you can delete it.">Delete journals</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/endjrnap.htm">End Journal Access Path (ENDJRNAP) command</a></div>
<div><a href="../cl/endjrnpf.htm">End Journal Physical File (ENDJRNPF) command</a></div>
<div><a href="../cl/endjrn.htm">End Journal (ENDJRN) command</a></div>
<div><a href="../cl/endjrnobj.htm">End Journal Object (ENDJRNOBJ) command</a></div>
<div><a href="../apis/qjoejobj.htm">End Journal (QjoEndJournal) API</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="howtoenddistributefiles"><a name="howtoenddistributefiles"><!-- --></a><h2 class="topictitle2">How to end journaling for distributed files</h2>
<div><div class="section"><p>When you successfully end journaling on a distributed file, the
system distributes the end journal request to the other systems in the node
group. All systems are attempted even if there is a failure at any one system.
Once journaling is ended on a system in the node group, it stays ended even
if there is a failure at any of the other systems.</p>
<p>Even if a distributed
file is not locally journaled, and if you specify the file name and the journal
name on the <span class="cmdname">ENDJRNPF</span> command, the system will still attempt
to distribute the end-journal request to the other systems in the file node
group.</p>
</div>
</div>
</div>
</body>
</html>