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

51 lines
3.1 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="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="task" />
<meta name="DC.Title" content="Tips to improve the performance of the CPYFRMIMPF command" />
<meta name="DC.Relation" scheme="URI" content="rbal3usingcpyfrm.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3cpyfrmtips" />
<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>Tips to improve the performance of the CPYFRMIMPF command</title>
</head>
<body id="rbal3cpyfrmtips"><a name="rbal3cpyfrmtips"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Tips to improve the performance of the CPYFRMIMPF command</h1>
<div><div class="section"> <p>Follow these steps to improve the performance of the <a href="../cl/cpyfrmimpf.htm">CPYFRMIMPF </a>command:</p>
</div>
<ol><li class="stepexpand"><span>Delete any logical keyed files based on the TOFILE.</span></li>
<li class="stepexpand"><span>Remove all constraints and triggers of the TOFILE.</span></li>
<li class="stepexpand"><span>Ensure the FROMFILE records will be copied correctly by attempting
to copy a few of the records. Copy a few of the records using the FROMRCD
and number of records option.</span></li>
<li class="stepexpand"><span>Use the ERRLVL(*NOMAX) parameter after you know you can copy the
data correctly.</span></li>
<li class="stepexpand"><span>When the ERRLVL(*NOMAX) parameter is used, record blocking increases
performance.</span> If an error in writing a record occurs during record
blocking, the number of records listed as being copied in the completion message,
CPC2955, might not be accurate.</li>
</ol>
<div class="section"></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3usingcpyfrm.htm" title="The Copy From Import File (CPYFRMIMPF) command maps or parses the data from (&#34;import&#34;) an import file to the to-file.">Use the Copy From Import File (CPYFRMIMPF) command to copy between different servers</a></div>
</div>
</div>
</body>
</html>