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

62 lines
4.2 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="Prevent copy errors that result from constraint relationships" />
<meta name="abstract" content="A constraint relationship 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." />
<meta name="description" content="A constraint relationship 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." />
<meta name="DC.Relation" scheme="URI" content="rbal3preerr.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3precfil.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3coppen.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3precop" />
<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 copy errors that result from constraint relationships</title>
</head>
<body id="rbal3precop"><a name="rbal3precop"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prevent copy errors that result from constraint relationships</h1>
<div><p>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.</p>
<p>A constraint relationship exists between a dependent file and a parent
file when every non-null foreign key value in the foreign key access path
of the dependent file matches a parent key value in the parent key access
path of the parent file. A physical data file can be a parent or dependent
file. However, a source physical file cannot be a parent or a dependent file.</p>
<div class="p">The copy commands listed below allow the following relationships: <ul><li><a href="../cl/cpyf.htm">CPYF</a> -
from-file or to-file can be a parent or dependent file</li>
<li><a href="../cl/cpyfrmqryf.htm">CPYFRMQRYF</a> -
to-file can be a parent or dependent file</li>
<li><a href="../cl/cpyfrmtap.htm">CPYFRMTAP</a> -
to-file can be a parent or dependent file</li>
<li><a href="../cl/cpytotap.htm">CPYTOTAP</a> -
from-file can be a parent or dependent file</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3preerr.htm" title="You can prevent many copy errors when you plan for certain conditions and situations ahead of time.">Prevent errors when copying files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbal3precfil.htm" title="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.">Copy files not in check-pending status</a></div>
<div><a href="rbal3coppen.htm" title="When the parent or dependent file has an established constraint relationship that is in check-pending status, the rules described in this topic apply.">Copy files in check pending status</a></div>
</div>
</div>
</body>
</html>