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

102 lines
7.1 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="task" />
<meta name="DC.Title" content="Delete journals" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta name="DC.Relation" scheme="URI" content="rzakiswapdel.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiendjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiinactivate.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakideletercv.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dltjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dltjrnrcv.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="rzakideletejrn" />
<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>Delete journals</title>
</head>
<body id="rzakideletejrn"><a name="rzakideletejrn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Delete journals</h1>
<div><p>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.</p>
<div class="section"><p>The system does not allow you to delete a journal if any of the
following conditions exist:</p>
<ul><li>You are journaling objects to it.</li>
<li>Commitment control is active, and the journal is associated with a commitment
definition. <div class="note"><span class="notetitle">Note:</span> If you have certain types of referential constraints defined,
the system starts commitment control if it is not already started. For example,
if you have defined a cascaded delete constraint for an object, the system
starts commitment control if you open the object for a delete operation. The
default commitment definition that is created is active until the job ends.</div>
</li>
<li>Any of the associated remote journals have a journal state *ACTIVE.</li>
</ul>
<p>If you no longer need a journal and its associated receivers, perform
the following steps:</p>
</div>
<ol><li class="stepexpand"><span>Use the Work with Journal Attributes (WRKJRNA) command to determine
the following: </span> <ul><li>Which objects are being journaled to this journal.</li>
<li>Whether or not commitment control is active and the journal is associated
with it.</li>
</ul>
</li>
<li class="stepexpand"><span>If commitment control is active and the journal is associated with
it, end commitment control with the End Commitment Control (ENDCMTCTL) command.</span></li>
<li class="stepexpand"><span>End journaling for all objects associated with the journal.</span></li>
<li class="stepexpand"><span>If any commitment definitions are active that use this journal
as the default journal, use the ENDJOB command to end the jobs that are using
the commitment definitions. This includes commitment control that is started
because of a referential constraint.</span></li>
<li class="stepexpand"><span>If any remote journals have a journal state of *ACTIVE, inactivate
them. See Inactivate the replication of journal entries to a remote journal
for more information.</span></li>
<li class="stepexpand"><span>Delete the journal by doing the following: </span><ol type="a"><li><span>In the <strong>iSeries™ Navigator</strong> window, expand the system you
want to use.</span></li>
<li><span>Expand <span class="uicontrol">Databases</span>.</span></li>
<li><span>Expand the database that you want to work with and <span class="uicontrol">Schemas</span>.</span></li>
<li><span>Click the schema you want to work with.</span></li>
<li><span>Right-click the journal you want to delete and click <span class="uicontrol">Delete</span>.</span></li>
<li><span>At the <span class="uicontrol">Confirm Object Deletion</span> dialog
click <span class="uicontrol">Delete</span>.</span></li>
</ol>
</li>
<li class="stepexpand"><span>Delete the journal receiver.</span></li>
</ol>
<div class="section"><p>You can also use the Delete Journal (DLTJRN) command to delete
the journal and the Delete Journal Receiver (DLTJRNRCV) command to delete
the journal receiver.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakiswapdel.htm" title="The management tasks that you need to perform most often for journaling are swapping journal receivers and saving and deleting journal receivers.">Swap, delete, and save journals and receivers</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzakiendjrn.htm" title="Provides information about how to end journaling and why ending journaling might be necessary.">End journaling</a></div>
<div><a href="rzakiinactivate.htm" title="When you end replication of journal entries to a remote journal, it is recommended that the replication of entries be ended from the source system whenever possible, rather than from the target system. Usually, ending replication from the target system for a remote journal is only necessary when the source system has failed, and the system has not ended the remote journal function.">Inactivate the replication of journal entries to a remote journal</a></div>
<div><a href="rzakideletercv.htm" title="Journal receivers can quickly use a lot of auxiliary storage space. Therefore an important journal management task is to delete journal receivers after you no longer need them.">Delete journal receivers</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/dltjrn.htm">Delete Journal (DLTJRN) command</a></div>
<div><a href="../cl/dltjrnrcv.htm">Delete Journal Receiver (DLTJRNRCV) command</a></div>
</div>
</div>
</body>
</html>