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

75 lines
5.7 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="concept" />
<meta name="DC.Title" content="Prevent errors when copying files" />
<meta name="abstract" content="You can prevent many copy errors when you plan for certain conditions and situations ahead of time." />
<meta name="description" content="You can prevent many copy errors when you plan for certain conditions and situations ahead of time." />
<meta name="DC.Relation" scheme="URI" content="rbal3performance.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3limrec.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3predt.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3prepos.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3preall.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3precop.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3precfil.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3coppen.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3precope.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3prtrecords.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3preerr" />
<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>Prevent errors when copying files</title>
</head>
<body id="rbal3preerr"><a name="rbal3preerr"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prevent errors when copying files</h1>
<div><p>You can prevent many copy errors when you plan for certain conditions
and situations ahead of time.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbal3limrec.htm">Limit recoverable errors during copy</a></strong><br />
When you copy to or from a database file or from a tape file, you can limit the number of recoverable errors that you accept before the copy ends. Use the ERRLVL parameter to specify this limit.</li>
<li class="ulchildlink"><strong><a href="rbal3predt.htm">Prevent date, time, and timestamp errors when copying files</a></strong><br />
For FMTOPT(*MAP), FROMKEY with *BLDKEY, TOKEY with *BLDKEY, and INCREL parameters, 2-digit year-date fields or values will be assumed to have a century of 19 if the year is in the range from 40 to 99, or a century of 20 if the year is in the range from 00 to 39.</li>
<li class="ulchildlink"><strong><a href="rbal3prepos.htm">Prevent position errors when copying files</a></strong><br />
When the copy file function cannot locate the first record to copy in the from-file member, a position error occurs.</li>
<li class="ulchildlink"><strong><a href="rbal3preall.htm">Prevent allocation errors when copying files</a></strong><br />
<span class="keyword">iSeries™</span> places locks
on the from-file and the to-file when you copy files. To prevent allocation
errors when copying files, you can place stronger locks on those files.</li>
<li class="ulchildlink"><strong><a href="rbal3precop.htm">Prevent copy errors that result from constraint relationships</a></strong><br />
A <dfn class="term">constraint relationship</dfn> is a mechanism to ensure
data integrity between a dependent file and a parent file. You need to pay
attention to the constraint relationship when copying files.</li>
<li class="ulchildlink"><strong><a href="rbal3precfil.htm">Copy files not in check-pending status</a></strong><br />
When the parent or dependent file has an established constraint relationship that is not in check-pending status, the rules described in this topic apply.</li>
<li class="ulchildlink"><strong><a href="rbal3coppen.htm">Copy files in check pending status</a></strong><br />
When the parent or dependent file has an established constraint relationship that is in check-pending status, the rules described in this topic apply.</li>
<li class="ulchildlink"><strong><a href="rbal3precope.htm">Prevent copy errors related to your authority to files</a></strong><br />
The table in this topic summarizes the authority that is required for the from-file and the to-file.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3performance.htm" title="There are some guidelines that you can follow to improve the performance of your copy operations.">Performance</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbal3prtrecords.htm" title="You can print a list of all records copied, all records excluded, or all records causing ERRLVL output errors. You do this by specifying PRINT special values on a copy command.">Print records (PRINT, OUTFMT, and TOFILE(*PRINT) parameters)</a></div>
</div>
</div>
</body>
</html>