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

72 lines
4.4 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="concept" />
<meta name="DC.Title" content="Reorganize a physical file using the Reorganize Physical File Member (RGZPFM) command" />
<meta name="abstract" content="This topic outlines the uses of the Reorganize Physical File Member (RGZPFM) command." />
<meta name="description" content="This topic outlines the uses of the Reorganize Physical File Member (RGZPFM) command." />
<meta name="DC.Relation" scheme="URI" content="rbafomngprgz.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforrgpfe.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rgzpfm.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforrgpfu.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="rbaforrgpf" />
<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>Reorganize a physical file using the Reorganize Physical File Member
(RGZPFM) command</title>
</head>
<body id="rbaforrgpf"><a name="rbaforrgpf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Reorganize a physical file using the Reorganize Physical File Member
(RGZPFM) command</h1>
<div><p>This topic outlines the uses of the Reorganize Physical File Member
(RGZPFM) command.</p>
<div class="p">You can use the RGZPFM command to: <ul><li>Remove deleted records to make the space occupied by them available.</li>
<li>Reorganize the records of a file in the order in which you normally access
them sequentially, thereby minimizing the time required to retrieve records.
This is done using the KEYFILE parameter. This might be advantageous for files
that are primarily accessed in an order other than arrival sequence. A member
can be reorganized using either of the following key fields: <ul><li>Key fields of the physical file</li>
<li>Key fields of a logical file based on the physical file</li>
</ul>
</li>
<li>Reorganize a source file member, insert new source sequence numbers, and
reset the source date fields (using the SRCOPT and SRCSEQ parameters on the
RGZPFM command).</li>
<li>If you specify that the reorganize operation cannot be canceled,
reclaim space in the variable portion of the file that was previously used
by variable-length fields in the physical file format and that has become
fragmented.</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbaforrgpfe.htm">Example: Reorganize a physical file</a></strong><br />
The examples in this topic show how to reorganize physical files with the Reorganize Physical File Member (RGZPFM) command.</li>
</ul>
<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="relref"><strong>Related reference</strong><br />
<div><a href="../cl/rgzpfm.htm">Reorganize Physical File Member (RGZPFM) command</a></div>
<div><a href="rbaforrgpfu.htm" title="Here is a list of considerations for reorganizing a file.">Usage notes: Reorganize a file</a></div>
</div>
</div>
</body>
</html>