142 lines
9.8 KiB
HTML
142 lines
9.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="task" />
|
||
|
<meta name="DC.Title" content="Recover a damaged journal with the WRKJRN command" />
|
||
|
<meta name="abstract" content="The Work with Journal (WRKJRN) command can be used to recover a damaged journal." />
|
||
|
<meta name="description" content="The Work with Journal (WRKJRN) command can be used to recover a damaged journal." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakirecovjrndmg.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/wrkjrn.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/dspjrn.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/apyjrnchg.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/apyjrnchgx.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/rmvjrnchg.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../apis/QJOADDRJ.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/addrmtjrn.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="rzakirecovjrn" />
|
||
|
<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 with the WRKJRN command</title>
|
||
|
</head>
|
||
|
<body id="rzakirecovjrn"><a name="rzakirecovjrn"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Recover a damaged journal with the WRKJRN command</h1>
|
||
|
<div><p>The <span class="cmdname">Work with Journal (WRKJRN)</span> command can be
|
||
|
used to recover a damaged journal.</p>
|
||
|
<div class="section"><p><img src="./delta.gif" alt="Start of change" />The WRKJRN command associates the receivers with the
|
||
|
recovered journals without you having to delete and restore the receivers. <img src="./deltaend.gif" alt="End of change" /></p>
|
||
|
<p>Option
|
||
|
6 on the Work with Journals display verifies that the journal is damaged before
|
||
|
proceeding with recovery. If the journal is not damaged, an informational
|
||
|
message appears.</p>
|
||
|
<p>For a description of the Work with Journals display,
|
||
|
see the WRKJRN command in the online command help. To view the help, type
|
||
|
WRKJRN on a command line, and press F1.</p>
|
||
|
<p>Recovery for a damaged journal
|
||
|
guides you through the following steps:</p>
|
||
|
</div>
|
||
|
<ol><li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />The system attempts to determine which objects are currently
|
||
|
being journaled to the indicated journal. If the system cannot successfully
|
||
|
build this list, a message appears before the recovery operation begins. For
|
||
|
each object type whose journaling is being ended, a status message is sent
|
||
|
indicating how many objects have ended.<img src="./deltaend.gif" alt="End of change" /></span></li>
|
||
|
<li class="stepexpand"><span>Journaling is ended for all access paths that are currently being
|
||
|
journaled to the specified journal.</span></li>
|
||
|
<li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />Journaling is ended for all database files that are
|
||
|
currently being journaled to the specified journal. Journaling is ended for
|
||
|
all objects.<img src="./deltaend.gif" alt="End of change" /></span></li>
|
||
|
<li class="stepexpand"><span>The system deletes the journal.</span></li>
|
||
|
<li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />The system presents the Recover Damaged Journal display,
|
||
|
which asks you whether to restore or create the journal and what state to
|
||
|
create the journal. The state is *ACTIVE or *STANDBY. If you have remote journals
|
||
|
associated with your damaged journal it is suggested that you take the option
|
||
|
to restore a previously saved version of the journal.<img src="./deltaend.gif" alt="End of change" /></span><ol type="a"><li><span>If the journal will be restored, the system prompts for the
|
||
|
values that are needed for the restore operation.</span></li>
|
||
|
<li><span><img src="./delta.gif" alt="Start of change" />If the journal will be created, the system prompts
|
||
|
for the receiver name and attributes with the CRTJRNRCV command prompt. The
|
||
|
system prompts for values needed to create the journal with the CRTJRN command
|
||
|
prompt, with known values that are shown.<img src="./deltaend.gif" alt="End of change" /></span></li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />Journaling is restarted for all objects for which it
|
||
|
was previously ended. The screen displays after each object type has been
|
||
|
restarted. If there were no objects for a specific type, then that step is
|
||
|
skipped. A status message is sent periodically while journaling is being started
|
||
|
to update you on how many objects have started journaling.<img src="./deltaend.gif" alt="End of change" /></span></li>
|
||
|
<li class="stepexpand"><span><img src="./delta.gif" alt="Start of change" />The system now displays the Specify Journal
|
||
|
Receivers screen. There are new input lines so you can enter specific receivers,
|
||
|
generic receivers or *ALL. On the display you can enter a specific receiver,
|
||
|
a generic name for journal receivers, or *ALL. Additionally, a library name
|
||
|
can be specified to limit the search for receivers to only a specific library
|
||
|
when finding receivers to associate with the newly created journal. Limiting
|
||
|
the search to only certain receivers can significantly speed up the reassociation
|
||
|
processing.<img src="./deltaend.gif" alt="End of change" /></span> <p> A journal receiver is associated with a journal
|
||
|
if the journal receiver appears in the journal receiver directory. A receiver
|
||
|
that was previously attached to a journal, but is not currently associated
|
||
|
with a journal, cannot be used with the journal commands such as <span class="cmdname">Display
|
||
|
Journal (DSPJRN)</span>, <span class="cmdname">Apply Journaled Changes (APYJRNCHG)</span>, <span class="cmdname">Apply
|
||
|
Journaled Changes Extend (APYJRNCHGX)</span>, and <span class="cmdname">Remove Journaled
|
||
|
Changes (RMVJRNCHG)</span>.</p>
|
||
|
</li>
|
||
|
</ol>
|
||
|
<div class="section"><p>As the recovery of a damaged journal proceeds, the Display Journal
|
||
|
Recovery Status display appears. The information about this display is updated
|
||
|
as the operation progresses to indicate which steps have been completed, which
|
||
|
steps have been bypassed, and which step will be run next. Whenever a user
|
||
|
action is required, the status display is replaced by the appropriate prompt
|
||
|
display.</p>
|
||
|
<p>The status field indicates the following operation status:</p>
|
||
|
<ul><li>Pending. The step has not been started.</li>
|
||
|
<li>Next. The step will be performed next (after the Enter key is pressed).</li>
|
||
|
<li>Bypassed. The step was not performed. (It was not necessary).</li>
|
||
|
<li>Complete. The step has been performed.</li>
|
||
|
<li>Error. The step has been performed, but errors were encountered.</li>
|
||
|
</ul>
|
||
|
<p>The first display you usually see after the first status display is
|
||
|
the Recover Damaged Journal display. Use this display to choose whether the
|
||
|
journal is to be created or restored.</p>
|
||
|
<p><img src="./delta.gif" alt="Start of change" />When the last step
|
||
|
of the recovery process is complete, a message appears indicating that all
|
||
|
objects for which journaling was started must be saved to establish a new
|
||
|
recovery point.<img src="./deltaend.gif" alt="End of change" /></p>
|
||
|
<p><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 <span class="apiname">Add Remote Journal (QjoAddRemoteJournal)</span> API or <span class="cmdname">Add
|
||
|
Remote Journal (ADDRMTJRN)</span> command to reassociate those remote journals.
|
||
|
See Add remote journals for information about adding remote journals.<img src="./deltaend.gif" alt="End of change" /></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakirecovjrndmg.htm" title="If a journal becomes damaged, the system sends message CPF8135 to the system operator and to the job log.">Recover a damaged journal</a></div>
|
||
|
</div>
|
||
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="rzakiaddremj.htm" title="This topic provides instructions for adding a remote journal.">Add remote journals</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="../cl/wrkjrn.htm">Work with Journal (WRKJRN) command</a></div>
|
||
|
<div><a href="../cl/dspjrn.htm">Display Journal (DSPJRN) command</a></div>
|
||
|
<div><a href="../cl/apyjrnchg.htm">Apply Journaled Changes (APYJRNCHG) command</a></div>
|
||
|
<div><a href="../cl/apyjrnchgx.htm">Apply Journaled Changes Extend (APYJRNCHGX) command</a></div>
|
||
|
<div><a href="../cl/rmvjrnchg.htm">Remove Journaled Changes (RMVJRNCHG) command</a></div>
|
||
|
<div><a href="../apis/QJOADDRJ.htm">Add Remote Journal (QjoAddRemoteJournal) API</a></div>
|
||
|
<div><a href="../cl/addrmtjrn.htm">Add Remote Journal (ADDRMTJRN) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|