55 lines
3.7 KiB
HTML
55 lines
3.7 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="concept" />
|
|
<meta name="DC.Title" content="Details: Specify referential constraint rules—journaling requirements" />
|
|
<meta name="abstract" content="If you perform insert, update, or delete operations on a file that is associated with a referential constraint and the delete rule, update rule, or both are other than *RESTRICT, you must use journaling." />
|
|
<meta name="description" content="If you perform insert, update, or delete operations on a file that is associated with a referential constraint and the delete rule, update rule, or both are other than *RESTRICT, you must use journaling." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrck.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/strjrnpf.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="rbaforzahfrcn" />
|
|
<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: Specify referential constraint rules—journaling requirements</title>
|
|
</head>
|
|
<body id="rbaforzahfrcn"><a name="rbaforzahfrcn"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Details: Specify referential constraint rules—journaling requirements</h1>
|
|
<div><p>If you perform insert, update, or delete operations on a file that
|
|
is associated with a referential constraint and the delete rule, update rule,
|
|
or both are other than *RESTRICT, you must use journaling.</p>
|
|
<p>You must journal both the parent and the dependent files to the same journal.
|
|
In addition, you are responsible for starting the journaling for the parent
|
|
and dependent files.</p>
|
|
<p>You can start the journaling for the parent and dependent files with the
|
|
Start Journal Physical File (STRJRNPF) command.</p>
|
|
<p>If you are inserting, updating, or deleting records to a file associated
|
|
with a referential constraint that has a delete rule, update rule, or both
|
|
rules, other than *RESTRICT, commitment control is required. If you have not
|
|
started commitment control, the system starts and ends the commit cycle automatically
|
|
for you.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfrck.htm" title="Referential constraints allow you to specify rules that you want the system to enforce when you delete or update records.">Specify referential constraint rules</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../cl/strjrnpf.htm">Start Journal Physical File (STRJRNPF) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |