ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3details.htm

63 lines
4.4 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="Details of the COMPRESS(*NO) parameter and the CPYF command" />
<meta name="abstract" content="The COMPRESS(*NO) parameter allows the system to copy more quickly because records are transferred in blocks, but this is not always true. Typically, the COMPRESS(*NO) function does not significantly affect performance." />
<meta name="description" content="The COMPRESS(*NO) parameter allows the system to copy more quickly because records are transferred in blocks, but this is not always true. Typically, the COMPRESS(*NO) function does not significantly affect performance." />
<meta name="DC.Relation" scheme="URI" content="rbal3copydelrec.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3details" />
<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>Details of the COMPRESS(*NO) parameter and the CPYF command</title>
</head>
<body id="rbal3details"><a name="rbal3details"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Details of the COMPRESS(*NO) parameter and the CPYF command</h1>
<div><p>The COMPRESS(*NO) parameter allows the system to copy more quickly
because records are transferred in blocks, but this is <em>not always</em> true.
Typically, the COMPRESS(*NO) function does not significantly affect performance.</p>
<div class="p"><img src="./delta.gif" alt="Start of change" />Before you specify the COMPRESS(*NO) parameter, be aware
that when you use the COMPRESS(*NO) parameter, the system takes the following
actions:<ul><li>Before the records are copied, the system invalidates any key access paths
that use the to-file member.</li>
<li>After the copy operation is complete, the system rebuilds
the access paths.</li>
</ul>
The runtime and resource that are required to rebuild the keyed access
paths might outweigh the performance benefit that is gained by copying deleted
records.<img src="./deltaend.gif" alt="End of change" /></div>
<p>If you do not specify the COMPRESS(*NO) parameter, the system might still
use the internal functions to perform the copy, but the choice of how the
copy is performed is based on the number of records in the from-file and to-file
members before the copy, and the number of keyed access paths over the to-file
member.</p>
<p>If you specify the MBROPT(*REPLACE) parameter, all keyed access paths over
the to-file member must be invalidated and rebuilt, so specifying COMPRESS(*NO)
does not cause any additional overhead for rebuilding access paths.</p>
<p>If the from-file is a keyed physical file and neither a FROMRCD nor TORCD
relative record number value is specified on the copy commands to force the
file to be processed in arrival sequence, COMPRESS(*NO) has no meaning because
a keyed access path never contains any deleted records.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3copydelrec.htm" title="You might want to copy deleted records to preserve the relative record numbers of records that are copied from the from-file. You can copy both deleted and undeleted records from one physical file member to another by specifying the COMPRESS(*NO) parameter on a copy command.">Copy deleted records (COMPRESS parameter)</a></div>
</div>
</div>
</body>
</html>