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

116 lines
8.2 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="Recover a damaged journal" />
<meta name="abstract" content="If a journal becomes damaged, the system sends message CPF8135 to the system operator and to the job log." />
<meta name="description" content="If a journal becomes damaged, the system sends message CPF8135 to the system operator and to the job log." />
<meta name="DC.Relation" scheme="URI" content="rzakijrnrecovery.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirecvwithjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirecovjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirecvabnend.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiaddremj.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="rzakirecovjrndmg" />
<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>Recover a damaged journal</title>
</head>
<body id="rzakirecovjrndmg"><a name="rzakirecovjrndmg"><!-- --></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">Recover a damaged journal</h1>
<div><p>If a journal becomes damaged, the system sends message CPF8135
to the system operator and to the job log.</p>
<div class="section">You can use the Work with Journals (WRKJRN) command to recover a
damaged journal, or you can perform the following steps:</div>
<ol><li class="stepexpand"><span>End journaling for all access paths associated with the journal
by using the End Journal Access Path (ENDJRNAP) command.</span></li>
<li class="stepexpand"><span>End journaling for all physical files associated with the journal
by using the End Journal Physical File (ENDJRNPF) command.</span></li>
<li class="stepexpand"><span>End journaling for all integrated file system objects by using
the End Journal (ENDJRN) command.</span></li>
<li class="stepexpand"><span>End journaling for all other object types by using the End Journal
Object (ENDJRNOBJ) command.</span></li>
<li class="stepexpand"><span>Delete the damaged journal by using the Delete Journal (DLTJRN)
command.</span></li>
<li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />Create a journal receiver (CRTJRNRCV command) and create
a journal (CRTJRN command) with the same name and in the same library as the
damaged journal, or restore the journal from a previously saved version.<img src="./deltaend.gif" alt="End of change" /></span> <div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />If you have remote journals associated with this journal,
it is suggested that you restore a previously saved version of the journal
rather than creating the journal.<img src="./deltaend.gif" alt="End of change" /></div>
</li>
<li class="stepexpand"><span>Start journaling the physical files that were journaled by using
the Start Journal Physical File (STRJRNPF) command.</span></li>
<li class="stepexpand"><span>Start journaling the access paths that were journaled by using
the Start Journal Access Path (STRJRNAP) command.</span></li>
<li class="stepexpand"><span>Start journaling integrated file system objects with the Start
Journal (STRJRN) command.</span></li>
<li class="stepexpand"><span>Start journaling other new object types with the Start Journal
Object (STRJRNOBJ) command.</span> <div class="note"><span class="notetitle">Note:</span> You can also restore your journaling
environment by deleting and restoring all the objects that were being journaled.
Objects that were journaled at the time of their save automatically begin
journaling at restore time if the journal is online.</div>
</li>
<li class="stepexpand"><span>Save the journaled objects to allow for later recovery.</span></li>
<li class="stepexpand"><span>Associate the old journal receivers with the new journal. Do the
following:</span><ol type="a"><li><span>Type <samp class="codeph">WRKJRN</samp> and press the Enter key.</span></li>
<li><span>On the prompt display, enter the name of the journal.</span></li>
<li><span>From the Work with Journals display, select option 9 (Associate
receivers).</span></li>
<li><span>Press F12 to cancel the display.</span></li>
<li><span>Type <samp class="codeph">WRKJRNA JRN(<var class="varname">library-name</var>/<var class="varname">journal-name</var>)</samp> and
press the Enter key.</span></li>
<li><span>From the Work with Journal Attributes display, press F15 to
display the receiver directory.</span></li>
<li><span>A new panel now gets displayed after selecting option 9. This
new panel is called "Specify Journal Receivers". Fill in *ALL for journal
receiver name and put in the specific library name that the receivers are
located in. This is faster than searching the entire system looking at all
receivers. </span></li>
<li><span>After receivers are attached, then Press F12 to cancel out of
the "Work with Journals" display.</span></li>
</ol>
</li>
</ol>
<div class="section"><p>Each time a journal is restored, a new receiver chain is started
because the last journal receiver in the chain that existed prior to the restore
process did not have the newly created receivers as its next receivers.</p>
<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />If the damaged journal had any remote journals associated with
it and a previously saved version of the journal was not restored, use the
Add Remote Journal (QjoAddRemoteJournal) API or Add Remote Journal (ADDRMTJRN)
command to reassociate those remote journals. See the Add remote journals
link below for more information.<img src="./deltaend.gif" alt="End of change" /></div>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzakirecvwithjrn.htm">Associate receivers with journals</a></strong><br />
Use Option 9 on the Work with Journals display if the journal was restored or created again. The system associates all applicable receivers with the restored or recreated journal so that a restore of these receivers is not necessary.</li>
<li class="ulchildlink"><img src="./delta.gif" alt="Start of change" /><strong><a href="rzakirecovjrn.htm">Recover a damaged journal with the WRKJRN command</a></strong><img src="./deltaend.gif" alt="End of change" /><br />
The <span class="cmdname">Work with Journal (WRKJRN)</span> command can be
used to recover a damaged journal.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakijrnrecovery.htm" title="Provides tasks that show you how to use journaling to recover data on your iSeries server.">Recovery operations for journal management</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzakirecvabnend.htm" title="This topic describes the recovery actions that take place in the event of an abnormal system end.">Recovery for journal management after abnormal system end</a></div>
<div><a href="rzakiaddremj.htm" title="This topic provides instructions for adding a remote journal.">Add remote journals</a></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>