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

66 lines
4.5 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="concept" />
<meta name="DC.Title" content="Use SAVCHGOBJ to save journal receivers" />
<meta name="abstract" content="One technique for saving journal receivers is to use the Save Changed Object (SAVCHGOBJ) command. When you use the SAVCHGOBJ command to save journal receivers, ensure that you omit the attached journal receiver." />
<meta name="description" content="One technique for saving journal receivers is to use the Save Changed Object (SAVCHGOBJ) command. When you use the SAVCHGOBJ command to save journal receivers, ensure that you omit the attached journal receiver." />
<meta name="DC.Relation" scheme="URI" content="rzakisavjrnrcv.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/savchgobj.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiapyjrnchg.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="rzakisavchgobj" />
<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>Use SAVCHGOBJ to save journal receivers</title>
</head>
<body id="rzakisavchgobj"><a name="rzakisavchgobj"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use SAVCHGOBJ to save journal receivers</h1>
<div><p>One technique for saving journal receivers is to use the Save Changed
Object (SAVCHGOBJ) command. When you use the SAVCHGOBJ command to save journal
receivers, ensure that you omit the attached journal receiver.</p>
<p>In the following example, all your journal receivers are in a library called
RCVLIB. The currently attached journal receiver is MYJRCV0004.</p>
<pre>SAVCHGOBJ OBJ(*ALL) OMITOBJ(MYJRCV0004) LIB(RCVLIB) OBJTYPE(*JRNRCV)
DEV(media-device-name) ENDOPT(*LEAVE)</pre>
<p>This example saves all journal receivers that have any new entries since
the entire library was saved but omits the currently attached journal receiver
MYJRCV0004.</p>
<p>A possible disadvantage to using the SAVCHGOBJ command to save journal
receivers is that you can accidentally save the journal receivers that are
currently attached. Those journal receivers are saved as partial receivers.
If you need to do a recovery, you may need to handle the error condition that
occurs when you attempt to restore the partial receiver over the receiver
that is currently on the system and has not yet been saved. Also, partial
journal receivers make tasks such as displaying entries and performing apply
and remove journaled changes operations more difficult. Therefore you must
avoid saving attached journal receivers.</p>
<div class="note"><span class="notetitle">Note:</span> Read the Code example disclaimer for important legal information.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakisavjrnrcv.htm" title="You must save the journal receivers when they are no longer attached, so that you have all the journal entries saved.">Save journals and journal receivers</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakiapyjrnchg.htm" title="One of the primary advantages of journaling is its ability to return a journaled object to its current state since the last save.">Recover journaled objects</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/savchgobj.htm">Save Changed Objects (SAVCHGOBJ) command</a></div>
</div>
</div>
</body>
</html>