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

84 lines
4.7 KiB
HTML
Raw 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="task" />
<meta name="DC.Title" content="Example: Reduce save-outage time for two libraries" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu344.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="rzaiu345" />
<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>Example: Reduce save-outage time for two libraries</title>
</head>
<body id="rzaiu345"><a name="rzaiu345"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Reduce save-outage time for two libraries</h1>
<div><div class="section"> <p>This example makes use of two libraries, LIB1 and LIB2. Both
libraries contain objects that you will save on a daily basis. Your current
save strategy ends jobs that make changes to the objects in the two libraries
for the entire time that the you are saving the libraries.</p>
<p>For this
example, objects of any type can exist in the two libraries. The objects that
exist in the two libraries may or may not be journaled.</p>
<p>The several
hour save-outage time can be greatly reduced by the following steps: </p>
</div>
<ol><li class="stepexpand"><span>End all application jobs that are making updates to the objects
in libraries LIB1 and LIB2.</span></li>
<li class="stepexpand"><span></span> Submit the following command as an individual batch
job:
<pre>SAVLIB LIB(LIB1 LIB2) DEV(TAP01) SAVACT(*SYNCLIB) +
SAVACTMSGQ(QSYSOPR) +
ACCPTH(*YES)</pre>
<div class="note"><span class="notetitle">Note:</span> You could also use the SAVOBJ or SAVCHGOBJ commands depending on your
specific needs.</div>
<p>The objects in library LIB1 and LIB2 reach a checkpoint together, as specified
by SAVACT(*SYNCLIB), and the server saves the libraries to TAP01. The server
sends the message indicating that checkpoint processing is complete to QSYSOPR.</p>
<p>You are also saving access paths for the logical files, as specified by
ACCPTH(*YES). If you specify this, the access paths, in most cases, will not
need to be built after restoring the files from this save media.</p>
<p>A single save command saves the libraries to provide a consistent checkpoint.
This is also faster than saving both libraries to the same storage device
with separate commands. Using two save commands to two separate media devices
allows the server to perform the checkpoint processing for the libraries concurrently.
It may also allow the server to perform checkpoint processing faster than
saving both libraries with a single save command.</p>
</li>
<li class="stepexpand"><span>After checkpoint processing is complete, the message queue QSYSOPR
receives the message CPI3712. If checkpoint processing does not complete for
the objects, message queue receives the message CPI3711 and the save operation
ends.</span></li>
<li class="stepexpand"><span>After receiving CPI3712 message, start the application jobs that
make updates to the objects in the two libraries.</span></li>
</ol>
<div class="section"> <p>The objects exist on the media as they were at the time the application
jobs were ended, prior to the save command being run. However, the save-while-active
function greatly reduces the amount of time that the applications are not
available.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu344.htm" title="Use the save-while-active function to reduce your save-outage time. This is the easiest way to use the save-while-active function.">Reduce your save-outage time</a></div>
</div>
</div>
</body>
</html>