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

77 lines
5.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="Dynamically join database files without DDS" />
<meta name="abstract" content="The dynamic join function allows you to join files without having to first specify data description specifications (DDS) and create a join logical file." />
<meta name="description" content="The dynamic join function allows you to join files without having to first specify data description specifications (DDS) and create a join logical file." />
<meta name="DC.subject" content="joining, database files without DDS, database file, joining without DDS, example, JORDER (Join Order) parameter, Join Order (JORDER) parameter, parameter, JORDER (Join Order)" />
<meta name="keywords" content="joining, database files without DDS, database file, joining without DDS, example, JORDER (Join Order) parameter, Join Order (JORDER) parameter, parameter, JORDER (Join Order)" />
<meta name="DC.Relation" scheme="URI" content="rbafodynrs.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodynjfex1.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodynjfex2.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodynjfex3.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoex11.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="rbafodynjf" />
<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>Dynamically join database files without DDS</title>
</head>
<body id="rbafodynjf"><a name="rbafodynjf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Dynamically join database files without DDS</h1>
<div><p>The dynamic join function allows you to join files without having
to first specify data description specifications (DDS) and create a join logical
file. </p>
<p>You must use the FORMAT parameter on the Open Query File (OPNQRYF) command
to specify the record format for the join. You can join any physical or logical
file including a join logical file and a view (DDS does not allow you to join
logical files). You can specify either a keyed or arrival sequence access
path. If keys are specified, they can be from any of the files included in
the join (DDS restricts keys to just the primary file).</p>
<p>In the following examples, it is assumed that the file specified on the
FORMAT parameter was created. You normally want to create the
file before you create the processing program so you can use the externally
described data definitions.</p>
<p>The default for the join order (JORDER) parameter is used in all of the
following examples. The default for the JORDER parameter is *ANY, which tells
the system that it can determine the order in which to join the files. That
is, the system determines which file to use as the primary file and which
as the secondary files. This allows the system to try to improve the performance
of the join function. </p>
<p>The join criterion, like the record selection criterion, is affected by
the sort sequence (SRTSEQ) and the language identifier (LANGID) specified.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafodynjfex1.htm">Example 1: Dynamically join database files without DDS</a></strong><br />
This example shows how to dynamically join database files without DDS.</li>
<li class="ulchildlink"><strong><a href="rbafodynjfex2.htm">Example 2: Dynamically join database files without DDS</a></strong><br />
This example shows how to read only those records with secondary file records when dynamically joining database files without DDS.</li>
<li class="ulchildlink"><strong><a href="rbafodynjfex3.htm">Example 3: Dynamically join database files without DDS</a></strong><br />
This example shows how to use mapped fields as join fields when dynamically joining database files without DDS.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafodynrs.htm" title="Dynamic record selection allows you to request a subset of the records in a file without using data description specifications (DDS).">Select records without using DDS</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbafoex11.htm" title="This example shows the use of sort sequence and language identifier when you run the Open Query File (OPNQRYF) command to select records.">Example 11: Select records using the Open Query File (OPNQRYF) command</a></div>
</div>
</div>
</body>
</html>