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

89 lines
4.7 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="How the server updates changed object information with the SAVCHGOBJ command" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu125.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu153.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="rzaiu129" />
<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>How the server updates changed object information with the SAVCHGOBJ
command</title>
</head>
<body id="rzaiu129"><a name="rzaiu129"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">How the server updates changed object information with the SAVCHGOBJ
command</h1>
<div><p>The changed object information kept by the server is a date and a timestamp.
When the server creates an object, the server places a timestamp in the changed
field. Any change to the object causes the server to update the date and timestamp.</p>
<p>Use the DSPOBJD command and specify DETAIL(*FULL) to display
the date and time of the last change for a specific object. Use the Display
File Description (DSPFD) command to display the last change date for a database
member.</p>
<p>To display the last change date for a document library object, do the following: </p>
<ol><li>Use the Display DLO Name (DSPDLONAM) command to display the system name
for the DLO and the ASP where it is located.</li>
<li>Use the DSPOBJD command, specifying the system name, the name of the document
library for the ASP (such as QDOC0002 for ASP 2), and DETAIL(*FULL).</li>
</ol>
<p>Some common operations that result in a change of the date and time are: </p>
<ul><li>Create commands</li>
<li>Change commands</li>
<li>Restore commands</li>
<li>Add and remove commands</li>
<li>Journal commands</li>
<li>Authority commands</li>
<li>Moving or duplicating an object</li>
</ul>
<p>These activities do not cause the server to update the change date and
time: </p>
<ul><li><em>Message queue</em>. When the server sends a message or when the server
receives a message.</li>
<li><em>Data queue</em>. When the server sends an entry or when the server receives
and entry.</li>
</ul>
<p>When you IPL, the server changes all of the job queues and output queues.</p>
<p><strong><em>Change Information for Database Files and Members:</em></strong> For database
files, the SAVCHGOBJ command saves the file description and any members that
changed.</p>
<p>Some operations change the change date and time of the file and all of
its members. Examples are the CHGOBJOWN, RNMOBJ, and MOVOBJ commands. If
you save a file with 5 or more members, the server updates the change date
for the library because it creates a recovery object in the library to improve
save performance.</p>
<p>Operations that affect only the content or attributes of a member change
only the date and time of the members. Examples are: </p>
<ul><li>Using the Clear Physical File Member (CLRPFM) command</li>
<li>Updating a member by using source entry utility (SEU)</li>
<li>Updating a member with a user program.</li>
</ul>
<p>The SAVCHGOBJ command can be useful for backing up typical source files.
Normally, a source file has many members, and only a small percentage of
members change every day.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu125.htm">Save only changed objects</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaiurzaiu153.htm">Save changed objects in directories</a></div>
</div>
</div>
</body>
</html>