82 lines
4.8 KiB
HTML
82 lines
4.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="concept" />
|
|
<meta name="DC.Title" content="Determine objects that are not saved" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu253.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="rzaiu263" />
|
|
<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>Determine objects that are not saved</title>
|
|
</head>
|
|
<body id="rzaiu263"><a name="rzaiu263"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Determine objects that are not saved</h1>
|
|
<div><p>Determining the objects that are not saved is just as important as determining
|
|
the objects that the server saved. The server may not save an object for two
|
|
basic reasons: </p>
|
|
<ul><li>The object is not in your save plan. For example, you save libraries individually.
|
|
You add a new application with new libraries, but forget to update your save
|
|
procedures.</li>
|
|
<li>The object is in your save plan, but the server did not successfully save
|
|
it. The server may not save an object for any of the following reasons: <ul><li>It is in use. If you use the save-while-active function, the server waits
|
|
a certain amount of time to obtain a lock on the object. If you do not use
|
|
the save-while-active function, the server does not wait.</li>
|
|
<li>The server marked the object as damaged.</li>
|
|
<li>You do not have the necessary authority to the object.</li>
|
|
</ul>
|
|
<p>When the server cannot save an object, the server skips that object
|
|
and writes an entry to the job log. Verifying the job logs that the server
|
|
creates by your save procedures is very important. If you have very large
|
|
save operations, you may want to develop a program that copies the job log
|
|
to a file and analyzes it.</p>
|
|
<p>You can specify OUTPUT(*OUTFILE) INFTYPE(*ERR)
|
|
on the SAVLIB, SAVOBJ, and SAVCHGOBJ commands. This creates an output file
|
|
that only contains entries for those objects that the server did not save.
|
|
Refer to the on-line command help for more information about the specific
|
|
command.</p>
|
|
</li>
|
|
</ul>
|
|
<p>Periodically verify your backup strategy by the following methods:</p>
|
|
<ul><li>Review when the server saves objects.</li>
|
|
<li>Determine when the server saved the changes that were made to these objects.</li>
|
|
</ul>
|
|
<p>Use the information in the object description to determine when the server
|
|
last saved the object. Base your method for doing this according to your save
|
|
strategy. If you save entire libraries, you can verify the save date for every
|
|
library on the server. If you save individual objects, you need to verify
|
|
the save date for objects in all user libraries.</p>
|
|
<p>To verify save dates for libraries, you can do the following:</p>
|
|
<ol><li>Create an output file that has information about all the libraries by
|
|
typing: <pre>DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*LIB) +
|
|
OUTPUT(*OUTFILE) +
|
|
OUTFILE(<span class="synph"><span class="var">library-name</span></span>/<span class="synph"><span class="var">file-name</span></span>)</pre>
|
|
</li>
|
|
<li>Use a query tool or a program to analyze the output file. The field ODSDAT
|
|
contains the date that the object was last saved. You can sequence your report
|
|
by this field or compare this field to some date in the past.</li>
|
|
</ol>
|
|
<p>You can use a similar technique to check when the server last saved objects
|
|
in a specific library.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu253.htm" title="Verify what the server saved explains techniques to audit your save strategy. You will learn which objects the server saved, which objects the server did not save, and when the server last saved an object.">Verify what the server saved</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |