ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiu_5.4.0.1/rzaiurzaiu127.htm

140 lines
8.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="reference" />
<meta name="DC.Title" content="Additional considerations for SAVCHGOBJ" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu125.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="rzaiu127" />
<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>Additional considerations for SAVCHGOBJ</title>
</head>
<body id="rzaiu127"><a name="rzaiu127"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Additional considerations for SAVCHGOBJ</h1>
<div><div class="section"><p>If you need to save changed objects as part of your save strategy,
you must ensure that any partial save activity that occurs between your full
save operations does not affect what you save with the SAVCHGOBJ command.
If users occasionally save individual objects, you may want them to specify
UPDHST(*NO). That prevents their save activity from having an impact on the
overall SAVCHGOBJ strategy.</p>
</div>
<div class="section"> <div class="note"><span class="notetitle">Note:</span> The most common way to use the SAVCHGOBJ command is to specify
REFDATE(*SAVLIB). If you have a new library that has never been saved, it
is not saved when you specify SAVCHGOBJ REFDATE(*SAVLIB).</div>
</div>
<div class="section"><h4 class="sectiontitle">Using SAVCHGOBJExample:</h4><p> In a typical environment,
you might use the SAVLIB command once a week and the SAVCHGOBJ command every
day. Because the default for SAVCHGOBJ is from the last SAVLIB operation,
the media that the SAVCHGOBJ command produces tends to grow during the week.</p>
</div>
<div class="section"><p>What follows shows an example of using SAVCHGOBJ
during a typical week. Assume that you save the entire library on Sunday
night and the SAVCHGOBJ command is used each evening during the week:</p>
</div>
<div class="tablenoborder"><a name="rzaiu127__savchg"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rzaiu127__savchg" width="100%" frame="hsides" border="0" rules="none"><caption>Table 1. SAVCHGOBJ Command:
Cumulative</caption><thead align="left"><tr><th align="left" valign="bottom" width="20.13888888888889%" id="d0e34">Day</th>
<th align="left" valign="bottom" width="29.86111111111111%" id="d0e36">Files That Changed That Day</th>
<th align="left" valign="bottom" width="50%" id="d0e38">Media Contents</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e34 ">Monday</td>
<td align="left" valign="top" width="29.86111111111111%" headers="d0e36 ">FILEA, FILED</td>
<td align="left" valign="top" width="50%" headers="d0e38 ">FILEA, FILED</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e34 ">Tuesday</td>
<td align="left" valign="top" width="29.86111111111111%" headers="d0e36 ">FILEC</td>
<td align="left" valign="top" width="50%" headers="d0e38 ">FILEA, FILEC, FILED</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e34 ">Wednesday</td>
<td align="left" valign="top" width="29.86111111111111%" headers="d0e36 ">FILEA, FILEF</td>
<td align="left" valign="top" width="50%" headers="d0e38 ">FILEA, FILEC, FILED, FILEF</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e34 ">Thursday</td>
<td align="left" valign="top" width="29.86111111111111%" headers="d0e36 ">FILEF</td>
<td align="left" valign="top" width="50%" headers="d0e38 ">FILEA, FILEC, FILED, FILEF</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e34 ">Friday</td>
<td align="left" valign="top" width="29.86111111111111%" headers="d0e36 ">FILEB</td>
<td align="left" valign="top" width="50%" headers="d0e38 ">FILEA, FILEB, FILEC, FILED, FILEF</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>If a failure occurred on Thursday morning, you would: </p>
</div>
<div class="section"> <ol><li>Restore the library from Sunday evening.</li>
<li>Restore all the objects from Wednesday's SAVCHGOBJ media volumes.</li>
</ol>
</div>
<div class="section"><p>When you use this technique of saving everything that changed
since the last SAVLIB, recovery is easier. You need to restore only the media
volumes from the most recent SAVCHGOBJ operation.</p>
</div>
<div class="section"><p><strong><em>Changing the reference date and time:</em></strong> The default
for the command is to save objects that have changed since the library was
last saved using the SAVLIB command. You can specify a different reference
date and time by using the reference date (REFDATE) and reference time (REFTIME)
parameters on the SAVCHGOBJ command. This allows you to save only objects
that have changed since the last SAVCHGOBJ operation. </p>
</div>
<div class="section"><p>This may reduce the amount of media and the time for the save
operation. Here is an example:</p>
</div>
<div class="tablenoborder"><a name="rzaiu127__savchg1"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rzaiu127__savchg1" width="100%" frame="hsides" border="0" rules="none"><caption>Table 2. SAVCHGOBJ CommandNot
Cumulative</caption><thead align="left"><tr><th align="left" valign="bottom" width="20.13888888888889%" id="d0e107">Day</th>
<th align="left" valign="bottom" width="29.745370370370374%" id="d0e109">Files That Changed That Day</th>
<th align="left" valign="bottom" width="50.11574074074075%" id="d0e111">Media Contents</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e107 ">Monday</td>
<td align="left" valign="top" width="29.745370370370374%" headers="d0e109 ">FILEA, FILED</td>
<td align="left" valign="top" width="50.11574074074075%" headers="d0e111 ">FILEA, FILED</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e107 ">Tuesday</td>
<td align="left" valign="top" width="29.745370370370374%" headers="d0e109 ">FILEC</td>
<td align="left" valign="top" width="50.11574074074075%" headers="d0e111 ">FILEC</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e107 ">Wednesday</td>
<td align="left" valign="top" width="29.745370370370374%" headers="d0e109 ">FILEA, FILEF</td>
<td align="left" valign="top" width="50.11574074074075%" headers="d0e111 ">FILEA, FILEF</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e107 ">Thursday</td>
<td align="left" valign="top" width="29.745370370370374%" headers="d0e109 ">FILEF</td>
<td align="left" valign="top" width="50.11574074074075%" headers="d0e111 ">FILEF</td>
</tr>
<tr><td align="left" valign="top" width="20.13888888888889%" headers="d0e107 ">Friday</td>
<td align="left" valign="top" width="29.745370370370374%" headers="d0e109 ">FILEB</td>
<td align="left" valign="top" width="50.11574074074075%" headers="d0e111 ">FILEB</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>You can restore the SAVCHGOBJ media from earliest to latest.
Or you can display each media volume and restore only the latest version of
each object.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu125.htm">Save only changed objects</a></div>
</div>
</div>
</body>
</html>