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

73 lines
3.9 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="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="Requirements" />
<meta name="abstract" content="Here are the principle requirements for join logical files." />
<meta name="description" content="Here are the principle requirements for join logical files." />
<meta name="DC.subject" content="join logical file, requirements" />
<meta name="keywords" content="join logical file, requirements" />
<meta name="DC.Relation" scheme="URI" content="rbafosrjlf.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="rbaforjlfr" />
<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>Requirements</title>
</head>
<body id="rbaforjlfr"><a name="rbaforjlfr"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Requirements</h1>
<div><p>Here are the principle requirements for join logical
files.</p>
<div class="p"><ul><li>Each join logical file must have: <ul><li>Only one record format, with the JFILE keyword specified for it.</li>
<li>At least two physical file names specified on the JFILE keyword. (The
physical file names on the JFILE keyword do not have to be different files.)</li>
<li>At least one join specification (J in position 17 with the JFLD keyword
specified).</li>
<li>A maximum of 255 secondary files.</li>
<li>At least one field name with field use other than N (neither) at the field
level.</li>
</ul>
</li>
<li>If only two physical files are specified for the JFILE keyword, the JOIN
keyword is not required. Only one join specification can be included, and
it joins the two physical files.</li>
<li>If more than two physical files are specified for the JFILE keyword, the
following rules apply: <ul><li>The primary file must be the first file of the pair of files specified
on the first JOIN keyword (the primary file can also be the first of the pair
of files specified on other JOIN keywords). <div class="note"><span class="notetitle">Note:</span> Relative file numbers must
be specified on the JOIN keyword and any JREF keyword when the same file name
is specified twice on the JFILE keyword.</div>
</li>
<li>Every secondary file must be specified only once as the second file of
the pair of files on the JOIN keyword. This means that for every secondary
file on the JFILE keyword, one join specification must be included (two secondary
files would mean two join specifications, three secondary files would mean
three join specifications).</li>
<li>The order in which secondary files appear in join specifications must
match the order in which they are specified on the JFILE keyword.</li>
</ul>
</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>
</body>
</html>