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

86 lines
5.2 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Save changed objects in directories" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu125.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu129.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu150.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="rzaiu153" />
<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>Save changed objects in directories</title>
</head>
<body id="rzaiu153"><a name="rzaiu153"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Save changed objects in directories</h1>
<div><p>You can use the change period (CHGPERIOD) parameter on the Save (SAV) command
to save objects that changed since a specified time, objects that last changed
during a specific time period, or objects that were changed since they were
last saved.</p>
<p>If you specify <samp class="codeph">CHGPERIOD(*LASTSAVE)</samp>, you get any object
that changed since <span class="uicontrol">any</span> save operation you performed
for that object with UPDHST(*YES) specified. If you use this method several
times during a week, the resulting media will look like <a href="rzaiurzaiu127.htm#rzaiu127__savchg1">Table 2</a>.</p>
<p>To perform a save operation that includes all objects that changed since
the last complete save of a directory (similar to what is shown in <a href="rzaiurzaiu127.htm#rzaiu127__savchg">Table 1</a>),
do one of the following: </p>
<ul><li>Specify a date and time for the CHGPERIOD parameter.</li>
<li>Specify UPDHST(*YES) for a complete save operation. Specify UPDHST(*NO)
and CHGPERIOD(*LASTSAVE) when you save changed objects.</li>
</ul>
<p>You can also use the SAV command to save objects that have <span class="uicontrol">not</span> changed
since a particular time by specifying <samp class="codeph">CHGPERIOD(*ALL *ALL date time)</samp>.
This might be useful to archive old information before you remove it.</p>
<p>The server keeps a record of when it last changed the object. It also records
whether it changed the object since the last save or not. The server does
not store data for when it last saved the object. </p>
<div class="p">Select option 8 on the Work With Object Links (WRKLNK) display to view
the attributes that describe whether an object in a directory changed since
you last saved it. <div class="note"><span class="notetitle">Note:</span> If you use the operating system of a
client workstation to save an object, the PC archive indicator will be set
to 'No'. Since file systems accessed through the network server do not distinguish
between save operations, the server archive indicator for those file systems
will always match the PC archive indicator. Therefore, changed objects in
the file systems accessed through the network server that have been saved
by a client workstation save operation will not be saved by a save operation
until they have been changed again.</div>
</div>
<p>The UPDHST parameter value controls updating of the server save history
and PC save history: </p>
<ul><li>*NO - The server does not update the save history. The PC archive attribute
and the server archive attribute do not change.</li>
<li>*YES - The server updates the save history. For file systems that you
access through the network server, the PC archive attribute is set to 'No'.
For other file systems, the server archive attribute is set to 'No'.</li>
<li>*SYS - The system updates the system save history. The server archive
attribute is set to 'No'.</li>
<li>*PC - The system updates the PC save history. The PC archive attribute
is set to 'No'.</li>
</ul>
</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="rzaiurzaiu129.htm">How the server updates changed object information with the SAVCHGOBJ command</a></div>
<div><a href="rzaiurzaiu150.htm">Using the Save (SAV) command</a></div>
</div>
</div>
</body>
</html>