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

132 lines
7.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="reference" />
<meta name="DC.Title" content="Determine when an object was last saved" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu253.htm" />
<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="rzaiu264" />
<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 when an object was last saved</title>
</head>
<body id="rzaiu264"><a name="rzaiu264"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Determine when an object was last saved</h1>
<div><div class="section"><p>If a library contains an object, you can use the Display Object
Description (DSPOBJD) command to find out when the server saved the object.
If the QSYS library contains an object, you can use the DSPOBJD command to
display the appropriate data area that is shown in Data areas that contain
save history.</p>
<div class="p">You can also use the DSPOBJD command to obtain the save
history for document library objects (DLO) in libraries. Use the Display Document
Library Object Name (DSPDLONAM) command to find the system object name and
the ASP ID of the DLO. On the DSPOBJD command, specify the system object name
on the OBJ parameter. In the library name field, specify <samp class="codeph">QDOCxxxx</samp> where <samp class="codeph">xxxx</samp> is
the ASP ID. For example, for auxiliary storage pool (ASP) 2 the library name
would be <samp class="codeph">QDOC0002</samp>. <div class="note"><span class="notetitle">Note:</span> For ASP 1, the system ASP, the library
name is QDOC, not <samp class="codeph">QDOC0001</samp>.</div>
</div>
<div class="p">For objects that
you store in directories, you can use the output from the SAV command to maintain
save history information. To use the output, you must elect to keep the save
history information when you issue the SAV command. To keep the save history
information, specify either *PRINT or a stream file or user space path name
on the OUTPUT parameter of the SAV command. <div class="note"><span class="notetitle">Note:</span> The output from the SAV
command does not store the last saved data for objects in directories. See
Save changed objects in directories for instructions to save only changed
objects.</div>
</div>
<p>The following commands do not update the save history
information for the individual objects that the server saves: </p>
<ul><li>Save System (SAVSYS)</li>
<li>Save Security (SAVSECDTA)</li>
<li>Save Configuration (SAVCFG)</li>
<li>Save Save File Data (SAVSAVFDTA)</li>
<li>Save System Information (SAVSYSINF)</li>
</ul>
<p>For some save operations, the server updates history information in
a data area. In some cases, the server updates the data area instead of updating
the individual objects. In other cases, the server updates the data area in
addition to the individual objects. </p>
<p>Beginning with V5R1, when you install
the operating system, the server will update the data areas. However, the
data areas will appear as if you used RSTOBJ to restore them. The server does
not support the QSAVDLOALL data area.</p>
<p>The following table shows these
commands and the associated data areas:</p>
<div class="tablenoborder"><a name="rzaiu264__chginf"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rzaiu264__chginf" width="100%" frame="hsides" border="0" rules="none"><caption>Table 1. Data areas that contain save history</caption><thead align="left"><tr><th align="left" valign="bottom" width="30.185185185185187%" id="d0e64">Command</th>
<th align="left" valign="bottom" width="39.81481481481482%" id="d0e66">Associated Data Area</th>
<th align="left" valign="bottom" width="30%" id="d0e68">Individual Objects Updated?</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVCFG</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVCFG</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">No</td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVLIB *ALLUSR</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVALLUSR</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">Yes<sup>1</sup></td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVLIB *IBM</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVIBM</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">Yes<sup>1</sup></td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVLIB *NONSYS</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVLIBALL</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">Yes<sup>1</sup></td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVSECDTA</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVUSRPRF</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">No</td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVSTG</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVSTG</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">No</td>
</tr>
<tr><td align="left" valign="top" width="30.185185185185187%" headers="d0e64 ">SAVSYS</td>
<td align="left" valign="top" width="39.81481481481482%" headers="d0e66 ">QSAVSYS, QSAVUSRPRF, QSAVCFG</td>
<td align="left" valign="top" width="30%" headers="d0e68 ">No</td>
</tr>
<tr><td valign="top" width="30.185185185185187%" headers="d0e64 ">SAVSYSINF </td>
<td valign="top" width="39.81481481481482%" headers="d0e66 ">QSYSINF </td>
<td valign="top" width="30%" headers="d0e68 ">No</td>
</tr>
<tr><td colspan="3" align="left" valign="top" headers="d0e64 d0e66 d0e68 "> <dl><dt class="dlterm"><sup>1</sup></dt>
<dd>If you specify UPDHST(*NO), the server does not update the <em>Date last
saved</em> field in either the object or the data area.</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</div>
<p>The server uses the save history information when you save objects
that have changed since the last save operation. </p>
</div>
</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 class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiurzaiu125.htm">Save only changed objects</a></div>
</div>
</div>
</body>
</html>