ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakb_5.4.0.1/rzakbmsttdaltse.htm

86 lines
5.2 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="reference" />
<meta name="DC.Title" content="ALTSEQ (Alternative Collating Sequence) keyword for physical and logical files" />
<meta name="abstract" content="Use this file-level keyword to direct the operating system to use an alternative collating sequence table when sequencing the records of a file member for retrieval, if you specified a key for this file." />
<meta name="description" content="Use this file-level keyword to direct the operating system to use an alternative collating sequence table when sequencing the records of a file member for retrieval, if you specified a key for this file." />
<meta name="DC.subject" content="ALTSEQ (Alternative Collating Sequence) keyword, Alternative Collating Sequence (ALTSEQ) keyword" />
<meta name="keywords" content="ALTSEQ (Alternative Collating Sequence) keyword, Alternative Collating Sequence (ALTSEQ) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfkeyw.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="tdaltse" />
<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>Physical and Logical Files, ALTSEQ</title>
</head>
<body id="tdaltse"><a name="tdaltse"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ALTSEQ (Alternative Collating Sequence) keyword for physical and logical
files</h1>
<div><p>Use this file-level keyword to direct the operating system to use
an alternative collating sequence table when sequencing the records of a file
member for retrieval, if you specified a key for this file.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>ALTSEQ([library-name/]table-name)</pre>
</div>
<p>The
name of the alternative collating sequence table is a required parameter value.
The library-name is optional. If you do not specify the library-name, the <span class="keyword">i5/OS™</span> operating system uses
the library list (*LIBL) at file creation time.</p>
<div class="p">The ALTSEQ keyword is
not valid under the following conditions: <ul><li>When you specify FILETYPE(*SRC) on the Create Physical File (CRTPF) or
Create Logical File (CRTLF) command.</li>
<li>When key fields have a data type of packed decimal, binary, or floating-point.</li>
<li>When key fields are specified with ABSVAL or SIGNED. For those fields,
NOALTSEQ (a key field-level keyword) is assumed and does not need to be specified.
You can specify NOALTSEQ for any field in a composite key that does not require
the alternative sequence.</li>
<li>When you specify a value other than *SRC on the SRTSEQ parameter on the
Create Physical File (CRTPF) or Create Logical File (CRTLF) command.</li>
</ul>
</div>
<p>The ALTSEQ keyword cannot be specified with the REFACCPTH keyword.</p>
<p>You
must have use authority to the alternative collating sequence table. The alternative
collating sequence table is created using the Create Table (CRTTBL) command.</p>
<p>ALTSEQ
causes zoned key fields to default to unsigned sequence. You can override
the default by specifying the SIGNED keyword for individual key fields.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the ALTSEQ keyword for a logical file.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A ALTSEQ(TABLELIB/TABLE1)
00020A R RECORD1 PFILE (PF1)
00030A :
00040A :
00050A :
00060A NAME 20
00070A :
00080A :
00090A K NAME
A</pre>
<p>Records with format RECORD1 are sequenced by key NAME
according to the alternative collating sequence table (TABLE1 in library TABLELIB).</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakbmstlfkeyw.htm" title="This topic lists valid keyword entries for describing physical and logical files. They are typed in positions 45 through 80 (functions).">Keyword entries for physical and logical files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>