66 lines
4.4 KiB
HTML
66 lines
4.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="reference" />
|
|
<meta name="DC.Title" content="Unique-key processing" />
|
|
<meta name="abstract" content="Unique-key processing allows you to process only the first record of a group. The group is defined by one or more records with the same set of key values. Processing the first record implies that the records you receive will have unique keys." />
|
|
<meta name="description" content="Unique-key processing allows you to process only the first record of a group. The group is defined by one or more records with the same set of key values. Processing the first record implies that the records you receive will have unique keys." />
|
|
<meta name="DC.subject" content="Unique-key processing, processing, unique-key, example" />
|
|
<meta name="keywords" content="Unique-key processing, processing, unique-key, example" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafodynrs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoukpex1.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoukpex2.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoex3.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoex4.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="rbafoukp" />
|
|
<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>Unique-key processing</title>
|
|
</head>
|
|
<body id="rbafoukp"><a name="rbafoukp"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Unique-key processing</h1>
|
|
<div><p>Unique-key processing allows you to process only the first record
|
|
of a group. The group is defined by one or more records with the same set
|
|
of key values. Processing the first record implies that the records you receive
|
|
will have unique keys.</p>
|
|
<div class="section"><p>When you use unique-key processing, you can only read the file
|
|
sequentially. The key fields are sorted according to the specified sort sequence
|
|
(SRTSEQ) and language identifier (LANGID).</p>
|
|
<p>If you specify unique-key
|
|
processing, and the file actually has duplicate keys, you receive
|
|
only a single record for each group of records with the same key value.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbafoukpex1.htm">Example 1: Unique-key processing</a></strong><br />
|
|
This example shows how to read only unique-key records.</li>
|
|
<li class="ulchildlink"><strong><a href="rbafoukpex2.htm">Example 2: Unique-key processing</a></strong><br />
|
|
This example shows how to read records using only some of the key fields.</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="rbafoex3.htm" title="This example shows how to arrange records using a unique-weight sort sequence.">Example 3: Specify a keyed sequence access path without using DDS</a></div>
|
|
<div><a href="rbafoex4.htm" title="This example shows how to arrange records using a shared-weight sort sequence.">Example 4: Specify a keyed sequence access path without using DDS</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |