ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforjlfjf.htm

61 lines
3.5 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="Join fields" />
<meta name="abstract" content="Here are the rules for join fields." />
<meta name="description" content="Here are the rules for join fields." />
<meta name="DC.subject" content="join field, rules to remember, field, join" />
<meta name="keywords" content="join field, rules to remember, field, join" />
<meta name="DC.Relation" scheme="URI" content="rbafosrjlf.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoappmax.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="rbaforjlfjf" />
<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>Join fields</title>
</head>
<body id="rbaforjlfjf"><a name="rbaforjlfjf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Join fields</h1>
<div><p>Here are the rules for join fields.</p>
<div class="p"><ul><li>Every physical file you join must be joined to another physical
file by at least one join field. A join field is a field specified as a parameter
value on the JFLD keyword in a join specification.</li>
<li>Join fields (specified on the JFLD keyword) must have identical attributes
(length, data type, and decimal positions) or be redefined in the record format
of the join logical file to have the same attributes. If the join fields are
of character type, the field lengths might be different.</li>
<li>Join fields need not be specified in the record format of the join logical
file (unless you must redefine one or both so that their attributes are identical).</li>
<li>If you redefine a join field, you can specify N in position 38 (making
it a neither field) to prevent a program using the join logical file from
using the redefined field.</li>
<li>The maximum length of fields used in joining physical files is equal to
the maximum size of keys for physical and logical files.</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafosrjlf.htm" title="This is a summary of rules for joining database files.">Summary of rules</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbafoappmax.htm" title="When designing files on the iSeries server, you should keep in mind the sizes for database files.">Database file sizes</a></div>
</div>
</div>
</body>
</html>