ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforeorgcancel.htm

85 lines
5.4 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="Suspend or cancel a reorganize operation" />
<meta name="abstract" content="Sometimes you might need to suspend or cancel a reorganize operation." />
<meta name="description" content="Sometimes you might need to suspend or cancel a reorganize operation." />
<meta name="DC.Relation" scheme="URI" content="rbafomngprgz.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforsdlt.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbaforeorgcancel" />
<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>Suspend or cancel a reorganize operation</title>
</head>
<body id="rbaforeorgcancel"><a name="rbaforeorgcancel"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Suspend or cancel a reorganize operation</h1>
<div><p>Sometimes you might need to suspend or cancel a reorganize operation. </p>
<div class="p">If you specify that the reorganize operation cannot be canceled and one
of the following situations occur while the Reorganize Physical File Member
(RGZPFM) command is running, the records might not be reorganized at all: <ul><li>The system ends abnormally.</li>
<li>The job containing the RGZPFM command is ended with an *IMMED option.</li>
<li>The subsystem in which the RGZPFM command is running ends with an *IMMED
option.</li>
<li>The system stops with an *IMMED option.</li>
</ul>
</div>
<p>In addition, when the RGZPFM command is running, records associated with
large objects (LOBs) might not be reorganized and a deleted record might remain
in the file.</p>
<p>If you specify that the reorganize operation can be canceled and one of
the preceding situations occurs, or you cancel the reorganize operation, the
operation might be only partially completed. If you issue the same reorganize
operation later, the reorganize operation might continue from where it was
interrupted. However, if significant changes have occurred since the reorganize
operation was canceled, the reorganize operation will not be continued and
will start over.</p>
<p>The status of the member being
reorganized also depends on how much the system was able to do before the
reorganization is ended and what you have specified in the SRCOPT parameter.</p>
<div class="p">If the SRCOPT parameter was specified, any of the following statuses might
happen to the member: <ul><li>It is completely reorganized. A completion message is sent to your job
log indicating the reorganize operation is completely successful.</li>
<li>It is not reorganized at all, or only partially reorganized. A message
is sent to your job log indicating that the reorganize operation is not successful.
If this occurs, run the Reorganize Physical File Member (RGZPFM) command again.</li>
<li>It is reorganized, but only some of the sequence numbers are changed.
A completion message is sent to your job log indicating that the member is
reorganized, but all the sequence numbers are not changed. If this occurs,
issue the RGZPFM command again with KEYFILE(*NONE) specified.</li>
</ul>
</div>
<p>If the SRCOPT parameter was not specified, the member is either completely
reorganized or not reorganized at all. You can display the contents of the
file, using either the Display Physical File Member (DSPPFM) command or the
Quick View from iSeries™ Navigator,
to determine how much of the file, if any, has been reorganized, and run the
RGZPFM command again, if necessary.</p>
<p>To reduce the number of deleted records that exist in a physical file member,
you can create or change the file to reuse deleted record space. </p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafomngprgz.htm" title="These topics describe how to reorganize physical files on the i5/OS operating system, how to suspend or cancel reorganize operations and what type of reorganize operations you can choose. Considerations for reorganizing physical files are also included.">Reorganize a physical file</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbaforsdlt.htm" title="Sometimes you might want to reuse deleted records for your database files. In this case, you can use the REUSEDLT parameter.">Reuse deleted records</a></div>
</div>
</div>
</body>
</html>