69 lines
3.8 KiB
HTML
69 lines
3.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="task" />
|
||
|
<meta name="DC.Title" content="Example: Reduce save-outage time for a directory" />
|
||
|
<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="ifsreduce" />
|
||
|
<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 a directory</title>
|
||
|
</head>
|
||
|
<body id="ifsreduce"><a name="ifsreduce"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Example: Reduce save-outage time for a directory</h1>
|
||
|
<div><div class="section"> <p>This example uses a directory, MyDirectory. The directory contains
|
||
|
objects that you will save on a daily basis. Your current save strategy ends
|
||
|
jobs that make changes to the objects in the directory for the entire time
|
||
|
that the you are saving the directory.</p>
|
||
|
<p>The objects that exist in the
|
||
|
directory 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 MyDirectory.</span></li>
|
||
|
<li class="stepexpand"><span></span> Submit the following command as an individual batch
|
||
|
job: <pre>SAV DEV('/QSYS.LIB/TAP01.DEVD') +
|
||
|
OBJ('/MyDirectory') SAVACT(*SYNC) +
|
||
|
SAVACTMSGQ(QSYS.LIB/LIB1.LIB/MSGQ1.MSGQ)
|
||
|
</pre>
|
||
|
<p>The objects in directory MyDirectory reach a checkpoint
|
||
|
together, as specified by SAVACT(*SYNC). The server saves the objects TAP01.
|
||
|
The server sends the message indicating that checkpoint processing is complete
|
||
|
to MSGQ1</p>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>After checkpoint processing is complete, the message queue receives
|
||
|
the message CPI3712. If checkpoint processing does not complete for the objects,
|
||
|
message queue receives the message CPI3722 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 directory.</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. 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>
|