77 lines
5.4 KiB
HTML
77 lines
5.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="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="Work with constraints that are in check pending status" />
|
|
<meta name="abstract" content="When you add a referential or check constraint, the system automatically checks all the records in the database file to ensure that they meet the constraint definition. If the constraint is not valid or if it cannot be verified, the system places it in check pending status." />
|
|
<meta name="description" content="When you add a referential or check constraint, the system automatically checks all the records in the database file to ensure that they meet the constraint definition. If the constraint is not valid or if it cannot be verified, the system places it in check pending status." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfcoh.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfcok.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfcol.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgpfcst.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/dspcpcst.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/edtcpcst.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="rbaforzahfcoj" />
|
|
<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>Work with constraints that are in check pending status</title>
|
|
</head>
|
|
<body id="rbaforzahfcoj"><a name="rbaforzahfcoj"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Work with constraints that are in check pending status</h1>
|
|
<div><p>When you add a referential or check constraint, the system automatically
|
|
checks all the records in the database file to ensure that they meet the constraint
|
|
definition. If the constraint is not valid or if it cannot be verified, the
|
|
system places it in check pending status.</p>
|
|
<div class="section"> <p>This check is also performed when the system is being restored.</p>
|
|
<p>To
|
|
work with the constraints that are in check pending status, follow these steps:</p>
|
|
</div>
|
|
<ol><li class="stepexpand"><span>Make the constraint inactive by running the Change Physical File
|
|
Constraint (CHGPFCST) command and specifying *DISABLED on the Constraint state
|
|
parameter.</span></li>
|
|
<li class="stepexpand"><span>Display the list of records that caused the constraint to be marked
|
|
as check pending by running the Display Check Pending Constraints (DSPCPCST)
|
|
command.</span> <div class="note"><span class="notetitle">Note:</span> The length of time that this command runs depends
|
|
on the number of records the file contains.</div>
|
|
</li>
|
|
<li class="stepexpand"><span>Schedule the verification of the constraints that are in check
|
|
pending status by running the Edit Check Pending Constraints (EDTCPCST) command. </span></li>
|
|
<li class="stepexpand"><span>Make the constraint active by running the CHGPFCST command again
|
|
and specify *ENABLED on the Constraint state parameter.</span></li>
|
|
</ol>
|
|
<div class="section"></div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbaforzahfcok.htm">Display records that put a constraint in check pending status</a></strong><br />
|
|
The Display Check Pending Constraint (DSPCPCST) command allows you to display the records that put a constraint in check pending status.</li>
|
|
<li class="ulchildlink"><strong><a href="rbaforzahfcol.htm">Process constraints that are in check pending status</a></strong><br />
|
|
Constraints that are created for large database files might take a great deal of time to be validated by the system. You can list the constraints that are in check pending and schedule them for verification as required.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfcoh.htm" title="The Work with Physical File Constraints (WRKPFCST) command allows you to display and work with a list of the constraints.">Work with a group of constraints</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../cl/chgpfcst.htm">Change Physical File Constraint (CHGPFCST) command</a></div>
|
|
<div><a href="../cl/dspcpcst.htm">Display Check Pending Constraint (DSPCPCST) command</a></div>
|
|
<div><a href="../cl/edtcpcst.htm">Edit Check Pending Constraint (EDTCPCST) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |