146 lines
10 KiB
HTML
146 lines
10 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="Apply journaled changes with the WRKJRN command" />
|
||
|
<meta name="abstract" content="The Work with Journal (WRKJRN) command can be used to recover any journaled object. When you select option 2, you choose from a list of object types for recovery. Choose an object type to view the journaled objects of that type and the current status for each object." />
|
||
|
<meta name="description" content="The Work with Journal (WRKJRN) command can be used to recover any journaled object. When you select option 2, you choose from a list of object types for recovery. Choose an object type to view the journaled objects of that type and the current status for each object." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakiappyjrn.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakiwrkbkout.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="rzakiwrkfwrdrecov" />
|
||
|
<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>Apply journaled changes with the WRKJRN command</title>
|
||
|
</head>
|
||
|
<body id="rzakiwrkfwrdrecov"><a name="rzakiwrkfwrdrecov"><!-- --></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">Apply journaled changes with the WRKJRN command</h1>
|
||
|
<div><p>The <span class="cmdname">Work with Journal (WRKJRN)</span> command can be
|
||
|
used to recover any journaled object. When you select option 2, you choose
|
||
|
from a list of object types for recovery. Choose an object type to view the
|
||
|
journaled objects of that type and the current status for each object.</p>
|
||
|
<div class="section"><p>The status field for each object indicates the following:</p>
|
||
|
<ul><li>Not journaled</li>
|
||
|
<li>Different journal</li>
|
||
|
<li>Not found</li>
|
||
|
<li>Damaged</li>
|
||
|
<li>Not Synchronized</li>
|
||
|
<li>Restore complete</li>
|
||
|
<li>Recovered</li>
|
||
|
<li><img src="./delta.gif" alt="Start of change" />Deleted<img src="./deltaend.gif" alt="End of change" /></li>
|
||
|
<li><img src="./delta.gif" alt="Start of change" />Database files<img src="./deltaend.gif" alt="End of change" /></li>
|
||
|
</ul>
|
||
|
<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />The WRKJRN command support should be considered only
|
||
|
if you are applying changes for less than 300 objects.<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakiappyjrn.htm" title="If an object becomes damaged or is not usable you can recover the object using the Apply Journaled Changes (APYJRNCHG) or Apply Journaled Changes Extend (APYJRNCHGX) command. If you restore an object that was saved with partial transactions, then you must apply journaled changes to that object before it is usable.">Apply journaled changes</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzakiwrkbkout.htm" title="Remove journaled changes with the Work With Journal (WRKJRN) command by selecting Option 3 (Backout recovery).">Remove journaled changes with the WRKJRN command</a></div>
|
||
|
</div>
|
||
|
</div><div class="nested1" xml:lang="en-us" id="tasksecoverydisplay"><a name="tasksecoverydisplay"><!-- --></a><h2 class="topictitle2">Tasks with the Work With Forward Recovery display</h2>
|
||
|
<div><div class="section"><p>You can use the Work With Forward Recovery display to perform
|
||
|
the following tasks:</p>
|
||
|
<dl><dt class="dlterm">Add object to list</dt>
|
||
|
<dd><img src="./delta.gif" alt="Start of change" />To add an object to the list on the display, use Option 1 (Add
|
||
|
member to list). Do this if you want to restore those objects. This task is
|
||
|
not available for Integrated File System objects.<img src="./deltaend.gif" alt="End of change" /></dd>
|
||
|
<dt class="dlterm">Apply journaled changes</dt>
|
||
|
<dd><img src="./delta.gif" alt="Start of change" />To apply journaled changes to an object, use Option 2 (Apply
|
||
|
journaled changes). This option applies journaled changes and changes the
|
||
|
status to Recovered (if the apply operation was successful). If the apply
|
||
|
operation was not successful, messages appear indicating why and the last
|
||
|
successful status is displayed. If any required receivers are missing or damaged
|
||
|
while running the <span class="cmdname">APYJRNCHG</span> command, the system prompts
|
||
|
for the restore of the missing or damaged receivers.<p>If any of the objects
|
||
|
in the list have a status of Damaged, the system prompts you with the command
|
||
|
necessary to recover the object. For objects that are damaged, recovery involves
|
||
|
deleting the object, a restore of the last save of the object, followed by
|
||
|
the <span class="cmdname">Apply Journaled Changes (APYJRNCHG)</span> command. The system
|
||
|
guides you through the recovery of physical files as follows:</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />The
|
||
|
recovery is similar for data areas, data queues, and integrated file system
|
||
|
objects, except for the dependent logical files references. Also, the restore
|
||
|
command names are different for integrated file systems it is RST, but for
|
||
|
all others its RSTOBJ.<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<ol><li><span><img src="./delta.gif" alt="Start of change" />For physical files, the system identifies all the logical
|
||
|
files dependent on the specified damaged file. The Dependent Logical Files
|
||
|
display appears identifying these files.<img src="./deltaend.gif" alt="End of change" /></span></li>
|
||
|
<li><span>The dependent logical files are deleted.</span></li>
|
||
|
<li><span>The system deletes the files to be recovered (or restored).</span></li>
|
||
|
<li><span>The system displays prompts for the restore of files to be recovered.
|
||
|
After all restores are completed successfully, the files to be recovered are
|
||
|
allocated exclusively to prevent any other processing. This allocation is
|
||
|
maintained until the recovery procedures are complete.</span></li>
|
||
|
<li><span>The system displays prompts for the restores of the dependent logical
|
||
|
files.</span></li>
|
||
|
<li><span>An APYJRNCHG command is prompted.</span></li>
|
||
|
<li><span>If the APYJRNCHG command encounters a required journal receiver
|
||
|
that is not online, the system prompts for the restore of the required receiver
|
||
|
and again starts the APYJRNCHG command.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"><p>When the recovery process is complete, the status field for the
|
||
|
member indicates Recovered (if the operation was successful). If the operation
|
||
|
failed, the status field remains unchanged, and messages appear indicating
|
||
|
why the operation failed.</p>
|
||
|
<dl><dt class="dlterm"><img src="./delta.gif" alt="Start of change" />Restore objects<img src="./deltaend.gif" alt="End of change" /></dt>
|
||
|
<dd><img src="./delta.gif" alt="Start of change" />If you wish to restore any objects, use Option
|
||
|
3 (Restore). This is particularly useful for objects with a status of Not
|
||
|
Found. Objects that are restored successfully have a status of Restore Complete.
|
||
|
Objects that are not restored keep their old status. A message is sent indicating
|
||
|
that the restore did not complete successfully. All objects that are restored
|
||
|
are included in the list of objects to recover.<div class="note"><span class="notetitle">Note:</span> The last save information
|
||
|
is provided for the restore operation. If either of the following are true,
|
||
|
then you must use the RSTOBJ command instead of Option 3 (Restore): <ul><li>The device provided is tape, diskette, or optical and you choose to restore
|
||
|
from a save file (*SAVF).</li>
|
||
|
<li>The device provided is a save file (*SAVF) and you choose to restore from
|
||
|
tape, diskette, or optical media.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="p"><img src="./delta.gif" alt="Start of change" />If you choose option 3 to restore a damaged object,
|
||
|
the restore process involves deleting the object prior to prompting to restore
|
||
|
the object. The process is similar for all object types except there are extra
|
||
|
steps if restoring damaged physical files that have dependent logical files.
|
||
|
The system guides you through the restore process of damaged physical files
|
||
|
as follows: <ul><li>The system identifies all the logical files dependent on the specified
|
||
|
damaged physical file.</li>
|
||
|
<li>The Dependent Logical Files display appears identifying these logical
|
||
|
files.</li>
|
||
|
<li>The system deletes the files to be restored.</li>
|
||
|
<li>The system then prompts with a restore command for the physical files. </li>
|
||
|
<li>Once the physical files are restored, the system prompts with a restore
|
||
|
command to restore the logical files.</li>
|
||
|
</ul>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></dd>
|
||
|
<dt class="dlterm">Remove object from list</dt>
|
||
|
<dd><img src="./delta.gif" alt="Start of change" />To remove an object from the list, use Option 4 (Remove object
|
||
|
or member from list). Option 4 removes objects from the list of objects to
|
||
|
be recovered.<img src="./deltaend.gif" alt="End of change" /></dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<img src="./deltaend.gif" alt="End of change" /></body>
|
||
|
</html>
|