15698 lines
432 KiB
HTML
15698 lines
432 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>Retrieve Database File Description (QDBRTVFD) API</title>
|
|
<!-- Begin Header Records ========================================== -->
|
|
<!-- 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. -->
|
|
<!-- File SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
|
|
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
|
|
<!-- Change history: -->
|
|
<!-- 021030 45HJAV: Update 32 to 256 for based on files -->
|
|
<!-- 030616 45HKRS: Return qddfflgs in field header. -->
|
|
<!-- 030703 45HKRS: Shorten SQPT field name to 32 char max. -->
|
|
<!-- 030728 45HKRS: Fix value comments for rowid and id fields. -->
|
|
<!-- 031205 45HBAC: Instead of Triggers -->
|
|
<!--File Edited March 2001 -->
|
|
<!-- This file has undergone html cleanup July 2002 by JET -->
|
|
<!--End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<a name="Top_Of_Page"></a>
|
|
<!-- Java sync-link -->
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
|
|
</script>
|
|
|
|
<h2>Retrieve Database File Description (QDBRTVFD) API</h2>
|
|
|
|
<div class="box" style="width: 80%;">
|
|
<br>
|
|
Required Parameter Group:<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
<table width="100%">
|
|
<tr>
|
|
<td align="center" valign="top" width="10%">1</td>
|
|
<td align="left" valign="top" width="50%">Receiver variable</td>
|
|
<td align="left" valign="top" width="20%">Output</td>
|
|
<td align="left" valign="top" width="20%">Char(*)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">Length of receiver variable</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Binary(4)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">Qualified returned file name</td>
|
|
<td align="left" valign="top">Output</td>
|
|
<td align="left" valign="top">Char(20)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">Format name</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(8)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">Qualified file name</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(20)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">Record format name</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(10)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">Override processing</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(1)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="left" valign="top">System</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(10)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="left" valign="top">Format type</td>
|
|
<td align="left" valign="top">Input</td>
|
|
<td align="left" valign="top">Char(10)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="left" valign="top">Error Code</td>
|
|
<td align="left" valign="top">I/O</td>
|
|
<td align="left" valign="top">Char(*)</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
Default Public Authority: *USE<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Threadsafe: Conditional; see <a href="#usage_notes">Usage Notes</a>.<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
</div>
|
|
|
|
<p>The Retrieve Database File Description (QDBRTVFD) API allows you to get
|
|
complete and specific information about a file on a local or remote system. The
|
|
information is returned to a receiver variable in either a file definition
|
|
template or a format definition mapping. The file definition template provides
|
|
more complete information about a database file than the Display File
|
|
Description (DSPFD) command. The format definition provides complete
|
|
information on the record formats of the file.</p>
|
|
|
|
<p>The format definition is used with the Query (QQQQRY) API to get data from a
|
|
file. You can run the QDBRTVFD API to build a format definition that is later
|
|
used to run a query. This format definition can be used several times to
|
|
extract information from a database, making the Query API run faster. If the
|
|
format definition is not created prior to running a query, the QQQQRY API must
|
|
create one when it runs.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Authorities and Locks</h3>
|
|
|
|
<dl>
|
|
<dt><em>Library Authority</em></dt>
|
|
|
|
<dd>*EXECUTE</dd>
|
|
|
|
<dt><em>File Authority</em></dt>
|
|
|
|
<dd>*OBJOPR</dd>
|
|
|
|
<dt><em>File Lock</em></dt>
|
|
|
|
<dd>*SHRNUP</dd>
|
|
</dl>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Required Parameter Group</h3>
|
|
|
|
<dl>
|
|
<dt><strong>Receiver variable</strong></dt>
|
|
|
|
<dd>OUTPUT; CHAR(*)
|
|
|
|
<p>The receiver variable that is to receive the information requested. You can
|
|
specify the size of the area smaller than the format requested as long as you
|
|
specify the length of receiver variable parameter correctly. As a result, the
|
|
API returns only the data the area can hold.</p>
|
|
</dd>
|
|
|
|
<dt><strong>Length of receiver variable</strong></dt>
|
|
|
|
<dd>INPUT; BINARY(4)
|
|
|
|
<p>The length of the receiver variable provided. The length of receiver
|
|
variable parameter may be specified up to the size of the receiver variable
|
|
specified in the user program. If the length of receiver variable parameter
|
|
specified is larger than the allocated size of the receiver variable specified
|
|
in the user program, the results are not predictable. The minimum length is 8
|
|
bytes.</p>
|
|
</dd>
|
|
|
|
<dt><strong>Qualified returned file name</strong></dt>
|
|
|
|
<dd>OUTPUT; CHAR(20)
|
|
|
|
<p>The actual qualified file name from which the file description has been
|
|
extracted. If an override is active this file and library name may be different
|
|
from the one entered with the API.</p>
|
|
</dd>
|
|
|
|
<dt><strong>Format name</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(8)
|
|
|
|
<p>The content and format of the information to be returned about the specified
|
|
file, member, or format. You can use the following format names:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0100</em></td>
|
|
<td align="left" valign="top">File definition template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0200</em></td>
|
|
<td align="left" valign="top">Format definition template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0300</em></td>
|
|
<td align="left" valign="top">Key field information template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0400</em></td>
|
|
<td align="left" valign="top">Trigger information template</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p>See <a href="#HDRFGIR">Format of Generated Information</a> for a description
|
|
of these formats.</p>
|
|
</dd>
|
|
|
|
<dt><strong>Qualified file name</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(20)
|
|
|
|
<p>The name of the file about which the information is to be extracted and the
|
|
library in which it is located. The first 10 characters contain the file name,
|
|
and the second 10 characters contain the library name.</p>
|
|
|
|
<p>You can use the following special values for the library name:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>*CURLIB</em></td>
|
|
<td align="left" valign="top">The job's current library</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>*LIBL</em></td>
|
|
<td align="left" valign="top">The library list</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</dd>
|
|
|
|
<dt><strong>Record format name</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(10)
|
|
|
|
<p>The name of the record format in the specified file that is to be used to
|
|
generate the file description. (This parameter is used only with format
|
|
FILD0200.)</p>
|
|
|
|
<p>You can use the following special value for the record format name</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="10 90" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>*FIRST</em></td>
|
|
<td align="left" valign="top">The first record format found</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</dd>
|
|
|
|
<dt><strong>Override processing</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(1)
|
|
|
|
<p>Whether overrides are to be processed. The following values are used:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="5 95" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>0</em></td>
|
|
<td align="left" valign="top">No override processing</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>1</em></td>
|
|
<td align="left" valign="top">Override processing</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</dd>
|
|
|
|
<dt><strong>System</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(10)
|
|
|
|
<p>Whether the information that is returned is about a file on either a local
|
|
or remote system, or both. The possible values are:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>*LCL</em></td>
|
|
<td align="left" valign="top">The information returned is about local files
|
|
only.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>*RMT</em></td>
|
|
<td align="left" valign="top">The information returned is about remote files
|
|
only.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>*FILETYPE</em></td>
|
|
<td align="left" valign="top">The information returned is about files on both
|
|
the local and remote systems. For DDM files, the information returned is about
|
|
the remote file that was named on the RMTFILE parameter of the Create DDM File
|
|
(CRTDDMF) command.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</dd>
|
|
|
|
<dt><strong>Format type</strong></dt>
|
|
|
|
<dd>INPUT; CHAR(10)
|
|
|
|
<p>Whether the logical formats returned are internal or external. (This
|
|
parameter is used only with format FILD0200.) A description and examples of the
|
|
internal (*INT) and external (*EXT) formats follow:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>*EXT</em></td>
|
|
<td align="left" valign="top">The formats returned are external. If the
|
|
specified file is a logical file, the format returns data for the logical
|
|
fields defined in the logical record format. If the specified file is a
|
|
physical file, the internal and external field names are the same.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>*INT</em></td>
|
|
<td align="left" valign="top">The formats returned are internal. If the
|
|
specified file is a logical file, the format returns data for the fields on
|
|
which the logical fields are based. If the specified file is a physical file,
|
|
the internal and external field names are the same.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p>The following are DDS, *EXT, and *INT format type examples: For a logical
|
|
file definition of <strong>(1)</strong> that is based on a physical file
|
|
definition of <strong>(2)</strong>, a format type of *EXT would return <strong>
|
|
(3)</strong> and a format type of *INT would return <strong>(4)</strong>.</p>
|
|
|
|
<div class="box" style="width: 70%;">
|
|
<br>
|
|
<p> Format Type Example DDS</p>
|
|
|
|
<p> Logical file definition <strong>(1)</strong>:</p>
|
|
|
|
<table width="100%">
|
|
<!-- cols="5 10 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"> R</td>
|
|
<td align="left" valign="top">CONCAT1</td>
|
|
<td align="left" valign="top">PFILE(PF1)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">LFLD1</td>
|
|
<td align="left" valign="top">RENAME(FLD1)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">FLD2</td>
|
|
<td align="left" valign="top"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">CATFLD</td>
|
|
<td align="left" valign="top">CONCAT(FLD1 FLD2 FLD3)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> K</td>
|
|
<td align="left" valign="top">CATFLD</td>
|
|
<td align="left" valign="top"> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p> Physical file definition <strong>(2)</strong>:</p>
|
|
|
|
<table width="100%">
|
|
<!-- cols="5 10 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">FLD1</td>
|
|
<td align="left" valign="top">5A</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">FLD2</td>
|
|
<td align="left" valign="top">10A</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">FLD3</td>
|
|
<td align="left" valign="top">5A</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> K</td>
|
|
<td align="left" valign="top">FLD1</td>
|
|
<td align="left" valign="top"> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</div>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<div class="box" style="width: 70%;">
|
|
<br>
|
|
Format Type *EXT Example<br>
|
|
<strong>(3)</strong><br>
|
|
<table width="100%"><br>
|
|
<!-- cols="25 75" -->
|
|
<tr>
|
|
<td align="left" valign="top"> Record format name</td>
|
|
<td align="left" valign="top">CONCAT1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Record length</td>
|
|
<td align="left" valign="top">35</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Number of fields</td>
|
|
<td align="left" valign="top">3</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 1</td>
|
|
<td align="left" valign="top">FLD1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 1</td>
|
|
<td align="left" valign="top">LFLD1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 1</td>
|
|
<td align="left" valign="top">5</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 2</td>
|
|
<td align="left" valign="top">FLD2</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 2</td>
|
|
<td align="left" valign="top">FLD2</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 2</td>
|
|
<td align="left" valign="top">10</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 3</td>
|
|
<td align="left" valign="top">FLD1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 3</td>
|
|
<td align="left" valign="top">CATFLD</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 3</td>
|
|
<td align="left" valign="top">20</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</div>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<div class="box" style="width: 70%;">
|
|
<br>
|
|
Format Type *INT Example<br>
|
|
<strong>(4)</strong><br>
|
|
<table width="100%">
|
|
<!-- cols="25 75" -->
|
|
<tr>
|
|
<td align="left" valign="top"> Record format name</td>
|
|
<td align="left" valign="top">CONCAT1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Record length</td>
|
|
<td align="left" valign="top">35</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Number of fields</td>
|
|
<td align="left" valign="top">5</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 1</td>
|
|
<td align="left" valign="top">FLD1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 1</td>
|
|
<td align="left" valign="top">LFLD1<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 1</td>
|
|
<td align="left" valign="top">5<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 2</td>
|
|
<td align="left" valign="top">FLD2<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 2</td>
|
|
<td align="left" valign="top">FLD2<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 2</td>
|
|
<td align="left" valign="top">10<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 3</td>
|
|
<td align="left" valign="top">FLD1<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 3</td>
|
|
<td align="left" valign="top">CATFLD<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 3</td>
|
|
<td align="left" valign="top">5<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 4</td>
|
|
<td align="left" valign="top">FLD2<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 4</td>
|
|
<td align="left" valign="top">CATFLD<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 4</td>
|
|
<td align="left" valign="top">10<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Internal
|
|
field name 5</td>
|
|
<td align="left" valign="top">FLD3<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> External
|
|
field name 5</td>
|
|
<td align="left" valign="top">CATFLD<br>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"> Length of
|
|
field 5</td>
|
|
<td align="left" valign="top">5<br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
</div>
|
|
|
|
<br>
|
|
</dd>
|
|
|
|
<dt><strong>Error code</strong></dt>
|
|
|
|
<dd>I/O; CHAR(*)
|
|
|
|
<p>The structure in which to return error information. For the format of the
|
|
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<br>
|
|
|
|
|
|
<h3><a name="HDRFGIR">Format of Generated Information</a></h3>
|
|
|
|
<p>The QDBRTVFD API can be used to provide information in the following
|
|
formats:</p>
|
|
|
|
<table cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0100</em></td>
|
|
<td align="left" valign="top">File definition template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0200</em></td>
|
|
<td align="left" valign="top">Format definition template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0300</em></td>
|
|
<td align="left" valign="top">Key field information template</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top"><em>FILD0400</em></td>
|
|
<td align="left" valign="top">Trigger information template</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p>The following sections provide an overview of each of these formats. If an
|
|
offset equals zero in the returned information, there is no corresponding
|
|
structure associated with it.</p>
|
|
|
|
<p>The asterisk (*) in the <em>Field</em> column represents a reserved field.
|
|
No variable is associated with these reserved fields.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRTFLD1">FILD0100 Format (File Definition Template (FDT)
|
|
header)</a></h4>
|
|
|
|
<p>FILD0100 provides detailed information about how the file is built. <a href=
|
|
"#FIGFDT">FILD0100 Format</a> shows how this information is organized. When
|
|
more than one entry can appear, the figure indicates this as in <strong>
|
|
(5)</strong>.</p>
|
|
|
|
<p>Descriptions of the fields in this structure follow <a href="#FIGFDT">
|
|
FILD0100 Format</a>. The include source is supplied on the system, in source
|
|
file H, member name QDBRTVFD, in the QSYSINC library. The field names in the
|
|
following tables apply only to the ILE C include. Refer to
|
|
<a href="../apiref/conQSYSINC.htm">Include files and the QSYSINC Library</a> for the names of
|
|
the OPM and ILE RPG and COBOL includes.</p>
|
|
|
|
<p><strong><a name="FIGFDT">FILD0100 Format</a></strong></p>
|
|
<p></p>
|
|
<p><img src="RBAFX501.gif" alt="FILD0100 Format"></p>
|
|
<p></p>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBFH">File Definition Header (Qdb_Qdbfh)</a></h4>
|
|
|
|
<p><a name="SPTQDBFHX"><em>Qdb_Qdbfh</em></a> is the first structure and is
|
|
located at offset zero of the returned data.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"> </td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfyret</td>
|
|
<td align="left" valign="top" width="58%">Length of the data returned in bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfyavl</td>
|
|
<td align="left" valign="top">Number of bytes provided for the file definition
|
|
data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BIT(16)</td>
|
|
<td align="left" valign="top">Qdbfhflg</td>
|
|
<td align="left" valign="top">Attributes bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_1</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhfpl</td>
|
|
<td align="left" valign="top">Type of file. If on, the file is a logical
|
|
database file. If off, a physical database file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_2</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhfsu</td>
|
|
<td align="left" valign="top">File type (FILETYPE). If on, the file is a source
|
|
file (*SRC). If off, a data file (*DATA).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_3</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhfky</td>
|
|
<td align="left" valign="top">Access path. If on, the file has a keyed sequence
|
|
access path. If off, an arrival sequence access path.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_4</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhflc</td>
|
|
<td align="left" valign="top">Record format level check (LVLCHK). If on, the
|
|
record format level identifiers are checked when the file is opened (*YES) if
|
|
off, they are not checked when the file is opened (*NO).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkfso</td>
|
|
<td align="left" valign="top">Select/omit. If on, the file is a select/omit
|
|
logical file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(4)</td>
|
|
<td align="left" valign="top">Reserved_5</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfigcd</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) or Graphic data.
|
|
If on, the file's record format(s) contains DBCS or Graphic data fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfigcl</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) or Graphic
|
|
literals. If on, the file's record format(s) contains DBCS or Graphic
|
|
literals.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_7</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top"><a name="SPTFLBNUM">Qdbflbnum</a></td>
|
|
<td align="left" valign="top">Number of data members. 0 indicates an externally
|
|
described physical file or a program described physical file that is not linked
|
|
to a data dictionary. 1 through 32 indicates the number of data dictionary
|
|
record formats for a program described physical file that is linked to a data
|
|
dictionary or the number of based-on physical records for a logical file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qdbfkdat</td>
|
|
<td align="left" valign="top">Keyed sequence access path description. If this
|
|
file has an arrival sequence access path, these fields are not applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfknum</td>
|
|
<td align="left" valign="top">Number of key fields for the file. 1 through
|
|
120.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfkmxl</td>
|
|
<td align="left" valign="top">Maximum key length for the file. 1 through
|
|
2000.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfkflg</td>
|
|
<td align="left" valign="top">Keyed sequence access path attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_8</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkfcs</td>
|
|
<td align="left" valign="top">Alternate collating sequence (ALTSEQ). If on, an
|
|
alternate collating sequence table is specified for the file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(4)</td>
|
|
<td align="left" valign="top">Reserved_9</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkfrc</td>
|
|
<td align="left" valign="top">Force keyed access path (FRCACCPTH). If on, the
|
|
access path and changed records are forced to auxiliary storage when the access
|
|
path is changed (*YES).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkflt</td>
|
|
<td align="left" valign="top">Floating point key indicator. If on, the access
|
|
path for the file contains floating point keys.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfkfdm</td>
|
|
<td align="left" valign="top">Access path maintenance (MAINT).
|
|
|
|
<dl compact>
|
|
<dt><em>I</em></dt>
|
|
|
|
<dd>Immediate maintenance (*IMMED)</dd>
|
|
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>Delayed maintenance (*DLY)</dd>
|
|
|
|
<dt><em>R</em></dt>
|
|
|
|
<dd>Rebuild maintenance (*REBLD)</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Reserved_10</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfhaut</td>
|
|
<td align="left" valign="top">Public authority (AUT).
|
|
|
|
<dl compact>
|
|
<dt><em>*CHANGE</em></dt>
|
|
|
|
<dd>Public change authority</dd>
|
|
|
|
<dt><em>*ALL</em></dt>
|
|
|
|
<dd>Public all authority</dd>
|
|
|
|
<dt><em>*USE</em></dt>
|
|
|
|
<dd>Public use authority</dd>
|
|
|
|
<dt><em>*EXCLUDE</em></dt>
|
|
|
|
<dd>Public exclude authority</dd>
|
|
|
|
<dt><em>authorization-list-name</em></dt>
|
|
|
|
<dd>The name of the authorization list whose authority is used for the file.
|
|
This is the original public authority that the file was created with, not the
|
|
current public authority for the file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfhupl</td>
|
|
<td align="left" valign="top">Preferred storage unit (UNIT).
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The storage space and its members can be allocated on the available
|
|
auxiliary storage unit (*ANY).</dd>
|
|
|
|
<dt><em>X'01' through X'FF'</em></dt>
|
|
|
|
<dd>The unit identifier of an auxiliary storage unit on the system.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">41</td>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfhmxm</td>
|
|
<td align="left" valign="top">Maximum members (MAXMBRS).
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>No maximum is specified; 32,767 is used (*NOMAX).</dd>
|
|
|
|
<dt><em>1 through 32,767</em></dt>
|
|
|
|
<dd>The maximum number of members the file can have.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">2B</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfwtfi</td>
|
|
<td align="left" valign="top">Maximum file wait time (WAITFILE).
|
|
|
|
<dl compact>
|
|
<dt><em>-1</em></dt>
|
|
|
|
<dd>The default wait time specified in the class description is used
|
|
(*CLS).</dd>
|
|
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The program does not wait for the file; an immediate allocation is required
|
|
(*IMMED).</dd>
|
|
|
|
<dt><em>1 through 32,767</em></dt>
|
|
|
|
<dd>The number of seconds a program waits for the file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">45</td>
|
|
<td align="center" valign="top">2D</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfhfrt</td>
|
|
<td align="left" valign="top">Records to force a write (FRCRATIO).
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>There is force write ratio.</dd>
|
|
|
|
<dt><em>1 through 32,767</em></dt>
|
|
|
|
<dd>The number of inserted, updated, or deleted records that are explicitly
|
|
forced to storage.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">47</td>
|
|
<td align="center" valign="top">2F</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfhmnum</td>
|
|
<td align="left" valign="top">Number of members, 0 through 32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><img src="delta.gif" alt="Start of Change">49</td>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfapsize</td>
|
|
<td align="left" valign="top">Access path page size; -1 is not valid because access path is a 4 gigabyte access path; 0 is system determines page size from the key length of the access path; 8K,16K,32K,64K,128K,256K,512K bytes.<img src="deltaend.gif" alt="End of Change"></td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">51</td>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(7)</td>
|
|
<td align="left" valign="top">Reserved_11</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">58</td>
|
|
<td align="center" valign="top">3A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfbrwt</td>
|
|
<td align="left" valign="top">Maximum record wait time (WAITRCD).
|
|
|
|
<dl compact>
|
|
<dt><em>-2</em></dt>
|
|
|
|
<dd>The default wait time allowed by the system is used (*NOMAX).</dd>
|
|
|
|
<dt><em>-1</em></dt>
|
|
|
|
<dd>The program does not wait for the record, an immediate allocation is
|
|
required (*IMMED).</dd>
|
|
|
|
<dt><em>1 through 32,767</em></dt>
|
|
|
|
<dd>The number of seconds a program waits for the record.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qaaf</td>
|
|
<td align="left" valign="top">Additional attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(7)</td>
|
|
<td align="left" valign="top">Reserved_12</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfpgmd</td>
|
|
<td align="left" valign="top">Program described file indicator. If on, the file
|
|
is program described.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbffmtnum</td>
|
|
<td align="left" valign="top">Total number of record formats, 1 through
|
|
32.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfhfl2</td>
|
|
<td align="left" valign="top">Additional attribute flags</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjnap</td>
|
|
<td align="left" valign="top">Access path journaled.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_13</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(4)</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">File capability/operation flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfrdcp</td>
|
|
<td align="left" valign="top">Allow read operation. If on, records are not
|
|
allowed to be read from the file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfwtcp</td>
|
|
<td align="left" valign="top">Allow write operation. If on, records are not
|
|
allowed to be written to the file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfupcp</td>
|
|
<td align="left" valign="top">Allow update operation (ALWUPD). If on, records
|
|
are not allowed to be updated in the file (*NO).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfdlcp</td>
|
|
<td align="left" valign="top">Allow delete operation (ALWDLT). If on, records
|
|
are not allowed to be deleted from the file (*NO).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(9)</td>
|
|
<td align="left" valign="top">Reserved_14</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkfnd</td>
|
|
<td align="left" valign="top">Null values cause duplicates indicator (UNIQUE).
|
|
Only valid if Qdbfpact is equal to 'KU'. If on, null values do not cause
|
|
duplicate keys in the file access path(s) (*EXCNULL).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">65</td>
|
|
<td align="center" valign="top">41</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfvrm</td>
|
|
<td align="left" valign="top">First supported version release modification
|
|
level. New database support is used in the file that will prevent it from being
|
|
saved and restored to a prior version, release, and modification level.
|
|
|
|
<dl compact>
|
|
<dt><em>X'0000'</em></dt>
|
|
|
|
<dd>Pre-Version 2 Release 1 Modification 0 file.</dd>
|
|
|
|
<dt><em>X'1500'</em></dt>
|
|
|
|
<dd>Version 2 Release 1 Modification 0 V2R1M0 file.</dd>
|
|
|
|
<dt><em>X'1501'</em></dt>
|
|
|
|
<dd>Version 2 Release 1 Modification 1 V2R1M1 file.</dd>
|
|
|
|
<dt><em>X'1600'</em></dt>
|
|
|
|
<dd>Version 2 Release 2 Modification 0 V2R2M0 file.</dd>
|
|
|
|
<dt><em>X'1700'</em></dt>
|
|
|
|
<dd>Version 2 Release 3 Modification 0 V2R3M0 file.</dd>
|
|
|
|
<dt><em>X'1F00'</em></dt>
|
|
|
|
<dd>Version 3 Release 1 Modification 0 V3R1M0 file.</dd>
|
|
|
|
<dt><em>X'2000'</em></dt>
|
|
|
|
<dd>Version 3 Release 2 Modification 0 V3R2M0 file.</dd>
|
|
|
|
<dt><em>X'2400'</em></dt>
|
|
|
|
<dd>Version 3 Release 6 Modification 0 V3R6M0 file.</dd>
|
|
|
|
<dt><em>X'2500'</em></dt>
|
|
|
|
<dd>Version 3 Release 7 Modification 0 V3R7M0 file.</dd>
|
|
|
|
<dt><em>X'2900'</em></dt>
|
|
|
|
<dd>Version 4 Release 1 Modification 0 V4R1M0 file.</dd>
|
|
|
|
<dt><em>X'2A00'</em></dt>
|
|
|
|
<dd>Version 4 Release 2 Modification 0 V4R2M0 file.</dd>
|
|
|
|
<dt><em>X'2B00'</em></dt>
|
|
|
|
<dd>Version 4 Release 3 Modification 0 V4R3M0 file.</dd>
|
|
|
|
<dt><em>X'2C00'</em></dt>
|
|
|
|
<dd>Version 4 Release 4 Modification 0 V4R4M0 file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qaaf2</td>
|
|
<td align="left" valign="top">Additional attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhmcs</td>
|
|
<td align="left" valign="top">Multiple coded character set identifier indicator
|
|
(CCSID). If on, the file has more than one CCSID for its input and output
|
|
character type fields. If the file has no character type fields, this bit is
|
|
off.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_15</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfknll</td>
|
|
<td align="left" valign="top">Allow null value key indicator (ALWNULL). If on,
|
|
null value keys are allowed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbf_nfld</td>
|
|
<td align="left" valign="top">Allow null value data (ALWNULL). If on, the file
|
|
record format(s) allow null value fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfvfld</td>
|
|
<td align="left" valign="top">Variable length data (VARLEN). If on, the file
|
|
record format(s) contain variable length fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbftfld</td>
|
|
<td align="left" valign="top">Date/time/timestamp data. If on, the file record
|
|
format(s) contain date, time, or timestamp fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfgrph</td>
|
|
<td align="left" valign="top">Graphic data. If on, the file record formats
|
|
contain graphic fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfpkey</td>
|
|
<td align="left" valign="top">Primary key (*PRIKEY). If on, the access path for
|
|
the file is a primary key.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfunqc</td>
|
|
<td align="left" valign="top">Unique constraint (*UNQCST). If on, the access
|
|
path for the file is a unique constraint.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_118</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfapsz</td>
|
|
<td align="left" valign="top">Access path size (ACCPTHSIZ). If on (*MAX1TB),
|
|
all access paths associated with this file will be allowed to occupy a maximum
|
|
of 1 terabyte (1 099 511 627 776 bytes) of auxiliary
|
|
storage. If off (*MAX4GB), all access paths associated with this file will be
|
|
allowed to occupy a maximum of 4 gigabytes (4 294 966 272 bytes)
|
|
of auxiliary storage.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfdisf</td>
|
|
<td align="left" valign="top">Distributed file. If on, the file is a
|
|
distributed file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_68</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_69</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_70</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">69</td>
|
|
<td align="center" valign="top">45</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qdbfhcrt</td>
|
|
<td align="left" valign="top">File level identifier. The date of the file in
|
|
internal standard format (ISF), CYYMMDDHHMMSS.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(52)</td>
|
|
<td align="left" valign="top">Qdbfhtx</td>
|
|
<td align="left" valign="top">File text description.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_18</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">84</td>
|
|
<td align="center" valign="top">54</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(50)</td>
|
|
<td align="left" valign="top">Qdbfhtxt</td>
|
|
<td align="left" valign="top">Text description (TEXT)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">134</td>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Reserved_19</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">147</td>
|
|
<td align="center" valign="top">93</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(30)</td>
|
|
<td align="left" valign="top">Qdbfsrc</td>
|
|
<td align="left" valign="top">Source file fields. Must be hexadecimal zeros if
|
|
there is no source file information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">147</td>
|
|
<td align="center" valign="top">93</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfsrcf</td>
|
|
<td align="left" valign="top">Source file name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">157</td>
|
|
<td align="center" valign="top">9D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfsrcm</td>
|
|
<td align="left" valign="top">Source file member name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">167</td>
|
|
<td align="center" valign="top">A7</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfsrcl</td>
|
|
<td align="left" valign="top">Source file library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">177</td>
|
|
<td align="center" valign="top">B1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfkrcv</td>
|
|
<td align="left" valign="top">Access path recovery (RECOVER).
|
|
|
|
<dl compact>
|
|
<dt><em>A</em></dt>
|
|
|
|
<dd>The file access path is built after the IPL is completed (*AFTIPL).</dd>
|
|
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>The file access path is built when the file is next opened (*NO).</dd>
|
|
|
|
<dt><em>S</em></dt>
|
|
|
|
<dd>The file access path is built during the IPL (*IPL).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">178</td>
|
|
<td align="center" valign="top">B2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(23)</td>
|
|
<td align="left" valign="top">Reserved_20</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">201</td>
|
|
<td align="center" valign="top">C9</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbftcid</td>
|
|
<td align="left" valign="top">Coded character set identifier (CCSID) for text
|
|
description.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>There is no file text description.</dd>
|
|
|
|
<dt><em>1 through 65,535</em></dt>
|
|
|
|
<dd>The file text description CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">203</td>
|
|
<td align="center" valign="top">CB</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfasp</td>
|
|
<td align="left" valign="top">Auxiliary storage pool (ASP).
|
|
|
|
<dl compact>
|
|
<dt><em>X'0000'</em></dt>
|
|
|
|
<dd>The file is located on the system auxiliary storage pool.</dd>
|
|
|
|
<dt><em>X'0002' through X'0010'</em></dt>
|
|
|
|
<dd>On which user auxiliary storage pool the file resides.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfnbit</td>
|
|
<td align="left" valign="top">Complex objects flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhudt</td>
|
|
<td align="left" valign="top">If on, the file record format has a user-defined
|
|
type field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhlob</td>
|
|
<td align="left" valign="top">If on, the file record format has a large object
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhdtl</td>
|
|
<td align="left" valign="top">If on, the file record format has a datalink
|
|
field. A <strong>datalink</strong> is a field data type that is used to point
|
|
to another object that contains the data for that field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhudf</td>
|
|
<td align="left" valign="top">If on, the file uses a user-defined
|
|
function.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhlon</td>
|
|
<td align="left" valign="top">If on, the file has a datalink field with FILE
|
|
LINK CONTROL.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhlop</td>
|
|
<td align="left" valign="top">If on, the file is a logical file without any
|
|
large object fields, but the based-on physical file has a large object
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfhdll</td>
|
|
<td align="left" valign="top">If on, the file is a logical file without any
|
|
datalink fields, but the based-on physical file has a datalink field.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">205</td>
|
|
<td align="center" valign="top">CD</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsqlvol</td>
|
|
<td align="left" valign="top">If on, the file is an SQL Volatile Table.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">206</td>
|
|
<td align="center" valign="top">CE</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfmxfnum</td>
|
|
<td align="left" valign="top">Maximum number of fields, 1 through 8000.
|
|
Indicates the number of fields in the file's record format that contains the
|
|
largest number of fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">208</td>
|
|
<td align="center" valign="top">D0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(76)</td>
|
|
<td align="left" valign="top">Reserved_22</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">284</td>
|
|
<td align="center" valign="top">11C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFODI">Qdbfodic</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the IDDU/SQL Data Dictionary area, <a href=
|
|
"#SPTQDBFDIX">Qdbfdic</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">288</td>
|
|
<td align="center" valign="top">120</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_23</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">302</td>
|
|
<td align="center" valign="top">12E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbffigl</td>
|
|
<td align="left" valign="top">File generic key length, 0 through 2000. The
|
|
length of the key before the first *NONE key field for the file. If this file
|
|
has an arrival sequence access path, this field is not applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">304</td>
|
|
<td align="center" valign="top">130</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfmxrl</td>
|
|
<td align="left" valign="top">Maximum record length, 1 through 32,766. The
|
|
length of the record in the file's record format that contains the largest
|
|
number of bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">306</td>
|
|
<td align="center" valign="top">132</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Reserved_24</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">314</td>
|
|
<td align="center" valign="top">13A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfgkct</td>
|
|
<td align="left" valign="top">File generic key field count, 0 through 120. The
|
|
count of the number of key fields before the first *NONE key field for the
|
|
file. If this file has an arrival sequence access path, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">316</td>
|
|
<td align="center" valign="top">13C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFOS">Qdbfos</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the file scope array, <a href="#SPTQDBFBX">
|
|
Qdbfb</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">320</td>
|
|
<td align="center" valign="top">140</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Reserved_25</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">328</td>
|
|
<td align="center" valign="top">146</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFOCS">Qdbfocs</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header,
|
|
Qdb_Qdbfh, to the alternative collating sequence table section,
|
|
Qdb_Qdbfacs.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">332</td>
|
|
<td align="center" valign="top">14C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_26</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">336</td>
|
|
<td align="center" valign="top">150</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfpact</td>
|
|
<td align="left" valign="top">Access path type.
|
|
|
|
<dl>
|
|
<dt><em>AR</em></dt>
|
|
|
|
<dd>Arrival sequence access path.</dd>
|
|
|
|
<dt><em>KC</em></dt>
|
|
|
|
<dd>Keyed sequence access path with duplicate keys allowed. Duplicate keys are
|
|
accessed in first-changed-first-out (FCFO) order.</dd>
|
|
|
|
<dt><em>KF</em></dt>
|
|
|
|
<dd>Keyed sequence access path with duplicate keys allowed. Duplicate keys are
|
|
accessed in first-in-first-out (FIFO) order.</dd>
|
|
|
|
<dt><em>KL</em></dt>
|
|
|
|
<dd>Keyed sequence access path with duplicate keys allowed. Duplicate keys are
|
|
accessed in last-in-first-out (LIFO) order.</dd>
|
|
|
|
<dt><em>KN</em></dt>
|
|
|
|
<dd>Keyed sequence access path with duplicate keys allowed. No order is
|
|
guaranteed when accessing duplicate keys.</dd>
|
|
|
|
<dt><em>KU</em></dt>
|
|
|
|
<dd>Keyed sequence access path with no duplicate keys allowed (UNIQUE).</dd>
|
|
|
|
<dt><em>EV</em></dt>
|
|
|
|
<dd>Encoded vector with a 1-, 2-, or 4-byte vector.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">338</td>
|
|
<td align="center" valign="top">152</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qdbfhrls</td>
|
|
<td align="left" valign="top">File version, release, and modification level.
|
|
VxRyMz, where x is the version, y the release, and z the modification
|
|
level.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">344</td>
|
|
<td align="center" valign="top">158</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">Reserved_27</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">364</td>
|
|
<td align="center" valign="top">16C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBPFOF">Qdbpfof</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the physical file specific attributes section,
|
|
<a href="#SPTQDBFPHX">Qdb_Qdbfphys</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">368</td>
|
|
<td align="center" valign="top">170</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdblfof</td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the logical file specific attributes section, <a
|
|
href="#SPTQDBFLOX">Qdb_Qdbflogl</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">372</td>
|
|
<td align="center" valign="top">174</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qdbfssfp</td>
|
|
<td align="left" valign="top">Sort sequence table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">372</td>
|
|
<td align="center" valign="top">174</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfnlsb</td>
|
|
<td align="left" valign="top">Flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">372</td>
|
|
<td align="center" valign="top">174</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(3)</td>
|
|
<td align="left" valign="top">Qdbfsscs</td>
|
|
<td align="left" valign="top">Sort sequence table (SRTSEQ) indicators.
|
|
|
|
<dl compact>
|
|
<dt><em>B'000'</em></dt>
|
|
|
|
<dd>No sort sequence table for the file; however, an alternate collating
|
|
sequence table was specified.</dd>
|
|
|
|
<dt><em>B'010'</em></dt>
|
|
|
|
<dd>No sort sequence table is used for the file, and the hexadecimal value of
|
|
the characters will be used to determine the sort sequence (*HEX).</dd>
|
|
|
|
<dt><em>B'100'</em></dt>
|
|
|
|
<dd>A sort sequence table was specified for the file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">372</td>
|
|
<td align="center" valign="top">174</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_103</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">373</td>
|
|
<td align="center" valign="top">175</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(3)</td>
|
|
<td align="left" valign="top">Qdbflang</td>
|
|
<td align="left" valign="top">Language identifier (LANGID).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">376</td>
|
|
<td align="center" valign="top">178</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfcnty</td>
|
|
<td align="left" valign="top">Country or region identifier (CNTRYID).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">378</td>
|
|
<td align="center" valign="top">17A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFJRN">Qdbfjorn</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the journal section, <a href="#SPTQDBFJOX">
|
|
Qdb_Qdbfjoal</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">382</td>
|
|
<td align="center" valign="top">17E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfevid</td>
|
|
<td align="left" valign="top">Initial number of distinct values an encoded
|
|
vector access path was allowed at creation.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">386</td>
|
|
<td align="center" valign="top">182</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_28</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBFPHY">Physical File Specific Attributes
|
|
(Qdb_Qdbfphys)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFPHX"><em>Qdb_Qdbfphys</em></a> section
|
|
with the offset <a href="#SPTQDBPFOF">Qdbpfof</a>, in the FDT header
|
|
section.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(2)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfpalc</td>
|
|
<td align="left" valign="top" width="58%">Allocate/contiguous storage (ALLOCATE and CONTIG)
|
|
|
|
|
|
<dl compact>
|
|
<dt><em>DN</em></dt>
|
|
|
|
<dd>New members added to the file allow the system to determine storage space
|
|
that is allocated for the member (ALLOCATE(*NO))</dd>
|
|
|
|
<dt><em>IC</em></dt>
|
|
|
|
<dd>New members added to file use the initial number of records to determine
|
|
storage space that is allocated for the member (ALLOCATE(*YES)) and the storage
|
|
attempted to be allocated contiguously (CONTIG(*YES)).</dd>
|
|
|
|
<dt><em>IN</em></dt>
|
|
|
|
<dd>New members added to file use the initial number of records to determine
|
|
storage space that is allocated for the member (ALLOCATE(*YES)) and storage is
|
|
not attempted to be allocated contiguously (CONTIG(*YES)).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfcmps</td>
|
|
<td align="left" valign="top">Maximum percentage of deleted records allowed
|
|
(DLTPCT).
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The number of deleted records is not checked when the member is closed
|
|
(*NONE).</dd>
|
|
|
|
<dt><em>X'01' through X'64'</em></dt>
|
|
|
|
<dd>The largest percentage of deleted records the member should have.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">
|
|
3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfoff_sqpt</td>
|
|
<td align="left" valign="top">For partitioned tables, offset from
|
|
the start of the FDT header, <a href="#SPTQDBFHX">Qdb_Qdbfh</a>, to the Partitioned Table
|
|
area, <a href="#SPTMQTDH">Qdb_Qdbfsqpt_Head</a>.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_29</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfprnum</td>
|
|
<td align="left" valign="top">Initial number of records (SIZE).
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The number of records that can be inserted into each member is not limited
|
|
by the user. The system determines the maximum member size (*NOMAX)</dd>
|
|
|
|
<dt><em>1 through 2,147,483,646</em></dt>
|
|
|
|
<dd>The number of records that can be inserted before an automatic extension
|
|
occurs.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top">F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfpri</td>
|
|
<td align="left" valign="top">Increment number of records (SIZE).
|
|
|
|
<dl compact>
|
|
<dt><em>0 through 32,767</em></dt>
|
|
|
|
<dd>The maximum number of records that can inserted into the member after an
|
|
automatic extension occurs.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfprinum</td>
|
|
<td align="left" valign="top">Maximum number of increments (SIZE).
|
|
|
|
<dl compact>
|
|
<dt><em>0 through 32,767</em></dt>
|
|
|
|
<dd>The maximum number of increments that can be automatically added to the
|
|
member.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbforid</td>
|
|
<td align="left" valign="top">Offset from the start of FDT header, Qdb_Qdbfh
|
|
(<a href="#SPTQDBFHX">Qdb_Qdbfh</a>), to the Record ID Codes for program
|
|
described physical files, Qdbforid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qflags</td>
|
|
<td align="left" valign="top">Flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfrdel</td>
|
|
<td align="left" valign="top">Reuse deleted records (RESUEDLT). If on, deleted
|
|
member record space is reused by the system on write (insert) requests
|
|
(*YES).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(3)</td>
|
|
<td align="left" valign="top">Reserved_30</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsqlt</td>
|
|
<td align="left" valign="top">SQL table indicator. If on, the file is a SQL
|
|
table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">
|
|
23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfmqt</td>
|
|
<td align="left" valign="top">SQL materialized query table indicator. If on,
|
|
the file is a SQL materialized query table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt</td>
|
|
<td align="left" valign="top">Partitioned table indicator. If on,
|
|
the file is a partitioned table.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_31</td>
|
|
<td align="left" valign="top">Reserved.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFOTRG">Qdbfotrg</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the trigger description area, <a href=
|
|
"#SPTQDBFTRX">Qdbftrg</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbftrgn</td>
|
|
<td align="left" valign="top">Number of triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfofcs</td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the constraint definition area, <a href=
|
|
"#SPTQDBFCCX">Qdbf_Constraint</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfcstn</td>
|
|
<td align="left" valign="top">Number of constraints for the file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfodl</td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the datalinks area, <a href="#SPTQDBFDL1">
|
|
Qdb_Qdbfdtalnk</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">42</td>
|
|
<td align="center" valign="top">2A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfovw_mqt</td>
|
|
<td align="left" valign="top">For SQL materialized query tables, offset from
|
|
the start of the FDT header, <a href="#SPTQDBFHX">Qdb_Qdbfh</a>, to the SQL
|
|
area, <a href="#SPTQDBFV2">Qdb_Qdbfv</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="bottom">46</td>
|
|
<td align="center" valign="bottom">2E</td>
|
|
<td align="center" valign="bottom"> </td>
|
|
<td align="left" valign="bottom">CHAR(2)</td>
|
|
<td align="left" valign="bottom">Reserved_32</td>
|
|
<td align="left" valign="bottom">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRTRIGDAR">Trigger Description Area (Qdb_Qdbftrg)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFTRX"><em>Qdb_Qdbftrg</em></a> section
|
|
with the offset <a href="#SPTQDFOTRG">Qdbfotrg</a> in the Physical File
|
|
Specific Attributes section,<img src="delta.gif" alt="Start of Change"> or with the offset <a href="#SPTQDFLOTRG">Qdbflotrg</a> in the Logical File
|
|
Specific Attributes section.<img src="deltaend.gif" alt="End of Change"> This section is repeated by the number of
|
|
triggers, Qdbftrgn <img src="delta.gif" alt="Start of Change">or Qdbfltrgn.
|
|
</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"> </td>
|
|
<td align="left" valign="top" width="11%">CHAR(1)</td>
|
|
<td align="left" valign="top" width="20%">Qdbftrgt</td>
|
|
<td align="left" valign="top" width="55%">Trigger time.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>Run the trigger after the change operation.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>Run the trigger before the operation.</dd>
|
|
|
|
|
|
<dt><img src="delta.gif" alt="Start of Change"><em>3</em></dt>
|
|
|
|
<dd>Run the trigger instead of the operation.<img src="deltaend.gif" alt="End of Change"></dd>
|
|
|
|
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbftrge</td>
|
|
<td align="left" valign="top">Trigger event.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>An insert operation.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>A delete operation.</dd>
|
|
|
|
<dt><em>3</em></dt>
|
|
|
|
<dd>An update operation.</dd>
|
|
|
|
<dt><em>4</em></dt>
|
|
|
|
<dd>A read operation.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbftpgm</td>
|
|
<td align="left" valign="top">Trigger program name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbftplb</td>
|
|
<td align="left" valign="top">Trigger program library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbftupd</td>
|
|
<td align="left" valign="top">Trigger update condition.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>Always call the trigger program when updating the file.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>Call the trigger program only when the updated values are changed.</dd>
|
|
</dl>
|
|
|
|
This field is ignored for insert and delete operations.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbftrgf</td>
|
|
<td align="left" valign="top">Trigger flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfalrc</td>
|
|
<td align="left" valign="top">Allow repeated change indicator. If on, repeated
|
|
changes are allowed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Qdbftths</td>
|
|
<td align="left" valign="top">Trigger threadsafe indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>B'00'</em></dt>
|
|
|
|
<dd>Not known.</dd>
|
|
|
|
<dt><em>B'10'</em></dt>
|
|
|
|
<dd>Not threadsafe.</dd>
|
|
|
|
<dt><em>B'11'</em></dt>
|
|
|
|
<dd>Threadsafe.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Qdbftmta</td>
|
|
<td align="left" valign="top">Multithreaded job action indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>B'01'</em></dt>
|
|
|
|
<dd>Run, send diagnostic.</dd>
|
|
|
|
<dt><em>B'10'</em></dt>
|
|
|
|
<dd>Do not run, send escape.</dd>
|
|
|
|
<dt><em>B'11'</em></dt>
|
|
|
|
<dd>Run, do not send message.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbftqmt</td>
|
|
<td align="left" valign="top">QMLTTHDACN system value use. If on, the system
|
|
value was used to determine Qdbftmta.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbf_more_trg_info</td>
|
|
<td align="left" valign="top">Whether more trigger information is available if
|
|
format FILD0400 is requested.
|
|
|
|
<dl compact>
|
|
<dt><em>B'0'</em></dt>
|
|
|
|
<dd>No more trigger information is available.</dd>
|
|
|
|
<dt><em>B'1'</em></dt>
|
|
|
|
<dd>More trigger information is available.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_200</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCONSTDH">Constraint Definition Header
|
|
(Qdb_Qdbf_Constraint)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFCCX"><em>Qdb_Qdbf_Constraint</em></a>
|
|
section with the offset Qdbfofcs located in the physical file specific
|
|
attributes section, Qdb_Qdbfphys.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbf_csto</td>
|
|
<td align="left" valign="top" width="58%">Offset from Qdbf_Constraint to the next section
|
|
for this constraint.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_hlen</td>
|
|
<td align="left" valign="top">Constraint entry header length in bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_type</td>
|
|
<td align="left" valign="top">Constraint type (TYPE)
|
|
|
|
<dl compact>
|
|
<dt><em>F</em></dt>
|
|
|
|
<dd>Referential constraint</dd>
|
|
|
|
<dt><em>P</em></dt>
|
|
|
|
<dd>Primary unique constraint</dd>
|
|
|
|
<dt><em>U</em></dt>
|
|
|
|
<dd>Unique constraint.</dd>
|
|
|
|
<dt><em>C</em></dt>
|
|
|
|
<dd>Check constraint.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_chkpd</td>
|
|
<td align="left" valign="top">Check pending attribute.
|
|
|
|
<dl compact>
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>The constraint is not in check pending.</dd>
|
|
|
|
<dt><em>Y</em></dt>
|
|
|
|
<dd>The constraint is in check pending.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_state</td>
|
|
<td align="left" valign="top">Constraint state.
|
|
|
|
<dl compact>
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>The constraint is defined.</dd>
|
|
|
|
<dt><em>E</em></dt>
|
|
|
|
<dd>The constraint is established.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_abled</td>
|
|
<td align="left" valign="top">Constraint enablement.
|
|
|
|
<dl compact>
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>The constraint is disabled.</dd>
|
|
|
|
<dt><em>E</em></dt>
|
|
|
|
<dd>The constraint is enabled.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qdbf_add_ts</td>
|
|
<td align="left" valign="top">Constraint date. The date is in the internal
|
|
standard format (ISF), CYYMMDDHHMMSS.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">25</td>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbf_cst_lin</td>
|
|
<td align="left" valign="top">Constraint library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_cst_lp2</td>
|
|
<td align="left" valign="top">Constraint name (delimited) length</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">39</td>
|
|
<td align="center" valign="top">27</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(25)</td>
|
|
<td align="left" valign="top">Reserved_54</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(258)</td>
|
|
<td align="left" valign="top">Qdbf_cst_name</td>
|
|
<td align="left" valign="top">Constraint name (CST).</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4>Constraint Definition Entries</h4>
|
|
|
|
<p>The number of constraint definition entries depends on the type of
|
|
constraint.</p>
|
|
|
|
<ul>
|
|
<li>A referential constraint, type F, has three structures in this
|
|
sequence:<br>
|
|
<br>
|
|
|
|
|
|
<ol type="1">
|
|
<li>Qdbf_Keyn for parent file</li>
|
|
|
|
<li>Qdbf_Keyn for dependent file</li>
|
|
|
|
<li>Qdbf_Riafk_Afkd</li>
|
|
</ol>
|
|
</li>
|
|
|
|
<li>A unique constraint, type U, has one Qdbf_Keyn structure.</li>
|
|
|
|
<li>A primary unique constraint, type P, has one Qdbf_Keyn structure.</li>
|
|
|
|
<li>A check constraint, type C, has one Qdbf_Chk_Cst structure.</li>
|
|
</ul>
|
|
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCONSTKN">Constraint Keys (Qdb_Qdbf_Keyn)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBFKKX"><em>Qdb_Qdbf_Keyn</em></a> section is located with
|
|
the offset Qdbf_Hlen in the constraint definition header, <a href=
|
|
"#SPTQDBFCCX">Qdbf_Constraint</a>. When the constraint is referential
|
|
constraint, the offset to the next section is located with the offset
|
|
Qdbf_Kslen in this structure.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbf_kslen</td>
|
|
<td align="left" valign="top" width="58%">Constraint key structure length. The length, in
|
|
bytes, of this constraint key structure. This is also the offset to from <a
|
|
href="#SPTQDBFKKX">Qdbf_Keyn</a> to the next structure for this
|
|
constraint.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_nokys</td>
|
|
<td align="left" valign="top">Number of keys, 1 through 120. The number of key
|
|
fields for the constraint key.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_klen</td>
|
|
<td align="left" valign="top">Constraint key length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(52)</td>
|
|
<td align="left" valign="top">Revcst_7</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of CHAR(32)</td>
|
|
<td align="left" valign="top">Qdbf_narray</td>
|
|
<td align="left" valign="top">Key name array.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4>Key Name Array (Qdb_Qdbf_Narray)</h4>
|
|
|
|
<p>This array follows the constraint keys structure, <a href="#SPTQDBFKKX">
|
|
Qdbf_Keyn</a>. The number of constraint key name array entries is in field
|
|
Qdbf_nokys in the constraint keys structure.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbf_kname</td>
|
|
<td align="left" valign="top" width="58%">Key name (PRNKEY KEY)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(22)</td>
|
|
<td align="left" valign="top">Revcst_6</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRREFCSTD">Referential Constraint Definition
|
|
(Qdb_Qdbf_Riafk_Afkd)</a></h4>
|
|
|
|
<p>You can locate this section with the offset Qdbf_kslen in the constraint
|
|
keys structure, <a href="#SPTQDBFKKX">Qdbf_Keyn</a>, that precedes this
|
|
structure. This structure exists only if the constraint is a referential
|
|
constraint.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(64)</td>
|
|
<td align="left" valign="top" width="17%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="58%">Parent file (PRNFILE).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbf_riafk_pkfn</td>
|
|
<td align="left" valign="top">Parent file name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbf_riafk_pkln</td>
|
|
<td align="left" valign="top">Parent file library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(44)</td>
|
|
<td align="left" valign="top">Revcst_3</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_riafk_fkcdr</td>
|
|
<td align="left" valign="top">Delete rule (DLTRULE).
|
|
|
|
<dl compact>
|
|
<dt><em>C</em></dt>
|
|
|
|
<dd>*CASCADE</dd>
|
|
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>*SETDFT</dd>
|
|
|
|
<dt><em>L</em></dt>
|
|
|
|
<dd>*SETNULL</dd>
|
|
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>*NOACTION (default value)</dd>
|
|
|
|
<dt><em>R</em></dt>
|
|
|
|
<dd>*RESTRICT</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">65</td>
|
|
<td align="center" valign="top">41</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Revcst_4</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">66</td>
|
|
<td align="center" valign="top">42</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbf_riafk_fkcur</td>
|
|
<td align="left" valign="top">Update rule (UPDRULE)
|
|
|
|
<dl compact>
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>*NOACTION (default value)</dd>
|
|
|
|
<dt><em>R</em></dt>
|
|
|
|
<dd>*RESTRICT</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(61)</td>
|
|
<td align="left" valign="top">Revcst_5</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCHKCST">Check Constraint (Qdb_Qdbf_Chk_Cst)</a></h4>
|
|
|
|
<p>This section is located with the offset Qdbf_Hlen in the constraint
|
|
definition header, Qdbf_Constraint. This structure exists only if the
|
|
constraint is a check constraint.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%">Qdbf_chkcst_len</td>
|
|
<td align="left" valign="top" width="55%">Check constraint structure length. The length, in
|
|
bytes, of the check constraint structure Qdb_Qdbf_Chk_Cst.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_chkexpr_len</td>
|
|
<td align="left" valign="top">Check constraint expression length. The length of
|
|
the check constraint expression Qdbf_chkexpr.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(24)</td>
|
|
<td align="left" valign="top">Revcst_8</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qdbf_chkexpr</td>
|
|
<td align="left" valign="top">Check constraint expression.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDTALNKH">Datalink Header (Qdb_Qdbfdtalnk)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBFDL1"><em>Qdb_Qdbfdtalnk</em></a> section is the header
|
|
for the datalink columns that have linked servers. There will be one header and
|
|
one or more datalink column entries defined by the <a href="#SPTQDBFDL2">
|
|
Qdb_Qdbfdlcole</a> structure. You can locate this structure with the offset
|
|
Qdbfodl in the Physical File Specific Attributes structure, <a href=
|
|
"#SPTQDBFPHX">Qdb_Qdbfphys</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfdlcoln</td>
|
|
<td align="left" valign="top" width="58%">Number of datalink columns with links to
|
|
servers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfdlocole</td>
|
|
<td align="left" valign="top">Offset from the start of Qdb_Qdbfdtalnk to the
|
|
first datalink column entry, (<a href="#SPTQDBFDL2">Qdb_Qdbfdlcole</a>).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfdllnkp</td>
|
|
<td align="left" valign="top">Link pending attribute. <strong>Link
|
|
pending</strong> is a state that indicates to the user the file has one or more
|
|
datalink field values (under the file link control attribute) where the system
|
|
does not know whether or not the field is really linked to a file on the
|
|
DataLink File Manager server. The <strong>Datalink File Manager</strong> is a
|
|
function that tracks which files are linked to a specific database file.
|
|
|
|
<dl compact>
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>The file is not in link pending.</dd>
|
|
|
|
<dt><em>Y</em></dt>
|
|
|
|
<dd>The file is in link pending.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(23)</td>
|
|
<td align="left" valign="top">Revdl_1</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDTALNKC">Datalink Column Entry (Qdb_Qdbfdlcole)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBFDL2"><em>Qdb_Qdbfdlcole</em></a> section repeats for the
|
|
number of columns (Qdbfdlcoln) defined in structure <a href="#SPTQDBFDL1">
|
|
Qdb_Qdbfdtalnk</a>. You can locate the first column entry using offset
|
|
Qdbfdlocole in structure Qdb_Qdbfdtalnk. Since Qdb_Qdbfdlcole is a varying
|
|
length structure, use length Qdbfdlcelen to get to the next column entry.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfdlcelen</td>
|
|
<td align="left" valign="top" width="58%">Length of this datalink column entry. Use this
|
|
length to get to the next datalink column entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfdlsevn</td>
|
|
<td align="left" valign="top">Number of servers linked for this column.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfdlcolnm</td>
|
|
<td align="left" valign="top">Column name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Revdl_2</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of CHAR(254)</td>
|
|
<td align="left" valign="top">Qdbfdlsevnm</td>
|
|
<td align="left" valign="top">Array of server names linked to the datalink
|
|
column. The number of array entries is defined by Qdbfdlsevn.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRECIDCO">Record ID Codes (Qdb_Qdbfdrtb)</a></h4>
|
|
|
|
<p>The <a name="SPTRECIDO"><em>Qdb_Qdbfdrtb</em></a> section describes the
|
|
record ID codes for program described physical files. The record ID code
|
|
information is an array with variable length entries. You can locate this
|
|
section with the offset Qdbforid located in the physical file specific
|
|
attributes section, <a href="#SPTQDBFPHX">Qdb_Qdbfphys</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(16)</td>
|
|
<td align="left" valign="top" width="15%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="58%">Record ID code header.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfdrnum</td>
|
|
<td align="left" valign="top">Number of record ID code array entries, 0 through
|
|
70.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfdrtl</td>
|
|
<td align="left" valign="top">Size of this record ID code table in bytes, 0
|
|
through 256.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved_33</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of CHAR(32)</td>
|
|
<td align="left" valign="top">Qdbfdrae</td>
|
|
<td align="left" valign="top">Record ID code array entry.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4>Record ID Codes Array (Qdb_Qdbfdrae)</h4>
|
|
|
|
<p>This array follows the record ID codes structure, (<a href=
|
|
"#SPTRECIDO">Qdb_Qdbfdrtb</a>). The number of record ID code array entries is
|
|
in Qdbfdrnum.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(4)</td>
|
|
<td align="left" valign="top" width="15%">Reserved_34</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfdrnm</td>
|
|
<td align="left" valign="top">External name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfdrrp</td>
|
|
<td align="left" valign="top">Relative field position, 1 through 8000. The
|
|
relative position of the field in the record format.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfdrco</td>
|
|
<td align="left" valign="top">Comparison operator.
|
|
|
|
<dl compact>
|
|
<dt><em>EQ</em></dt>
|
|
|
|
<dd>Compare equal.</dd>
|
|
|
|
<dt><em>NE</em></dt>
|
|
|
|
<dd>Compare not equal.</dd>
|
|
|
|
<dt><em>ZN</em></dt>
|
|
|
|
<dd>Compare zone.</dd>
|
|
|
|
<dt><em>NZ</em></dt>
|
|
|
|
<dd>Compare not zone.</dd>
|
|
|
|
<dt><em>DG</em></dt>
|
|
|
|
<dd>Compare digit.</dd>
|
|
|
|
<dt><em>ND</em></dt>
|
|
|
|
<dd>Compare not digit.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfdrln</td>
|
|
<td align="left" valign="top">Length of test value. Test value length must be
|
|
1.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfdrtv</td>
|
|
<td align="left" valign="top">Test value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfdrao</td>
|
|
<td align="left" valign="top">AND/OR/last operator.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>Last operator entry.</dd>
|
|
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>AND with next array entry.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>OR with next array entry.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved_35</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRLOGFSAT">Logical File Specific Attributes
|
|
(Qdb_Qdbflogl)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFLOX"><em>Qdb_Qdbflogl</em></a> section
|
|
with the offset Qdbflfof located in the FDT header section, Qdb_Qdbfh.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfoj</td>
|
|
<td align="left" valign="top" width="58%">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the join specifications, <a href="#SPTQDBFJX">
|
|
Qdbfj</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfscsn</td>
|
|
<td align="left" valign="top">Total number of select/omit statements for all
|
|
record formats, 1 through 32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbflxp</td>
|
|
<td align="left" valign="top">Record format selector program (FMTSLR)
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No record format selector program (*NONE).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbflxl</td>
|
|
<td align="left" valign="top">Record format selector program library (FMTSLR)
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No record format selector program (*NONE).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfovw</td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFJX">Qdb_Qdbfh</a>, to
|
|
the SQL area, <a href=
|
|
"#SPTQDBFV2">Qdb_Qdbfv</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qlfa</td>
|
|
<td align="left" valign="top">Logical file attributes</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_36</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjoin</td>
|
|
<td align="left" valign="top">Join logical file indicator (JFILE). If on, the
|
|
file is a join logical file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfdyns</td>
|
|
<td align="left" valign="top">Dynamic selection indicator (DYNSLT). If on, the
|
|
selection and omission tests specified for the file are done when the file is
|
|
read. If off, when the access path is updated.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsqlv</td>
|
|
<td align="left" valign="top">SQL view indicator. If on, the file is an SQL
|
|
view.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsqli</td>
|
|
<td align="left" valign="top">SQL index indicator. If on, the file is an SQL
|
|
index.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_37</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfjtyp</td>
|
|
<td align="left" valign="top">Join file type.
|
|
|
|
<dl compact>
|
|
<dt><em>I</em></dt>
|
|
|
|
<dd>An inner join. Default entries are not supplied if a join value does not
|
|
exist.</dd>
|
|
|
|
<dt><em>P</em></dt>
|
|
|
|
<dd>A partial outer join. Default values are supplied if a join value does not
|
|
exist.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsrcd</td>
|
|
<td align="left" valign="top">Coded character set identifier (CCSID) for
|
|
select/omit constants.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>There are no select/omit constants for the file.</dd>
|
|
|
|
<dt><em>1 through 65,535</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfwchk</td>
|
|
<td align="left" valign="top">With check option.
|
|
|
|
<dl compact>
|
|
<dt><em>C</em></dt>
|
|
|
|
<dd>The with-check option was specified with cascade.</dd>
|
|
|
|
<dt><em>L</em></dt>
|
|
|
|
<dd>The with-check option was specified with local.</dd>
|
|
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>No with-check option was specified.</dd>
|
|
</dl>
|
|
|
|
<p>The value N is set for all logical files. The values C and L only apply to
|
|
SQL views.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><img src="delta.gif" alt="Start of Change">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFLOTRG">Qdbflotrg</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the trigger description area, <a href=
|
|
"#SPTQDBFTRX">Qdbftrg</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><img src="delta.gif" alt="Start of Change">39</td>
|
|
<td align="center" valign="top">27</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfltrgn</td>
|
|
<td align="left" valign="top">Number of triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">41</td>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(7)<img src="deltaend.gif" alt="End of Change"></td>
|
|
<td align="left" valign="top">Reserved_38</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRJOINSPE">Join Specifications (Qdb_Qdbfj)</a></h4>
|
|
|
|
<p>The join specifications, <a name="SPTQDBFJX"><em>Qdb_Qdbfj</em></a>, are a
|
|
linked list. There is an entry in the linked list for each join to-file. Each
|
|
entry defines the join logical file's based on physical files and the fields in
|
|
the from-file and the to-file used to join the based on physical file.</p>
|
|
|
|
<p>You can locate this section with the offset Qdbfoj located in the FDT header
|
|
section, <a href="#SPTQDBFHX">Qdb_Qdbfh</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfjnho</td>
|
|
<td align="left" valign="top" width="58%">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the join specifications, <a href="#SPTQDBFJX">
|
|
Qdbfj</a>, for the next join to-file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_40</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjknum</td>
|
|
<td align="left" valign="top">Number of join field specifications (JFLD), 1
|
|
through 32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjdnum</td>
|
|
<td align="left" valign="top">Number of join duplicate sequence specifications
|
|
(JDUPSEQ), 1 through 32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjffnum</td>
|
|
<td align="left" valign="top">Join from-file number (JOIN), 1 through
|
|
255.
|
|
This
|
|
number indicates which based on physical file to join the to-file from.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjtfnum</td>
|
|
<td align="left" valign="top">Join to-file number (JOIN), 2 through
|
|
256.
|
|
This
|
|
number indicates which based on physical to-file this join specification
|
|
relates to.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(24)</td>
|
|
<td align="left" valign="top">Reserved_41</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTFJSAO">Qdbfjsao</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the join specification array, <a href=
|
|
"#SPTQDBFJFX">Qdb_Qdbfjfld</a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">2C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFJJJ">Qdbfjdao</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the join duplicate sequence array, <a href=
|
|
"#SPTQDBFJDX">Qdb_Qdbfjdup</a>, for this join to-file.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRJSPECAR">Join Specification Array (Qdb_Qdbfjfld)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFJFX"><em>Qdb_Qdbfjfld</em></a> section
|
|
with the offset <a href="#SPTFJSAO">Qdbfjsao</a> located in the join header
|
|
section, Qdb_Qdbfj. The number of join specification array entries may be up to
|
|
one less than the number of data members, <a href="#SPTFLBNUM">Qdbflbnum</a> ,
|
|
located in the FDT header section, Qdb_Qdbfh.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfjfnm</td>
|
|
<td align="left" valign="top" width="58%">Join from-field-name (JFLD)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjfnum</td>
|
|
<td align="left" valign="top">Join from-field reference number.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>Join from-field is a field in the join logical file's record format.</dd>
|
|
|
|
<dt><em>1 through 255
|
|
</em></dt>
|
|
|
|
<dd>The number of the base on physical from-file corresponding with its
|
|
position in the JFILE statement that contains this join from-field.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_42</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfjop</td>
|
|
<td align="left" valign="top">Join operation. This is always set to 'EQ'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfjtnm</td>
|
|
<td align="left" valign="top">Join to-field name (JFLD).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjtnum</td>
|
|
<td align="left" valign="top">Join to-field reference number.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The join to-field is a field in the logical file's record format.</dd>
|
|
|
|
<dt><em>2 through 256</em></dt>
|
|
|
|
<dd>The number of the based on physical to-file corresponding with its position
|
|
in the JFILE statement that contains this join to-field.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">Reserved_43</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRJDSSARY">Join Duplicate Sequence Specification Array
|
|
(Qdb_Qdbfjdup)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFJDX"><em>Qdb_Qdbfjdup</em></a> section
|
|
with the offset <a href="#SPTQDBFJJJ">Qdbfjdao</a> in the join section,
|
|
Qdb_Qdbfj. The number of join specification array entries may be up to one less
|
|
than the number of data members, <a href="#SPTFLBNUM">Qdbflbnum</a>, located in
|
|
the FDT header section, Qdb_Qdbfh.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="4%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfjdnm</td>
|
|
<td align="left" valign="top" width="58%">Join specification field name (JDUPSEQ).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfjdjnum</td>
|
|
<td align="left" valign="top">Join sequence field name reference number.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The join sequencing field name is a file in the join logical file's record
|
|
format.</dd>
|
|
|
|
<dt><em>2 through 256</em></dt>
|
|
|
|
<dd>The number of the based on physical to-file corresponding with its position
|
|
in the JFILE statement that contains this sequencing field name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qjsfna</td>
|
|
<td align="left" valign="top">Join sequencing field name attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjdd</td>
|
|
<td align="left" valign="top">Ascending/descending sequence indicator. If on,
|
|
indicates a descending field (*DESCEND).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(7)</td>
|
|
<td align="left" valign="top">Reserved_44</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(19)</td>
|
|
<td align="left" valign="top">Reserved_45</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSQLVIAR">SQL
|
|
Area (Qdb_Qdbfv)</a></h4>
|
|
|
|
<p>The SQL area, <em>Qdb_Qdbfv</em>, contains the SQL
|
|
select statement. For logical files, you can locate this section with the
|
|
offset Qdbfovw located in the logical file specific attributes section, (<a
|
|
href="#SPTQDBFLOX">Qdb_Qdbflogl</a>). For SQL materialized query tables, you
|
|
can locate this section with the offset Qdbfovw_mqt located in the physical
|
|
file specific attributes section, (<a href="#SPTQDBFPHX">Qdb_Qdbfphys</a>).
|
|
</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(56)</td>
|
|
<td align="left" valign="top" width="15%"><br></td>
|
|
<td align="left" valign="top" width="58%">SQL area header.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">CHAR(16)</td>
|
|
<td align="left" valign="top">Reserved_39</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfvs_start</td>
|
|
<td align="left" valign="top">Starting offset of the SELECT statement within
|
|
the CREATE TABLE statement.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfvs_end</td>
|
|
<td align="left" valign="top">Ending offset of the SELECT statement within
|
|
the CREATE TABLE statement.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfvs_ccsid</td>
|
|
<td align="left" valign="top">Coded Character Set Identifier, CCSID, for the
|
|
Select Statement. Views created prior to V5R1M0 will return a CCSID value
|
|
of 0. </td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfmqtd_o</td>
|
|
<td align="left" valign="top">For SQL materialized query tables, offset from
|
|
the start of the FDT header, <a href="#SPTQDBFHX">Qdb_Qdbfh</a>, to the
|
|
SQL materialized query table dependency area, <a href="#SPTMQTDH"> Qdb_Qdbfmqtd_Head</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfmqt_cmt</td>
|
|
<td align="left" valign="top">The isolation level in effect for the SQL materialized
|
|
query table:
|
|
<dl compact>
|
|
<dt><em>NC</em></dt>
|
|
<dd>*NONE no isolation</dd>
|
|
<dt><em>UR</em></dt>
|
|
<dd>*CHG uncommitted read.</dd>
|
|
<dt><em>CS</em></dt>
|
|
<dd>*CS cursor stability</dd>
|
|
<dt><em>CL</em></dt>
|
|
<dd>*CS with keep locks</dd>
|
|
<dt><em>RS</em></dt>
|
|
<dd>*ALL read stability</dd>
|
|
<dt><em>RR</em></dt>
|
|
<dd>*RR repeatable read</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfvflgs</td>
|
|
<td align="left" valign="top">Flags.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfmqt_init</td>
|
|
<td align="left" valign="top">SQL materialized query table initial data. If
|
|
on, data is inserted into the table immediately as part of the SQL Create
|
|
Table statement. If off, data is deferred until the SQL Refresh Table statement
|
|
is issued for the table.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfmqt_ maint</td>
|
|
<td align="left" valign="top">SQL materialized query table maintenance. If
|
|
on, table is user-maintained.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfmqt_ refresh</td>
|
|
<td align="left" valign="top">SQL materialized query table refresh. If off,
|
|
table is refresh-deferred.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfmqt_opt</td>
|
|
<td align="left" valign="top">SQL materialized query table optimization. If
|
|
on, table is disabled for optimization. If off, table is enabled for optimization.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(4)</td>
|
|
<td align="left" valign="top">Reserved_88</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(23)</td>
|
|
<td align="left" valign="top">Reserved_89</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">SQL select statement structure</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfvssl</td>
|
|
<td align="left" valign="top">Select statement length.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qdbfvsst</td>
|
|
<td align="left" valign="top">SQL select statement.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRMQTDH">SQL
|
|
Materialized Query Table Dependency Header (Qdb_Qdbfmqtd_Head)</a></h4>
|
|
|
|
<p>The <em>Qdb_Qdbfmqtd_Head</em> section is located with
|
|
the offset Qdbfmqtd_o in the SQL area, <a name="SPTQDBFV"><em>
|
|
Qdb_Qdbfv</em></a>. This structure exists only if the file is a SQL
|
|
materialized query table.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfmqtd_ len_sum</td>
|
|
<td align="left" valign="top" width="58%">Total length, in bytes, of the dependency area.
|
|
This includes both the dependency header and the dependency array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfmqtd_ #_deps</td>
|
|
<td align="left" valign="top">Number of file entries in the dependency
|
|
array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(56)</td>
|
|
<td align="left" valign="top">Reserved_16</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"></td>
|
|
<td align="left" valign="top">Dependency array, <a href="#SPTMQTD">
|
|
Qdb_Qdbfmqtd</a>, for this SQL materialized query table.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="#SPTMQTD">SQL
|
|
Materialized Query Table Dependency Entry (Qdb_Qdbfmqtd)</a></h4>
|
|
|
|
<p>The <em>Qdb_Qdbfmqtd</em> section repeats in the
|
|
dependency array for the number of depended-on files (Qdbfmqtd_#_deps) defined
|
|
in structure <a name="SPTMQTDHX"><em>Qdb_Qdbfmqtd_Head</em></a>. The first
|
|
dependency entry follows the dependency header <em>
|
|
Qdb_Qdbfmqtd_Head</em>. Use length Qdbfmqtd_len to get to the next
|
|
dependency entry.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="4%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(16)</td>
|
|
<td align="left" valign="top" width="25%">Reserved_117</td>
|
|
<td align="left" valign="top" width="50%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfmqtd_len</td>
|
|
<td align="left" valign="top">Length, in bytes, of this dependency entry. Use
|
|
this length to get to the next dependency entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfmqtd_file</td>
|
|
<td align="left" valign="top">Name of the file that the materialized query
|
|
table is dependent on. The file is specified in the select-statement of the
|
|
materialized query table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfmqtd_lib</td>
|
|
<td align="left" valign="top">Name of the library that the depended-on file
|
|
resides in.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(56)</td>
|
|
<td align="left" valign="top">Reserved_116</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
|
|
<h4><a name="HDRSQPTH">
|
|
Partitioned Table Header (Qdb_Qdbfsqpt_Head)</a></h4>
|
|
|
|
<p>The <a name="SPTSQPTDH"><em>Qdb_Qdbfsqpt_Head</em></a> section is located with
|
|
the offset Qdbfoff_sqpt. This structure exists only if the file is a partitioned table.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%">Qdbfsqpt_Len_ Sum</td>
|
|
<td align="left" valign="top" width="55%">Total length, in bytes, of the header area.
|
|
This includes all the partition areas and partition key areas.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Sql_ Reserved4</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Ran_ Hh</td>
|
|
<td align="left" valign="top">Partitioning is range or hash.
|
|
|
|
<dl compact>
|
|
<dt><em>R</em></dt>
|
|
<dd>Range Partitioning </dd>
|
|
<dt><em>H</em></dt>
|
|
<dd>Hash Partitioning</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top">9</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Lfld</td>
|
|
<td align="left" valign="top">Field has long field name.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Field has a long name.</dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>Field does not have a long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">0A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(230)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Reserved230</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">240</td>
|
|
<td align="center" valign="top">F0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Num_ Parts</td>
|
|
<td align="left" valign="top">Number of file partitions.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">244</td>
|
|
<td align="center" valign="top">F4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Part_ Offset</td>
|
|
<td align="left" valign="top">The offset to the first partition. This is from the start of the Partitioned Table Header,
|
|
<a href="#HDRSQPTH">Qdb_Qdbfsqpt_Head</a>,
|
|
to the first partition, <a href="#HDRSQPTP">Qdb_Qdbfsqpt_Part</a>.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">248</td>
|
|
<td align="center" valign="top">F8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Hk_ Offset</td>
|
|
<td align="left" valign="top">The offset to the hash key area. This offset is only set if hash partitioning is being done for the partitioned table. This is from the start of the Partitioned Table Header,
|
|
<a href ="#HDRSQPTH">Qdb_Qdbfsqpt_Head</a>, to the partition hash header <a href="#HDSQPTHH">Qdb_Qdbfsqpt_Head_Hash</a>,
|
|
if hash partitioning is being done.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">252</td>
|
|
<td align="center" valign="top">FC</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(100)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Reserved_100</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">352</td>
|
|
<td align="center" valign="top">160</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">Partitioned area, <a href="#HDRSQPTP">
|
|
Qdb_Qdbfsqpt_Part</a>, for this partitioned table and partition hash key area <a href="#HDSQPTHH">Qdb_Qdbfsqpt_Head_Hash</a>, if hash partitioning is being done.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSQPTP">
|
|
Partitioned Area (Qdb_Qdbfsqpt_Part)</a></h4>
|
|
|
|
<p>The <a name="SPTSQPTP"><em>Qdb_Qdbfsqpt_Part</em></a> section is located with the offset Qdbfsqpt_Part_Offset. This structure exists only if the file is a partitioned table.The repeating structure(Qdb_Qdbfsqpt_Part) can be located with the Qdb_Qdbfsqpt_Part_Len value. </p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%">Qdbfsqpt_Part_ Len</td>
|
|
<td align="left" valign="top" width="55%">Total length, in bytes, of this partition area. This includes all other partition key areas. Use this length to get to the next partition area.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Part_ DSN</td>
|
|
<td align="left" valign="top">Partition data space number.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Part_ Num</td>
|
|
<td align="left" valign="top">Partition number.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">0C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Pname_L en</td>
|
|
<td align="left" valign="top">The length of the partition name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(128)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Pname</td>
|
|
<td align="left" valign="top">The partition name.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">144</td>
|
|
<td align="center" valign="top">90</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(80)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Mbr_ Reserved80</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">224</td>
|
|
<td align="center" valign="top">E0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Num_ Keys</td>
|
|
<td align="left" valign="top">The number of partition range keys.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">228</td>
|
|
<td align="center" valign="top">E4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Range_ Offset</td>
|
|
<td align="left" valign="top">
|
|
The offset to the first partition range key area for this partition. If hash partitioning is being done, this value will not be set.
|
|
This is from the start of the Partitioned Area,
|
|
<a href="#HDRSQPTP">Qdb_Qdbfsqpt_Part</a>,
|
|
to the
|
|
<a href="#SPTSQPTRK">Qdb_Qdbfsqpt_Range</a>.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">232</td>
|
|
<td align="center" valign="top">E8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Reserved_8</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">240</td>
|
|
<td align="center" valign="top">F0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">Partition range key area <a href="#HDRSQPTRK">Qdb_Qdbfsqpt_Range</a>, for this partitioned table. This entry repeats for the number of partition range keys.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSQPTRK">Partition Range Key Area (Qdb_Qdbfsqpt_Range)</a></h4>
|
|
|
|
<p>The <a name="SPTSQPTRK"><em>Qdb_Qdbfsqpt_Range</em></a> section is located with
|
|
the offset Qdbfsqpt_Ran_Offset. This structure exists only if the file is a partitioned table that has range partitioning. Use Qdbfsqpt_Range_Len to get to the next entry.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%">Qdbfsqpt_Range_ Len</td>
|
|
<td align="left" valign="top" width="55%">Total length, in bytes, of this partition range key area.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(12)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Reserved12</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Range_ Key</td>
|
|
<td align="left" valign="top">Partition range key name.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Range_ Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rmin</td>
|
|
<td align="left" valign="top">Partition range key start value minimum.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Yes </dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>No</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rmax</td>
|
|
<td align="left" valign="top">Partition range key end value maximum.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Yes </dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>No</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rsin</td>
|
|
<td align="left" valign="top">Partition range key start value inclusive.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Yes </dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>No</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rein</td>
|
|
<td align="left" valign="top">Partition range key end value inclusive.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Yes </dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>No</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(15)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ reserved15</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">47</td>
|
|
<td align="center" valign="top">2F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rnull</td>
|
|
<td align="left" valign="top">Partition range key value can include nulls.
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
<dd>Yes </dd>
|
|
<dt><em>N</em></dt>
|
|
<dd>No</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rslen</td>
|
|
<td align="left" valign="top">Length in bytes of the starting partition range key value string.</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Relen</td>
|
|
<td align="left" valign="top">Length in bytes of the ending partition range key value string.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Rstart_ Offset</td>
|
|
<td align="left" valign="top">The offset to the starting partition range key value string. This is from the start of
|
|
<a href="#HDRSQPTRK">Qdb_Qdbfsqpt_Range</a>.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Rend_ Offset</td>
|
|
<td align="left" valign="top">The offset to the ending partition range key value string. This is from the start of
|
|
<a href="#HDRSQPTRK">Qdb_Qdbfsqpt_Range</a>.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Reserved14</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">78</td>
|
|
<td align="center" valign="top">4E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ Rccsid</td>
|
|
<td align="left" valign="top">Coded character set identifier (CCSID) for the start and end strings.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">Start value string and end value string for this partition range key.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
<br>
|
|
|
|
<h4><a name="HDSQPTHH">
|
|
Partition Header Hash Key Area (Qdb_Qdbfsqpt_Head_Hash)</a></h4>
|
|
<p>The <a name="SDSQPTHH"><em>Qdb_Qdbfsqpt_Head_Hash</em></a>
|
|
is the header area for the hash keys. It is located with
|
|
the offset Qdbfsqpt_Hk_Offset. This structure exists only if the file is a partitioned table that has hash partitioning.
|
|
</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%">Qdbfsqpt_Head _Hash_Len</td>
|
|
<td align="left" valign="top" width="55%">Length, in bytes, of the partition header hash key area.This includes the total length of all hash key entries.
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_Head _Num_Keys</td>
|
|
<td align="left" valign="top">Total number of hash keys.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(56)</td>
|
|
<td align="left" valign="top">Head_ Reserved_56</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of CHAR(32)</td>
|
|
<td align="left" valign="top">Qdbfsqpt_ hash</td>
|
|
<td align="left" valign="top">Key name array.
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<h4><a name="HDRSQPTHA">Partition Hash Key Area (Qdb_Qdbfsqpt_Hash)</a></h4>
|
|
<p>The <a name="SDRSQPTHA"><em>Qdb_Qdbfsqpt_Hash</em></a> section repeats for the number of partition hash keys,Qdbfsqpt_Head_Num_Keys.
|
|
It follows
|
|
<a href="#HDSQPTHH">Qdb_Qdbfsqpt_Head_Hash</a>.
|
|
</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfsqpt_ Hash_Key</td>
|
|
<td align="left" valign="top" width="58%">Partition hash key name.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">0A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(22)</td>
|
|
<td align="left" valign="top">Hash_ Reserved_22</td>
|
|
<td align="left" valign="top">Reserved.
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
<h4><a name="HDRALTCSEQ">Alternative Collating Sequence Table
|
|
(Qdb_Qdbfacs)</a></h4>
|
|
|
|
<p>You can locate this section with the offset <a href="#SPTQDBFOCS">
|
|
Qdbfocs</a> in the FDT header section, Qdb_Qdbfh. This section is also referred
|
|
to as the Sort Sequence Table. A sort sequence table can be either single-byte
|
|
or UCS-2. If the UCS-2 table length, Qdbf_UCS2_Srtseq_Len, is non-zero, then it
|
|
is a UCS-2 sort sequence table and the single-byte table, Qdbfacst, will be
|
|
cleared.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(256)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfacst</td>
|
|
<td align="left" valign="top" width="58%">Alternative collating sequence table or
|
|
single-byte sort sequence (ALTSEQ/STRSEQ) table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">256</td>
|
|
<td align="center" valign="top">100</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfccsd</td>
|
|
<td align="left" valign="top">Coded character set identifier (CCSID) for the
|
|
single-byte table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">258</td>
|
|
<td align="center" valign="top">102</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">qdbfsrts</td>
|
|
<td align="left" valign="top">Sort sequence table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">258</td>
|
|
<td align="center" valign="top">102</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbftbln</td>
|
|
<td align="left" valign="top">Sort sequence table name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">268</td>
|
|
<td align="center" valign="top">10C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbftbll</td>
|
|
<td align="left" valign="top">Sort sequence table library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">278</td>
|
|
<td align="center" valign="top">116</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfsrtf</td>
|
|
<td align="left" valign="top">Sort sequence table attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">278</td>
|
|
<td align="center" valign="top">116</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfwght</td>
|
|
<td align="left" valign="top">Sort sequence table weight indicator for the
|
|
single-byte table. If on, indicates the sort sequence table is unique weighted.
|
|
If off, it is share weighted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">278</td>
|
|
<td align="center" valign="top">116</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsubc</td>
|
|
<td align="left" valign="top">Sort sequence table substitution character
|
|
indicator for the single-byte table. If on, indicates the sort sequence table
|
|
has substitution character.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">278</td>
|
|
<td align="center" valign="top">116</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbf_UCS2_ Wght</td>
|
|
<td align="left" valign="top">Sort sequence table weight indicator for the
|
|
UCS-2 table. If on, indicates the sort sequence table is unique weighted. If
|
|
off, it is share weighted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">278</td>
|
|
<td align="center" valign="top">116</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_104</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">279</td>
|
|
<td align="center" valign="top">117</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">
|
|
<pre>
|
|
Qdbf_UCS2
|
|
_Srtseq_Len
|
|
</pre>
|
|
|
|
<br>
|
|
</td>
|
|
<td align="left" valign="top">Length of the UCS-2 sort sequence table,
|
|
Qdbf_UCS2_Srtseq, in bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">283</td>
|
|
<td align="center" valign="top">11B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbf_UCS2_ Ccsd</td>
|
|
<td align="left" valign="top">Coded character set identifier (CCSID) for the
|
|
UCS-2 table.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">285</td>
|
|
<td align="center" valign="top">11D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(19)</td>
|
|
<td align="left" valign="top">Reserved_101</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">304</td>
|
|
<td align="center" valign="top">130</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">
|
|
<pre>
|
|
Qdbf_UCS2
|
|
_Srtseq
|
|
</pre>
|
|
|
|
<br>
|
|
</td>
|
|
<td align="left" valign="top">UCS-2 sort sequence table. The table exists if
|
|
the length, Qdbf_UCS2_Srtseq_Len, is greater than zero.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRISDDA">IDDU/SQL Data Dictionary Area (Qdb_Qdbfdic)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBFDIX"><em>Qdb_Qdbfdic</em></a> section
|
|
with offset <a href="#SPTQDBFODI">Qdbfodic</a> in the FDT header section,
|
|
Qdb_Qdbfh.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(1)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfdilk</td>
|
|
<td align="left" valign="top" width="58%">Data dictionary link status.
|
|
|
|
<dl compact>
|
|
<dt><em>L</em></dt>
|
|
|
|
<dd>The file is linked to the a data dictionary.</dd>
|
|
|
|
<dt><em>U</em></dt>
|
|
|
|
<dd>The file is not linked to the a data dictionary.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfinm</td>
|
|
<td align="left" valign="top">Data dictionary library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfifd</td>
|
|
<td align="left" valign="top">Data dictionary file definition name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(11)</td>
|
|
<td align="left" valign="top">Qdbfdiid</td>
|
|
<td align="left" valign="top">Data dictionary internal file definition
|
|
identifier. This field maps to ZONED(11,0).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_46</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbfdicl</td>
|
|
<td align="left" valign="top">Data dictionary file definition comment
|
|
length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfdicc</td>
|
|
<td align="left" valign="top">Data dictionary file definition comment CCSID.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>There is no comment for the file.</dd>
|
|
|
|
<dt><em>1 through 65,535</em></dt>
|
|
|
|
<dd>The CCSID of the comment.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">42</td>
|
|
<td align="center" valign="top">2A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFOLN">Qdbfolng</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the SQL long/alias file names area, <a href=
|
|
"#SPTQDBFLNG">Qdb_Qdbflngn</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">46</td>
|
|
<td align="center" valign="top">2E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbflnnum</td>
|
|
<td align="left" valign="top">Number of long/alias file names for the
|
|
file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(16)</td>
|
|
<td align="left" valign="top">Reserved_47</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qdbfdict</td>
|
|
<td align="left" valign="top">Data dictionary file definition comment
|
|
text.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSQLLNAL">SQL Long/Alias File Name Area (Qdb_Qdbflngn)</a></h4>
|
|
|
|
<p>The SQL long/alias file name area contains the files alternate names that
|
|
can be used to access the file when using the system's SQL interfaces. You can
|
|
locate the <a name="SPTQDBFLNG"><em>Qdb_Qdbflngn</em></a> section with the
|
|
offset <a href="#SPTQDBFOLN">Qdbfolng</a> in the IDDU/SQL data dictionary
|
|
section.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qdbflnel</td>
|
|
<td align="left" valign="top" width="58%">Long/alias file name entry length in bytes. The
|
|
length of this entry. This is also the offset from Qdbflnen to the next
|
|
long/alias entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbflnfl</td>
|
|
<td align="left" valign="top">Long/alias file name flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbflndl</td>
|
|
<td align="left" valign="top">Long/alias file name input delimited indicator.
|
|
If on, indicates the long/alias file name was delimited when input.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(7)</td>
|
|
<td align="left" valign="top">Reserved_111</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbflnlg</td>
|
|
<td align="left" valign="top">Long/alias file name (non-delimited) length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(11)</td>
|
|
<td align="left" valign="top">Reserved_112</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qdbflnam</td>
|
|
<td align="left" valign="top">Long/alias file name (non-delimited).</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFILSCAR">File Scope Array (Qdb_Qdbfb)</a></h4>
|
|
|
|
<p>A file scope array, <a name="SPTQDBFBX">Qdb_Qdbfb</a>, is present for all
|
|
database files. The number of data members, <a href="#SPTFLBNUM">Qdbflbnum</a>,
|
|
contains the number of file scope array entries. Each entry contains a based on
|
|
physical file name and, optionally, a record format name.</p>
|
|
|
|
<p>Externally described physical files have one entry that names the physical
|
|
file record format. The entry's file name portion is not used.</p>
|
|
|
|
<p>Program described physical files have one entry for each data dictionary
|
|
record format. The entry names the data dictionary record format. The entry's
|
|
file name portion is not used.</p>
|
|
|
|
<p>Non-join logical files have one entry for each based on physical file. The
|
|
entry names the based on physical file and describes the logical file record
|
|
format to use with that file.</p>
|
|
|
|
<p>Join logical files have one entry for each based on physical file. The entry
|
|
names the based on physical file. Only the first entry describes the logical
|
|
file record format.</p>
|
|
|
|
<p>SQL view logical files have one entry for each based on physical file. The
|
|
entry names the based on physical file that will be either an externally
|
|
described physical file or another view logical file. Only the first entry
|
|
describes the logical file record format.</p>
|
|
|
|
<p>You can locate this section with the offset <a href="#SPTQDBFOS">Qdbfos</a>
|
|
in the FDT header section, Qdb_Qdbfh.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(48)</td>
|
|
<td align="left" valign="top" width="15%">Reserved_48</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfbf</td>
|
|
<td align="left" valign="top">Based on physical file name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">58</td>
|
|
<td align="center" valign="top">3A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfbfl</td>
|
|
<td align="left" valign="top">Based on physical file library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbft</td>
|
|
<td align="left" valign="top">Record format name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">78</td>
|
|
<td align="center" valign="top">4E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(37)</td>
|
|
<td align="left" valign="top">Reserved_49</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">115</td>
|
|
<td align="center" valign="top">73</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfbgky</td>
|
|
<td align="left" valign="top">Record format generic key field count, 0 through
|
|
120. If this file has an arrival sequence access path, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">117</td>
|
|
<td align="center" valign="top">75</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_50</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">119</td>
|
|
<td align="center" valign="top">77</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfblky</td>
|
|
<td align="left" valign="top">Record format maximum key length, 1 through 2000.
|
|
If this file has an arrival sequence access path, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">121</td>
|
|
<td align="center" valign="top">79</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_51</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">123</td>
|
|
<td align="center" valign="top">7B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbffogl</td>
|
|
<td align="left" valign="top">Record format generic key length, 1 through 2000.
|
|
If this file has an arrival sequence access path, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">125</td>
|
|
<td align="center" valign="top">7D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(3)</td>
|
|
<td align="left" valign="top">Reserved_52</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">128</td>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsoon</td>
|
|
<td align="left" valign="top">Number of select/omit statements, 1 through
|
|
32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">130</td>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFSOO">Qdbfsoof</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the select/omit specification array, <a href=
|
|
"#SPTQDBFSS">Qdb_Qdbfss</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">134</td>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFKSO">Qdbfksof</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the key specification array, <a href=
|
|
"#SPTQDBFK">Qdb_Qdbfk</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">138</td>
|
|
<td align="center" valign="top">8A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfkyct</td>
|
|
<td align="left" valign="top">Record format full key field count, 0 through
|
|
120. If this file has an arrival sequence access path, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">140</td>
|
|
<td align="center" valign="top">8C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfgenf</td>
|
|
<td align="left" valign="top">Generic key field count for all record formats
|
|
with this record format name, 0 through 120. If this file has an arrival
|
|
sequence access path, this field is not applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">142</td>
|
|
<td align="center" valign="top">8E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFODF">Qdbfodis</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a> to the distributed file definition section.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">146</td>
|
|
<td align="center" valign="top">92</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_53</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSOSARRY">Select/Omit Specification Array (Qdb_Qdbfss)</a></h4>
|
|
|
|
<p>The select/omit specification array (
|
|
<a name="SPTQDBFSS"><em>Qdb_Qdbfss</em></a>) entries describe the record format fields
|
|
to which the select/omit statement refer.</p>
|
|
|
|
<p>Non-join logical files can have one select/omit specification array for each
|
|
file scope array entry.</p>
|
|
|
|
<p>Join logical files can have only one select/omit specification array. The
|
|
first scope array entry for the join logical file contains the offset to the
|
|
select/omit specification array.</p>
|
|
|
|
<p>You can locate this section with the offset <a href="#SPTQDBFSOO">
|
|
Qdbfsoof</a> in the scope array entry section.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(2)</td>
|
|
<td align="left" valign="top" width="15%">Reserved_54</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfssso</td>
|
|
<td align="left" valign="top">Select/omit statement rule.
|
|
|
|
<dl compact>
|
|
<dt><em>A</em></dt>
|
|
|
|
<dd>A select/omit ANDed statement.</dd>
|
|
|
|
<dt><em>O</em></dt>
|
|
|
|
<dd>A select/omit omit statement.</dd>
|
|
|
|
<dt><em>S</em></dt>
|
|
|
|
<dd>A select/omit select statement.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qdbfssop</td>
|
|
<td align="left" valign="top">Select/omit statement comparison (ALL COMP
|
|
VALUES)
|
|
|
|
<dl compact>
|
|
<dt><em>AL</em></dt>
|
|
|
|
<dd>Statement comparison for all (ALL).</dd>
|
|
|
|
<dt><em>EQ</em></dt>
|
|
|
|
<dd>Statement comparison for equal to (COMP EQ).</dd>
|
|
|
|
<dt><em>GE</em></dt>
|
|
|
|
<dd>Statement comparison for greater than or equal to (COMP GE).</dd>
|
|
|
|
<dt><em>GT</em></dt>
|
|
|
|
<dd>Statement comparison for greater than (COMP GT).</dd>
|
|
|
|
<dt><em>LE</em></dt>
|
|
|
|
<dd>Statement comparison for less or equal to (COMP LE).</dd>
|
|
|
|
<dt><em>LT</em></dt>
|
|
|
|
<dd>Statement comparison for less than (COMP LT).</dd>
|
|
|
|
<dt><em>NE</em></dt>
|
|
|
|
<dd>Statement comparison for not equal to (COMP NE).</dd>
|
|
|
|
<dt><em>NG</em></dt>
|
|
|
|
<dd>Statement comparison for not greater than (COMP NG).</dd>
|
|
|
|
<dt><em>NL</em></dt>
|
|
|
|
<dd>Statement comparison for not less than (COMP NL).</dd>
|
|
|
|
<dt><em>VA</em></dt>
|
|
|
|
<dd>Statement comparison for values (VALUES).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfssfn</td>
|
|
<td align="left" valign="top">Select/omit statement field name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top">F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsspnum</td>
|
|
<td align="left" valign="top">Number of select/omit statement parameters, 1
|
|
through 32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qsosaf</td>
|
|
<td align="left" valign="top">Select/omit statement attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(7)</td>
|
|
<td align="left" valign="top">Reserved_55</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfssfi</td>
|
|
<td align="left" valign="top">Select/omit statement external or internal name
|
|
indicator. If on, indicates the statement is field name is an external record
|
|
format name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfssfj</td>
|
|
<td align="left" valign="top">Select/omit statement join reference number
|
|
(JREF), 1 through 256.
|
|
If this is not a join logical file, this field is not
|
|
applicable.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Reserved_56</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDBFSOS">Qdbfsoso</a></td>
|
|
<td align="left" valign="top">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the select/omit parameters, <a href=
|
|
"#SPTQDBFSP">Qdb_Qdbfsp</a>, for this select/omit statement.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRSELOMPM">Select/Omit Parameters (Qdb_Qdbfsp)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBFSP"><em>Qdb_Qdbfsp</em></a> section is a linked list of
|
|
parameter descriptions. It describes the parameter values for this particular
|
|
select/omit statement. The parameters are either a compare value or another
|
|
record format field.</p>
|
|
|
|
<p>You can locate this section with the offset <a href="#SPTQDBFSOS">
|
|
Qdbfsoso</a> in the select/omit array section, Qdb_Qdbfss.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfspno</td>
|
|
<td align="left" valign="top" width="58%">Offset from the start of the FDT header, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>, to the next select/omit parameter for this
|
|
select/omit statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfspln</td>
|
|
<td align="left" valign="top">Select/omit parameter length, 1 through
|
|
32,767.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfspin</td>
|
|
<td align="left" valign="top">Select/omit parameter attribute indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The parameter is a compare value.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The parameter is a internal record format field.</dd>
|
|
|
|
<dt><em>X'02'</em></dt>
|
|
|
|
<dd>The parameter is an external record format field.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qasopaf</td>
|
|
<td align="left" valign="top">Select/omit attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsigc</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) and/or graphic
|
|
data indicator. If on, indicates the non-field compare value contains DBCS or
|
|
graphic data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfshex</td>
|
|
<td align="left" valign="top">Hexadecimal data indicator. If on, indicates the
|
|
non-field compare value is hexadecimal data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfsnul</td>
|
|
<td align="left" valign="top">Null value indicator. If on, indicates the
|
|
non-field compare value is the null value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_57</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qdbfsppj</td>
|
|
<td align="left" valign="top">Select/omit parameter join reference number
|
|
(JREF), 1 through 256.
|
|
This field is not applicable if this file is not a join
|
|
logical file or the compare value is a non-field value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved_58</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qdbfspvl</td>
|
|
<td align="left" valign="top">Select/omit parameter compare value or the record
|
|
format field name. This is the compare value when Qdbfspin contains X'00'. This
|
|
is the record format field name when Qdbfspin contains X'01' or X'02'.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRKEYSPEC">Key Specification Array (Qdb_Qdbfk)</a></h4>
|
|
|
|
<p>The key specification array (<a name="SPTQDBFK"><em>Qdb_Qdbfk</em></a>)
|
|
entries describe the record format fields used in defining the file access
|
|
path.</p>
|
|
|
|
<p>Non-join logical files can have one key specification array for each file
|
|
scope array entry.</p>
|
|
|
|
<p>Join logical files can have only one key specification array. The first
|
|
scope array entry for the join logical file contains the offset to the file's
|
|
key specification array.</p>
|
|
|
|
<p>You can locate this section with the offset (<a href=
|
|
"#SPTQDBFKSO">Qdbfksof</a>) in the scope array entry section, Qdb_Qdbfb.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfkfld</td>
|
|
<td align="left" valign="top" width="58%">Key statement field name. X'40's indicate the key
|
|
statement is a *NONE key field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(3)</td>
|
|
<td align="left" valign="top">Reserved_59</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfksq</td>
|
|
<td align="left" valign="top">Key statement sequencing attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfksad</td>
|
|
<td align="left" valign="top">Ascending/descending sequence indicator. If on,
|
|
indicates the descending sequence (*DESCEND).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Qdbfksn</td>
|
|
<td align="left" valign="top">Numeric key field sequencing indicators.
|
|
|
|
<dl compact>
|
|
<dt><em>B'00'</em></dt>
|
|
|
|
<dd>The numeric key field sequences as a string of unsigned binary data
|
|
(UNSIGNED).</dd>
|
|
|
|
<dt><em>B'01'</em></dt>
|
|
|
|
<dd>The numeric key field ignores the sign of the field and sequences as
|
|
absolute value data (ABSVAL).</dd>
|
|
|
|
<dt><em>B'10'</em></dt>
|
|
|
|
<dd>The numeric key field considers the sign of the field and sequences as
|
|
signed value data (SIGNED).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_60</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfksac</td>
|
|
<td align="left" valign="top">Alternate collating sequence indicator (ALTSEQ).
|
|
If on, indicates the alternate collating sequence table applies to this key
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkszf</td>
|
|
<td align="left" valign="top">Force zone sequencing indicator. If on, indicates
|
|
the zone portion of the key field is zeroed so only the digit portion (furthest
|
|
right four bits) is used in key sequencing (DIGIT). If off, the zone portion is
|
|
not zeroed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfksdf</td>
|
|
<td align="left" valign="top">Force digit sequencing indicator. If on,
|
|
indicates the digit portion of the key field is zeroed so only the zone portion
|
|
(furthest left four bits) is used in key sequencing (ZONE). If off, the digit
|
|
portion is not zeroed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">D</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfkft</td>
|
|
<td align="left" valign="top">Key statement external or internal name
|
|
indicator. If on, indicates the field name is the external record format
|
|
name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(18)</td>
|
|
<td align="left" valign="top">Reserved_61</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDFSSPEC">Distributed File Definition Section and Partition Key
|
|
Array (Qdb_Qdbf_dis_pkeyarr)</a></h4>
|
|
|
|
<p>The distributed file definition section and partition key array (<a name=
|
|
"SPTQDBFDIS"><em>Qdb_Qdbf_dis_pkeyarr</em></a>) contains the node group name
|
|
and library name for the distributed file and the record format fields used in
|
|
defining the partition key for each scope entry.</p>
|
|
|
|
<p>You can locate this section with the offset <a href="#SPTQDBFODF">
|
|
Qdbfodis</a> in the scope array entry section, Qdb_Qdbfb.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbf_dis_ ndgpn</td>
|
|
<td align="left" valign="top" width="58%">Distributed file node group name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbf_dis_ ndgpl</td>
|
|
<td align="left" valign="top">Distributed file node group library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qdbf_dis_ nkyn</td>
|
|
<td align="left" valign="top">Number of partition key fields for this scope
|
|
entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(40)</td>
|
|
<td align="left" valign="top">Reserved_ 121</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">ARRAY of CHAR(32)</td>
|
|
<td align="left" valign="top">Qdbf_dis_ pkeyarr</td>
|
|
<td align="left" valign="top">Distributed file partition key array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbf_dis_ kname</td>
|
|
<td align="left" valign="top">Partition key field name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">74</td>
|
|
<td align="center" valign="top">4A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(22)</td>
|
|
<td align="left" valign="top">Reserved_ 122</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRJOUINFO">Journal Information (Qdb_Qdbfjoal)</a></h4>
|
|
|
|
<p>The section <a name="SPTQDBFJOX"><em>Qdb_Qdbfjoal</em></a> contains the
|
|
journal information for the physical file. You can locate this section with
|
|
offset <a href="#SPTQDBFJRN">Qdbfjorn</a> in the FDT header section, <a href=
|
|
"#SPTQDBFHX">Qdb_Qdbfh</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Qdbfojrn</td>
|
|
<td align="left" valign="top" width="58%">Journal name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdbfolib</td>
|
|
<td align="left" valign="top">Journal library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfojpt</td>
|
|
<td align="left" valign="top">Journaling options.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_106</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjbim</td>
|
|
<td align="left" valign="top">Before image indicator. If on, indicates the
|
|
before images are being journaled.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjaim</td>
|
|
<td align="left" valign="top">After image indicator. If on, indicates the after
|
|
images are being journaled.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_107</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdbfjomt</td>
|
|
<td align="left" valign="top">Omit journal entries indicator. If on, indicates
|
|
the open and close entries are being omitted from the journal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(3)</td>
|
|
<td align="left" valign="top">Reserved_108</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdbfjact</td>
|
|
<td align="left" valign="top">Journaling options.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The file is not being journaled.</dd>
|
|
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The file is being journaled.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qdbfljrn</td>
|
|
<td align="left" valign="top">Last journaling date stamp. This is the date that
|
|
corresponds to the most recent time that journaling was started. The date is in
|
|
internal standard format (ISF), CYYMMDDHHMMSS.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(29)</td>
|
|
<td align="left" valign="top">Reserved_105</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRTFIL2">FILD0200 Format (Qdb_Qddfmt Structure)</a></h4>
|
|
|
|
<p>FILD0200 provides the format used by the records of the specified file. This
|
|
structure is also used by the QQQQRY API to get data from the named file. <a
|
|
href="#FIGRFMTD">FILD0200 Format</a> shows how this information is organized.
|
|
When more than one entry can appear, the figure indicates this as in <strong>
|
|
(6)</strong>. Descriptions and offsets of the fields in this structure are in
|
|
the tables immediately following <a href="#FIGRFMTD">FILD0200 Format</a>.</p>
|
|
|
|
<p>The descriptions and offsets are available in the include source supplied on
|
|
the system. You can see this source in source file H, member name QDBRTVFD, in
|
|
the QSYSINC library.</p>
|
|
|
|
<p><strong><a name="FIGRFMTD">FILD0200 Format</a></strong></p>
|
|
|
|
<p><img src="RBAFX500.gif" alt="FILD0200 Format."></p>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRFDHDR">Format Definition Header (Qdb_Qddfmt)</a></h4>
|
|
|
|
<p>The <a name="SPTQDDFMTX"><em>Qdb_Qddfmt</em></a> section is always located
|
|
at the beginning of the returned data area.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qddbyrtn</td>
|
|
<td align="left" valign="top" width="58%">Bytes returned. The total length, in bytes, of
|
|
the data returned.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddbyava</td>
|
|
<td align="left" valign="top">Bytes available. The total length, in bytes, of
|
|
the format.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(24)</td>
|
|
<td align="left" valign="top">Reserved_62</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfmtf</td>
|
|
<td align="left" valign="top">Record format DBCS flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrity</td>
|
|
<td align="left" valign="top">Double byte character set and/or graphic data. If
|
|
on, indicates the format contains DBCS or graphic data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrilt</td>
|
|
<td align="left" valign="top">Double byte character set and/or graphic
|
|
literals. If on, indicates the format contains DBCS or graphic literals.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfritx</td>
|
|
<td align="left" valign="top">Double byte character set record format text
|
|
description. If on, indicates the text description contains DBCS data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrmep</td>
|
|
<td align="left" valign="top">Mapping error possible. If on, indicates the
|
|
format contains fields that may return mapping errors.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrdrv</td>
|
|
<td align="left" valign="top">Derived fields (logical files only). If on,
|
|
indicates the format contains fields derived from fields in the physical file
|
|
on which the logical file is based, or from fields in this logical file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrni</td>
|
|
<td align="left" valign="top">Neither or input-only files (logical files only).
|
|
If on, indicates the format contains fields that cannot be used for input or
|
|
output operations, or fields that can be used for input operations only.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrdfi</td>
|
|
<td align="left" valign="top">Default values (physical files only). If on,
|
|
indicates the format contains fields with default values (DFT).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfcato</td>
|
|
<td align="left" valign="top">Concatenated fields (logical files only). If on,
|
|
indicates the format contains fields that are concatenations of two or more
|
|
fields from the physical file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQFXLTO">Qddfxlto</a></td>
|
|
<td align="left" valign="top">Offset from the start of the <a href=
|
|
"#SPTQDDFMTX">Qdb_Qddfmt</a> header to the translate table specifications, <a
|
|
href="#SPTQDDFXL">Qddfxl</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">37</td>
|
|
<td align="center" valign="top">25</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfrcao</td>
|
|
<td align="left" valign="top">Offset from the start of the <a href=
|
|
"#SPTQDDFMTX">Qdb_Qddfmt</a> header to the case selection specifications, <a
|
|
href="#SPTQDDFCSL">Qddfcsl</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">41</td>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFDICO">Qddfdico</a></td>
|
|
<td align="left" valign="top">Offset from the start of the <a href=
|
|
"#SPTQDDFMTX">Qdb_Qddfmt</a> header to the IDDU/SQL dictionary format
|
|
information, <a href="#SPTQDDFDIC">Qddfdic</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">45</td>
|
|
<td align="center" valign="top">2D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfrcid</td>
|
|
<td align="left" valign="top">Common coded character set identifier. Before
|
|
using this field, see if <a href="#SPTQDDFRSD">Qddfrsid</a> is zero. If it is
|
|
zero, not all character fields in the format use the same CCSID and this field
|
|
is not valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">47</td>
|
|
<td align="center" valign="top">2F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfsrcd</td>
|
|
<td align="left" valign="top">Source file coded character set identifier. The
|
|
CCSID for the character portion of the source file containing the DDS used to
|
|
create the format.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">49</td>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfrtcd</td>
|
|
<td align="left" valign="top">Format text coded character set identifier. The
|
|
CCSID for the information about the text description.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">51</td>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfrlcd</td>
|
|
<td align="left" valign="top">Long comment coded character set identifier. The
|
|
CCSID for the information about the format content and purpose.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">53</td>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(7)</td>
|
|
<td align="left" valign="top">Reserved_64</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddftflgs</td>
|
|
<td align="left" valign="top">Format flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfr12</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfucsd</td>
|
|
<td align="left" valign="top">If on, the format contains UCS-2 fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdlnk</td>
|
|
<td align="left" valign="top">If on, the format contains datalink fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdudt</td>
|
|
<td align="left" valign="top">If on, the format contains user-defined type
|
|
fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdlob</td>
|
|
<td align="left" valign="top">If on, the format contains large object
|
|
fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfutfd</td>
|
|
<td align="left" valign="top">If on, the format contains a UTF-8 or UTF-16
|
|
field.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_114</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddflgs</td>
|
|
<td align="left" valign="top">Flags</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_65</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrvar</td>
|
|
<td align="left" valign="top">Variable length fields. If on, indicates the
|
|
format contains variable length fields (VARLEN).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrgph</td>
|
|
<td align="left" valign="top">Graphic fields. If on, indicates the format
|
|
contains graphic data fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrdtt</td>
|
|
<td align="left" valign="top">Date, time, or timestamp fields. If on, indicates
|
|
the format contains data, time, or timestamp fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfrnul</td>
|
|
<td align="left" valign="top">Null capable fields. If on, indicates the format
|
|
contains null capable fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top"><a name="SPTQDDFRSD">Qddfrsid</a></td>
|
|
<td align="left" valign="top">Common coded character set identifier flag. If
|
|
on, indicates all character fields use the same CCSID.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfesid</td>
|
|
<td align="left" valign="top">Explicit coded character set identifier flag. If
|
|
on, indicates a CCSID was specified for the format file or for one or more
|
|
fields in the format.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_66</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">62</td>
|
|
<td align="center" valign="top">3E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Reserved_67</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">66</td>
|
|
<td align="center" valign="top">42</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfrlen</td>
|
|
<td align="left" valign="top">Record length. The sum of the lengths of all
|
|
format fields excluding neither fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="center" valign="top">46</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfname</td>
|
|
<td align="left" valign="top">Record format name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qddfseq</td>
|
|
<td align="left" valign="top">Level identifier. The modification level
|
|
identifier of the format, used to verity the format has not changed since
|
|
compile time, if LVLCHK(*YES) is requested.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">93</td>
|
|
<td align="center" valign="top">5D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(50)</td>
|
|
<td align="left" valign="top">Qddftext</td>
|
|
<td align="left" valign="top">Text description (TEXT)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">143</td>
|
|
<td align="center" valign="top">8F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top"><a name="SPTQDDFFNM">Qddffldnum</a></td>
|
|
<td align="left" valign="top">Number of fields. The number of fields in the
|
|
format. There is one field header for each field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">145</td>
|
|
<td align="center" valign="top">91</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddf_Identity_ Off</td>
|
|
<td align="left" valign="top">Offset from the start of the Format header to the
|
|
identity information, <a href="#SPTQDDFIDCL">Qddfidcl</a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">256</td>
|
|
<td align="center" valign="top">100</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of CHAR(*)</td>
|
|
<td align="left" valign="top">Qddffldx</td>
|
|
<td align="left" valign="top">Start of field definition array
|
|
(Qdb_Qddffld).</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFLDHDER">Field Header (Qdb_Qddffld)</a></h4>
|
|
|
|
<p>This section is located immediately after the <a href="#SPTQDDFMTX">
|
|
Qdb_Qddfmt</a> header. The number of entries in this structure is defined by
|
|
variable <a href="#SPTQDDFFNM">Qddffldnum</a> in the Qdb_Qddfmt header. This
|
|
structure is to be defined at variable Qddffldx in
|
|
the Qdb_Qddfmt header.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdefl</td>
|
|
<td align="left" valign="top" width="58%">Length of field header structure. The length of
|
|
each occurrence of the field header structure, including all subsections.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(30)</td>
|
|
<td align="left" valign="top">Qddffldi</td>
|
|
<td align="left" valign="top">Internal field name. The name of the physical
|
|
format field. If this is a logical format, the name of the physical field on
|
|
which the logical field is based.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(30)</td>
|
|
<td align="left" valign="top">Qddfflde</td>
|
|
<td align="left" valign="top">External field name. If this is a logical format,
|
|
the logical format field name. If this is a physical format, the internal name
|
|
is a duplicate of Qddfflde.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top"><a name="SPTQDDFTYP">Qddfftyp</a></td>
|
|
<td align="left" valign="top">Data type.
|
|
|
|
<dl compact>
|
|
<dt><em>X'0000'</em></dt>
|
|
|
|
<dd>BINARY</dd>
|
|
|
|
<dt><em>X'0001'</em></dt>
|
|
|
|
<dd>FLOAT</dd>
|
|
|
|
<dt><em>X'0002'</em></dt>
|
|
|
|
<dd>ZONED DECIMAL</dd>
|
|
|
|
<dt><em>X'0003'</em></dt>
|
|
|
|
<dd>PACKED DECIMAL</dd>
|
|
|
|
<dt><em>X'0004'</em></dt>
|
|
|
|
<dd>CHARACTER</dd>
|
|
|
|
<dt><em>X'8004'</em></dt>
|
|
|
|
<dd>VAR CHARACTER</dd>
|
|
|
|
<dt><em>X'0005'</em></dt>
|
|
|
|
<dd>GRAPHIC</dd>
|
|
|
|
<dt><em>X'8005'</em></dt>
|
|
|
|
<dd>VAR GRAPHIC</dd>
|
|
|
|
<dt><em>X'0006'</em></dt>
|
|
|
|
<dd>DBCS-CAPABLE</dd>
|
|
|
|
<dt><em>X'8006'</em></dt>
|
|
|
|
<dd>VAR DBCS-CAPABLE</dd>
|
|
|
|
<dt><em>X'000B'</em></dt>
|
|
|
|
<dd>DATE</dd>
|
|
|
|
<dt><em>X'000C'</em></dt>
|
|
|
|
<dd>TIME</dd>
|
|
|
|
<dt><em>X'000D'</em></dt>
|
|
|
|
<dd>TIMESTAMP</dd>
|
|
|
|
<dt><em>X'4004'</em></dt>
|
|
|
|
<dd>BLOB/CLOB</dd>
|
|
|
|
<dt><em>X'4005'</em></dt>
|
|
|
|
<dd>DBCLOB</dd>
|
|
|
|
<dt><em>X'4006'</em></dt>
|
|
|
|
<dd>CLOB-OPEN</dd>
|
|
|
|
<dt><em>X'8044'</em></dt>
|
|
|
|
<dd>DATALINK-CHAR</dd>
|
|
|
|
<dt><em>X'8046'</em></dt>
|
|
|
|
<dd>DATALINK-OPEN</dd>
|
|
|
|
<dt><em>X'FFFF'</em></dt>
|
|
|
|
<dd>NULL</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">66</td>
|
|
<td align="center" valign="top">42</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top"><a name="SPTDDFFIOB">Qddffiob</a></td>
|
|
<td align="left" valign="top">Usage
|
|
|
|
<dl compact>
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The field can be used for input only.</dd>
|
|
|
|
<dt><em>X'02'</em></dt>
|
|
|
|
<dd>Output only.</dd>
|
|
|
|
<dt><em>X'03'</em></dt>
|
|
|
|
<dd>Both input and output.</dd>
|
|
|
|
<dt><em>X'04'</em></dt>
|
|
|
|
<dd>Neither input nor output.</dd>
|
|
|
|
<dt><em>X'FF'</em></dt>
|
|
|
|
<dd>The usage is unknown.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddffobo</td>
|
|
<td align="left" valign="top">Output buffer offset. The offset of this field
|
|
from the start of the output buffer.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">71</td>
|
|
<td align="center" valign="top">47</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddffibo</td>
|
|
<td align="left" valign="top">Input buffer offset. The offset of this field
|
|
from the start of the input buffer.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">75</td>
|
|
<td align="center" valign="top">4B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddffldb</td>
|
|
<td align="left" valign="top">Length. The length of the field. For character
|
|
fields: the number of characters. For float fields: 4 for single, 8 for double.
|
|
For variable length fields: the maximum the field can be plus 2. For date,
|
|
time, or timestamp fields: the length of the formatted data. For graphic data
|
|
fields: the number of bytes. For LOB fields: the number of bytes in the
|
|
buffer.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">77</td>
|
|
<td align="center" valign="top">4D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddffldd</td>
|
|
<td align="left" valign="top">Number of digits. The number of digits in the
|
|
field. For numeric fields: the number of digits. For graphic data fields: the
|
|
number of DBCS characters the field can contain.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">79</td>
|
|
<td align="center" valign="top">4F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddffldp</td>
|
|
<td align="left" valign="top">Decimal positions. The number of position to the
|
|
right of the decimal point.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">81</td>
|
|
<td align="center" valign="top">51</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddffkbs</td>
|
|
<td align="left" valign="top">Keyboard shift (RESHIFT) The keyboard shift
|
|
attribute of the field.
|
|
|
|
<dl compact>
|
|
<dt><em>X</em></dt>
|
|
|
|
<dd>Alphabetic only.</dd>
|
|
|
|
<dt><em>A</em></dt>
|
|
|
|
<dd>Alphameric shift.</dd>
|
|
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>Numeric shift.</dd>
|
|
|
|
<dt><em>S</em></dt>
|
|
|
|
<dd>Signed numeric.</dd>
|
|
|
|
<dt><em>Y</em></dt>
|
|
|
|
<dd>Numeric only.</dd>
|
|
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>Digits only.</dd>
|
|
|
|
<dt><em>M</em></dt>
|
|
|
|
<dd>Numeric only character.</dd>
|
|
|
|
<dt><em>W</em></dt>
|
|
|
|
<dd>Katakana.</dd>
|
|
|
|
<dt><em>H</em></dt>
|
|
|
|
<dd>Hexadecimal.</dd>
|
|
|
|
<dt><em>I</em></dt>
|
|
|
|
<dd>Inhibit keyboard entry.</dd>
|
|
|
|
<dt><em>J</em></dt>
|
|
|
|
<dd>DBCS only.</dd>
|
|
|
|
<dt><em>E</em></dt>
|
|
|
|
<dd>DBCS either.</dd>
|
|
|
|
<dt><em>O</em></dt>
|
|
|
|
<dd>DBCS open.</dd>
|
|
|
|
|
|
|
|
<dt><em>B</em></dt>
|
|
|
|
<dd>Binary character.</dd>
|
|
|
|
|
|
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No shift expected.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddffldst</td>
|
|
<td align="left" valign="top">Field status byte 1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffiat</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) alternate type
|
|
field. If on, indicates the alternate type for this field contains DBCS
|
|
data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffitx</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) field text
|
|
description. If on, indicates the text description contains DBCS data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffich</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) column headings.
|
|
If on, indicates the column headings contains DBCS data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffivc</td>
|
|
<td align="left" valign="top">Double-byte character set (DBCS) validity
|
|
checking literals. If on, indicates the compare, range, or values literals
|
|
contain DBCS data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffrnd</td>
|
|
<td align="left" valign="top">Rounding. Rounding method for the field. If on,
|
|
indicates round insignificant decimal digits. If off, indicates truncate
|
|
insignificant decimal digits.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffcid</td>
|
|
<td align="left" valign="top">Character identifier flag. If on, indicates a
|
|
character identifier was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">82</td>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_62</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">83</td>
|
|
<td align="center" valign="top">53</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfjref</td>
|
|
<td align="left" valign="top">Join reference (JREF) (logical files only). For
|
|
fields whose names are specified in more than one physical file, this values
|
|
identifies which physical file contains the field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">85</td>
|
|
<td align="center" valign="top">55</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddffldst2</td>
|
|
<td align="left" valign="top">Field status byte 2.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">85</td>
|
|
<td align="center" valign="top">55</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffnul</td>
|
|
<td align="left" valign="top">Allow null value (ALWNULL). If on, indicates the
|
|
null value is allowed for this field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">85</td>
|
|
<td align="center" valign="top">55</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffdft</td>
|
|
<td align="left" valign="top">Column default value. If on, indicates the column
|
|
does not have a default value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">85</td>
|
|
<td align="center" valign="top">55</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffvar</td>
|
|
<td align="left" valign="top">If on, indicates the column is a variable length
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">85</td>
|
|
<td align="center" valign="top">55</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_70</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddflgs2</td>
|
|
<td align="left" valign="top">Flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfcorr</td>
|
|
<td align="left" valign="top">Correlated field. If on, indicates this is a
|
|
correlated field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffrrn</td>
|
|
<td align="left" valign="top">File relative record number. If on, indicates
|
|
this is a relative record number field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_71</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">86</td>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffmep</td>
|
|
<td align="left" valign="top">Mapping errors possible. If on, indicates the
|
|
field may return data mapping errors.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">87</td>
|
|
<td align="center" valign="top">57</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top"><a name="SPTDDFVARX">Qddfvarx</a></td>
|
|
<td align="left" valign="top">Variable field index. Index into the list of all
|
|
variable field values for the query.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">89</td>
|
|
<td align="center" valign="top">59</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_72</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">91</td>
|
|
<td align="center" valign="top">5B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddflalc</td>
|
|
<td align="left" valign="top">Allocated length. The number of bytes allocated
|
|
for the field in the fixed portion of the file.
|
|
|
|
<p>Or:</p>
|
|
|
|
<p>Date/time/timestamp length. The number of bytes the based on field
|
|
occupies.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">93</td>
|
|
<td align="center" valign="top">5D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top"><a name="SPTDDFDTTF">Qddfdttf</a></td>
|
|
<td align="left" valign="top">Date format (DATFMT) or time format (TIMFMT),
|
|
depending on the use of the field. This field is not valid unless <a href=
|
|
"#SPTQDDFTYP">Qddfftyp</a> is X'000B', X'000C', or X'000D' except for the
|
|
following cases. DATFMT and TIMFMT are valid on '0002'X type logical file
|
|
fields having based-on physical file fields that are '000B'X and '000C'X.
|
|
DATFMT is valid on '0003'X and '0004'X type logical file fields having based-on
|
|
physical file fields that are '000B'X. Some DATFMTs are valid only for the the
|
|
'0002'X, '0003'X, and '0004'X fields having based-on physical file '000B'X
|
|
fields and are identified (by pseudo date) below.
|
|
|
|
<dl compact>
|
|
<dt><em>X'FE'</em></dt>
|
|
|
|
<dd>The format associated with the job.</dd>
|
|
|
|
<dt><em>X'FF'</em></dt>
|
|
|
|
<dd>The format associated with the QDT.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The *USA format.</dd>
|
|
|
|
<dt><em>X'03'</em></dt>
|
|
|
|
<dd>The *ISO format.</dd>
|
|
|
|
<dt><em>X'05'</em></dt>
|
|
|
|
<dd>The *EUR format.</dd>
|
|
|
|
<dt><em>X'07'</em></dt>
|
|
|
|
<dd>The *JIS format (date only).</dd>
|
|
|
|
<dt><em>X'09'</em></dt>
|
|
|
|
<dd>The SAA timestamp.</dd>
|
|
|
|
<dt><em>X'17'</em></dt>
|
|
|
|
<dd>The *MDY format (date only).</dd>
|
|
|
|
<dt><em>X'18'</em></dt>
|
|
|
|
<dd>The *DMY format (date only).</dd>
|
|
|
|
<dt><em>X'19'</em></dt>
|
|
|
|
<dd>The *YMD format (date only).</dd>
|
|
|
|
<dt><em>X'1A'</em></dt>
|
|
|
|
<dd>The *JUL format (date only).</dd>
|
|
|
|
<dt><em>X'1B'</em></dt>
|
|
|
|
<dd>The *HMS format (time only).</dd>
|
|
|
|
<dt><em>X'25'</em></dt>
|
|
|
|
<dd>The *CMDY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'26'</em></dt>
|
|
|
|
<dd>The *CDMY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'27'</em></dt>
|
|
|
|
<dd>The *CYMD format (pseudo date).</dd>
|
|
|
|
<dt><em>X'28'</em></dt>
|
|
|
|
<dd>The *MDYY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'29'</em></dt>
|
|
|
|
<dd>The *DMYY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'2A'</em></dt>
|
|
|
|
<dd>The *YYMD format (pseudo date).</dd>
|
|
|
|
<dt><em>X'2B'</em></dt>
|
|
|
|
<dd>The *YM format (pseudo date).</dd>
|
|
|
|
<dt><em>X'2C'</em></dt>
|
|
|
|
<dd>The *MY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'2D'</em></dt>
|
|
|
|
<dd>The *YYM format (pseudo date).</dd>
|
|
|
|
<dt><em>X'2E'</em></dt>
|
|
|
|
<dd>The *MYY format (pseudo date).</dd>
|
|
|
|
<dt><em>X'30'</em></dt>
|
|
|
|
<dd>The *LONGJUL format (pseudo date).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">94</td>
|
|
<td align="center" valign="top">5E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top"><a name="SPTDDFDTTS">Qddfdtts</a></td>
|
|
<td align="left" valign="top">Date separator (DATSEP) or Time separator
|
|
(TIMSEP) This field is not valid unless <a href="#SPTQDDFTYP">Qddfftyp</a> is
|
|
X'000B', X'000C', or X'000D'.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The separator associated with the job.</dd>
|
|
|
|
<dt><em>X'EE'</em></dt>
|
|
|
|
<dd>The implied separator is used.</dd>
|
|
|
|
<dt><em>'/'</em></dt>
|
|
|
|
<dd>The slash is used.</dd>
|
|
|
|
<dt><em>'-'</em></dt>
|
|
|
|
<dd>The dash is used.</dd>
|
|
|
|
<dt><em>'.'</em></dt>
|
|
|
|
<dd>The period is used.</dd>
|
|
|
|
<dt><em>' '</em></dt>
|
|
|
|
<dd>The blank is used.</dd>
|
|
|
|
<dt><em>':'</em></dt>
|
|
|
|
<dd>The colon is used.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">95</td>
|
|
<td align="center" valign="top">5F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfcsid</td>
|
|
<td align="left" valign="top">Common coded character set identifier (CCSID).
|
|
|
|
<dl compact>
|
|
<dt><em>00000</em></dt>
|
|
|
|
<dd>The CCSID associated with the job is used.</dd>
|
|
|
|
<dt><em>65535</em></dt>
|
|
|
|
<dd>No data translation is done.</dd>
|
|
|
|
<dt><em>nnnnn</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">97</td>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddftsid</td>
|
|
<td align="left" valign="top">Text description common coded character set
|
|
identifier.
|
|
|
|
<dl compact>
|
|
<dt><em>00000</em></dt>
|
|
|
|
<dd>The CCSID associated with the job is used.</dd>
|
|
|
|
<dt><em>65535</em></dt>
|
|
|
|
<dd>No data translation is done.</dd>
|
|
|
|
<dt><em>nnnnn</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">99</td>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfhsid</td>
|
|
<td align="left" valign="top">Column heading common coded character set
|
|
identifier.
|
|
|
|
<dl compact>
|
|
<dt><em>00000</em></dt>
|
|
|
|
<dd>The CCSID associated with the job is used.</dd>
|
|
|
|
<dt><em>65535</em></dt>
|
|
|
|
<dd>No data translation is done.</dd>
|
|
|
|
<dt><em>nnnnn</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">101</td>
|
|
<td align="center" valign="top">65</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddflsid</td>
|
|
<td align="left" valign="top">Long comment common coded character set
|
|
identifier.
|
|
|
|
<dl compact>
|
|
<dt><em>00000</em></dt>
|
|
|
|
<dd>The CCSID associated with the job is used.</dd>
|
|
|
|
<dt><em>65535</em></dt>
|
|
|
|
<dd>No data translation is done.</dd>
|
|
|
|
<dt><em>nnnnn</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">103</td>
|
|
<td align="center" valign="top">67</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfldur</td>
|
|
<td align="left" valign="top">Labeled duration. The type of labeled duration
|
|
this field defines.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The field not a labeled duration.</dd>
|
|
|
|
<dt><em>X'0D'</em></dt>
|
|
|
|
<dd>Year/years.</dd>
|
|
|
|
<dt><em>X'0E'</em></dt>
|
|
|
|
<dd>Month/months.</dd>
|
|
|
|
<dt><em>X'0F'</em></dt>
|
|
|
|
<dd>Day/days.</dd>
|
|
|
|
<dt><em>X'10'</em></dt>
|
|
|
|
<dd>Hour/hours.</dd>
|
|
|
|
<dt><em>X'11'</em></dt>
|
|
|
|
<dd>Minute/minutes.</dd>
|
|
|
|
<dt><em>X'12'</em></dt>
|
|
|
|
<dd>Second/seconds.</dd>
|
|
|
|
<dt><em>X'13'</em></dt>
|
|
|
|
<dd>Microsecond/microseconds.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">
|
|
68</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfflgs</td>
|
|
<td align="left" valign="top">Flags. These flags indicate the user-specified
|
|
value for the field at the time the format was created. These flags only apply to
|
|
date, time, and timestamp fields. If the format was ever shared,
|
|
these flags may not be applicable to the file for which the API was called.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdddatfmt_dft</td>
|
|
<td align="left" valign="top">If on, indicates DATFMT was defaulted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdddatfmt_job</td>
|
|
<td align="left" valign="top">If on, indicates DATFMT(*JOB) was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdddatsep_dft</td>
|
|
<td align="left" valign="top">If on, indicates DATSEP was defaulted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qdddatsep_job</td>
|
|
<td align="left" valign="top">If on, indicates DATSEP(*JOB) was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddtimfmt_dft</td>
|
|
<td align="left" valign="top">If on, indicates TIMFMT was defaulted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddtimsep_dft</td>
|
|
<td align="left" valign="top">If on, indicates TIMSEP was defaulted.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddtimsep_job</td>
|
|
<td align="left" valign="top">If on, indicates TIMSEP(*JOB) was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">QddSAAfmt</td>
|
|
<td align="left" valign="top">SAA format was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">105</td>
|
|
<td align="center" valign="top">69</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfwsid</td>
|
|
<td align="left" valign="top">Edit word common coded character set identifier.
|
|
|
|
<dl compact>
|
|
<dt><em>00000</em></dt>
|
|
|
|
<dd>The CCSID associated with the job is used.</dd>
|
|
|
|
<dt><em>65535</em></dt>
|
|
|
|
<dd>No data translation is done.</dd>
|
|
|
|
<dt><em>nnnnn</em></dt>
|
|
|
|
<dd>The CCSID.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">107</td>
|
|
<td align="center" valign="top">6B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Reserved_61</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">108</td>
|
|
<td align="center" valign="top">6C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Reserved_62</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">109</td>
|
|
<td align="center" valign="top">6D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BIN(2)</td>
|
|
<td align="left" valign="top">Reserved_63</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddflagco</td>
|
|
<td align="left" valign="top">Flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(3)</td>
|
|
<td align="left" valign="top">Reserved_64</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffucs</td>
|
|
<td align="left" valign="top">If on, indicates the column is a UCS-2
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfudt</td>
|
|
<td align="left" valign="top">If on, indicates the column is a user-defined
|
|
type field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddf_Identity_ Col</td>
|
|
<td align="left" valign="top">If on, indicates the column is an identity
|
|
column.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddf_Rowid_ Col</td>
|
|
<td align="left" valign="top">If on, indicates the column is a row ID
|
|
column.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfutf</td>
|
|
<td align="left" valign="top">If on, indicates the field is a UTF-8 or
|
|
UTF-16 field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">112</td>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(5)</td>
|
|
<td align="left" valign="top">Qdducs2co</td>
|
|
<td align="left" valign="top">UCS-2 Field Information</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">112</td>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdspl</td>
|
|
<td align="left" valign="top">Used with a UCS-2 field when the CCSID
|
|
keyword modifies the display length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">114</td>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfucsp</td>
|
|
<td align="left" valign="top">When referenced by a printer file, indicates whether UCS-2
|
|
characters are to be converted before printing. If on, do not convert.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">114</td>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfucsm</td>
|
|
<td align="left" valign="top">Minimum-display-length-flag, when referenced by a display
|
|
file. If on,
|
|
<a href="#SPTQDDDERV">Qddfdspl</a> contains the number of display positions allowed equal to the field length defined in the DDS.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">114</td>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfucsl</td>
|
|
<td align="left" valign="top">Length-of-display-field_flag, when referenced by a display file. If on, the DDS for the field provided the allowed number of display positions.
|
|
This number is in <a href="#SPTQDDDERV">Qddfdspl</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">114</td>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_130</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">115</td>
|
|
<td align="center" valign="top">73</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qddfencode</td>
|
|
<td align="left" valign="top">Encoding scheme for field's CCSID. '0000'X means no
|
|
encoding scheme.</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td align="center" valign="top">117</td>
|
|
<td align="center" valign="top">75</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(63)</td>
|
|
<td align="left" valign="top">Reserved_74</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">180</td>
|
|
<td align="center" valign="top">B4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDCPLX">Qddfcplx</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
field information if the field was a user-defined type, datalink, or large
|
|
object. See structure Qdb_Qddfcpli.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">184</td>
|
|
<td align="center" valign="top">B8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfbmaxl</td>
|
|
<td align="left" valign="top">Maximum length of the large object field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">188</td>
|
|
<td align="center" valign="top">BC</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfbpadl</td>
|
|
<td align="left" valign="top">Pad length of the large object field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">190</td>
|
|
<td align="center" valign="top">BE</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfdicd</td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
IDDU/SQL dictionary field information, <a href="#SPTQDFDICF">Qddfdicf</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">194</td>
|
|
<td align="center" valign="top">C2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFDFTD">Qddfdftd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
default value description, <a href="#SPTQDDFDFT">Qddfdft</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="bottom">198</td>
|
|
<td align="center" valign="bottom">C6</td>
|
|
<td align="center" valign="bottom"><br>
|
|
</td>
|
|
<td align="left" valign="bottom">BINARY(4)</td>
|
|
<td align="left" valign="bottom"><a name="SPTQFDERD">Qddfderd</a></td>
|
|
<td align="left" valign="bottom">Offset from the start of the field header to
|
|
the derived field description (or to the concatenated field description if its
|
|
file is externally described), <a href="#SPTQDDDERV">Qddfderv</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">202</td>
|
|
<td align="center" valign="top">CA</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Reserved_75</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">208</td>
|
|
<td align="center" valign="top">D0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDTXTD">Qddftxtd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
field text description, <a href="#SPTQDFFTT">Qddfftxt</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">212</td>
|
|
<td align="center" valign="top">D4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_102</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">214</td>
|
|
<td align="center" valign="top">D6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDDFRED">Qddfrefd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
field reference information, <a href="#SPTQDFREFI">Qddfrefi</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">218</td>
|
|
<td align="center" valign="top">DA</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfedtl</td>
|
|
<td align="left" valign="top">Length of the edit code/edit word for the
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">220</td>
|
|
<td align="center" valign="top">DC</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFEDTD">Qddfedtd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
edit code/edit word information, <a href="#SPTQDFEDCW">Qddfedcw</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">224</td>
|
|
<td align="center" valign="top">E0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Reserved_76</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">226</td>
|
|
<td align="center" valign="top">E2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDDFCHD">Qddfchd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
column heading information, <a href="#SPTQDFCOLH">Qddfcolh</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">230</td>
|
|
<td align="center" valign="top">E6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfvckl</td>
|
|
<td align="left" valign="top">Length of validity checking data present for the
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">232</td>
|
|
<td align="center" valign="top">E8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFVCK">Qddfvckd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
validity checking data, <a href="#SPTQDFVCHK">Qddfvchk</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">236</td>
|
|
<td align="center" valign="top">EC</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfxals</td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
alias name entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">240</td>
|
|
<td align="center" valign="top">F0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFFPND">Qddffpnd</a></td>
|
|
<td align="left" valign="top">Offset from the start of the field header to the
|
|
field prompted numeric editing information, <a href="#SPTQDDDFNE">
|
|
Qddfdfne</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">244</td>
|
|
<td align="center" valign="top">F4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Reserved_77</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">252</td>
|
|
<td align="center" valign="top">FC</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfvpx</td>
|
|
<td align="left" valign="top">Start of the variable portion of the field
|
|
description.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRREFINFO">Reference Information (Qdb_Qddfrefi)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFREFI"><em>Qdb_Qddfrefi</em></a> section
|
|
with the offset <a href="#SPTQDDFRED">Qddfrefd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(1)</td>
|
|
<td align="left" valign="top" width="15%">Qddfrcde</td>
|
|
<td align="left" valign="top" width="58%">Modification flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdupe</td>
|
|
<td align="left" valign="top">Modifications. If on, indicates the field has
|
|
been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfnmec</td>
|
|
<td align="left" valign="top">Name modification. If on, indicates the name of
|
|
the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddftypc</td>
|
|
<td align="left" valign="top">Data type modification. If on, indicates the data
|
|
type of the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddflenc</td>
|
|
<td align="left" valign="top">Field length modification. If on, indicates the
|
|
length of the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdecc</td>
|
|
<td align="left" valign="top">Precision modification. If on, indicates the
|
|
precision of the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfedtc</td>
|
|
<td align="left" valign="top">Edit information modification. If on, indicates
|
|
the edit information of the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfvc</td>
|
|
<td align="left" valign="top">Validity checking information modification. If
|
|
on, indicates the validity checking information of the field has been
|
|
modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfothr</td>
|
|
<td align="left" valign="top">Other modification. If on, indicates other
|
|
information of the field has been modified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfrfil</td>
|
|
<td align="left" valign="top">Reference file name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfrlib</td>
|
|
<td align="left" valign="top">Reference file library.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfrfmt</td>
|
|
<td align="left" valign="top">Referenced record format.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(30)</td>
|
|
<td align="left" valign="top">Qddfrfld</td>
|
|
<td align="left" valign="top">Referenced field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(19)</td>
|
|
<td align="left" valign="top">Reserved_78</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFPNEDIN">Field Prompted Numeric Editing Information
|
|
(Qdb_Qddfdfne)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDDFNE"><em>Qdb_Qddfdfne</em></a> section
|
|
with the offset <a href="#SPTQDFFPND">Qddffpnd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(2)</td>
|
|
<td align="left" valign="top" width="15%">Reserved_80</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top"><a name="SPTQFDDTS">Qddfddts</a></td>
|
|
<td align="left" valign="top">Date separator (DATSEP) or Time separator
|
|
(TIMSEP).
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>This is not a date or time field.</dd>
|
|
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The period (.).</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>The slash (/).</dd>
|
|
|
|
<dt><em>3</em></dt>
|
|
|
|
<dd>The colon (:).</dd>
|
|
|
|
<dt><em>4</em></dt>
|
|
|
|
<dd>The dash (-).</dd>
|
|
|
|
<dt><em>5</em></dt>
|
|
|
|
<dd>The comma (,).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfddpc</td>
|
|
<td align="left" valign="top">Decimal point character. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The period (.).</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>The comma (,).</dd>
|
|
|
|
<dt><em>3</em></dt>
|
|
|
|
<dd>The colon (:).</dd>
|
|
|
|
<dt><em>4</em></dt>
|
|
|
|
<dd>The dollar ($).</dd>
|
|
|
|
<dt><em>5</em></dt>
|
|
|
|
<dd>No decimal point is used.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdtsc</td>
|
|
<td align="left" valign="top">Thousands separator character. This field is not
|
|
valid unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The period (.).</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>The comma (,).</dd>
|
|
|
|
<dt><em>3</em></dt>
|
|
|
|
<dd>The apostrophe (').</dd>
|
|
|
|
<dt><em>4</em></dt>
|
|
|
|
<dd>The blank ( ).</dd>
|
|
|
|
<dt><em>5</em></dt>
|
|
|
|
<dd>No thousands separator is used.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qnsi</td>
|
|
<td align="left" valign="top">Negative sign information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdnsc</td>
|
|
<td align="left" valign="top">Display negative sign. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The negative sign is displayed for negative values.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>The negative is not displayed for negative values.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qddfdnsl</td>
|
|
<td align="left" valign="top">Left negative sign value. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qddfdnsr</td>
|
|
<td align="left" valign="top">Right negative sign value. This field is not
|
|
valid unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qcsi</td>
|
|
<td align="left" valign="top">Currency symbol information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdcsv</td>
|
|
<td align="left" valign="top">Display currency symbol. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>The currency symbol is displayed.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>The currency symbol is not displayed.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qddfdcsl</td>
|
|
<td align="left" valign="top">Left currency symbol value. This field is not
|
|
valid unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">25</td>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">Qddfdcsr</td>
|
|
<td align="left" valign="top">Right currency symbol value. This field is not
|
|
valid unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdpzv</td>
|
|
<td align="left" valign="top">Print zero value. This field is not valid unless
|
|
Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>A zero value is displayed.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>A zero value is not displayed.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdrlz</td>
|
|
<td align="left" valign="top">Replace leading zeros. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>Leading zeros are replaced.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>Leading zeros are not replaced.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdrlv</td>
|
|
<td align="left" valign="top">Leading zero replacement value. This field is not
|
|
valid unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>Blanks ( ).</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>Asterisks (*).</dd>
|
|
|
|
<dt><em>3</em></dt>
|
|
|
|
<dd>Blanks ( ) and the left currency symbol is shifted right.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdlzo</td>
|
|
<td align="left" valign="top">Single leading zero. This field is not valid
|
|
unless Qd<a href="#SPTQFDDTS">dfddts</a> contains X'00'.
|
|
|
|
<dl compact>
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>A zero is displayed to the left of the decimal point when there are no
|
|
significant digits to the left of the decimal.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>A zero is not displayed to the left of the decimal point.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(29)</td>
|
|
<td align="left" valign="top">Reserved_81</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRECEWINF">Edit Code/Edit Word Information
|
|
(Qdb_Qddfedcw)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFEDCW"><em>Qdb_Qddfedcw</em></a> section
|
|
with the offset <a href="#SPTQDFEDTD">Qddfedtd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfecdi</td>
|
|
<td align="left" valign="top" width="58%">Edit code information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfecde</td>
|
|
<td align="left" valign="top">Edit code (EDTCDE). Edit code for the field when
|
|
it is referred to during display or print file creation.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfecdx</td>
|
|
<td align="left" valign="top">Floating currency symbol.
|
|
|
|
<dl compact>
|
|
<dt><em>*</em></dt>
|
|
|
|
<dd>Asterisk protection: asterisks are displayed to the left of significant
|
|
digits.</dd>
|
|
</dl>
|
|
|
|
<p>A currency symbol indicates the symbol displayed to the left the significant
|
|
digits.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_79</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfewd</td>
|
|
<td align="left" valign="top">Edit word (EDTWRD). The form in which the field
|
|
values are displayed.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRVALCHKI">Validity Checking Information (Qdb_Qddfvchk)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFVCHK"><em>Qdb_Qddfvchk</em></a> section
|
|
with the offset <a href="#SPTQDFVCK">Qddfvckd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfvcnume</td>
|
|
<td align="left" valign="top" width="58%">Number of validity check entries.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_82</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfvcen</td>
|
|
<td align="left" valign="top">Validity checking entry array.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRVALCHEN">Validity Checking Entry (Qdb_Qddfvcst)</a></h4>
|
|
|
|
<p>The first validity checking entry starts at Qddfvcen in the validity
|
|
checking information section, <a href="#SPTQDFVCHK">Qdb_Qddfvchk</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(1)</td>
|
|
<td align="left" valign="top" width="15%">Qddfvccd</td>
|
|
<td align="left" valign="top" width="58%">DDSI keyword identifier.
|
|
|
|
<dl compact>
|
|
<dt><em>X'63'</em></dt>
|
|
|
|
<dd>CHKMSGID</dd>
|
|
|
|
<dt><em>X'64'</em></dt>
|
|
|
|
<dd>CHECK(ME)</dd>
|
|
|
|
<dt><em>X'66'</em></dt>
|
|
|
|
<dd>CHECK(FE)</dd>
|
|
|
|
<dt><em>X'67'</em></dt>
|
|
|
|
<dd>CHECK(MF)</dd>
|
|
|
|
<dt><em>X'71'</em></dt>
|
|
|
|
<dd>RANGE</dd>
|
|
|
|
<dt><em>X'72'</em></dt>
|
|
|
|
<dd>VALUES</dd>
|
|
|
|
<dt><em>X'73'</em></dt>
|
|
|
|
<dd>COMP(GT)</dd>
|
|
|
|
<dt><em>X'74'</em></dt>
|
|
|
|
<dd>COMP(GE)</dd>
|
|
|
|
<dt><em>X'75'</em></dt>
|
|
|
|
<dd>COMP(EQ)</dd>
|
|
|
|
<dt><em>X'76'</em></dt>
|
|
|
|
<dd>COMP(NE)</dd>
|
|
|
|
<dt><em>X'77'</em></dt>
|
|
|
|
<dd>COMP(LE)</dd>
|
|
|
|
<dt><em>X'78'</em></dt>
|
|
|
|
<dd>COMP(LT)</dd>
|
|
|
|
<dt><em>X'79'</em></dt>
|
|
|
|
<dd>COMP(NL)</dd>
|
|
|
|
<dt><em>X'7A'</em></dt>
|
|
|
|
<dd>COMP(NG)</dd>
|
|
|
|
<dt><em>X'A0'</em></dt>
|
|
|
|
<dd>CHECK(M10)</dd>
|
|
|
|
<dt><em>X'A1'</em></dt>
|
|
|
|
<dd>CHECK(M11)</dd>
|
|
|
|
<dt><em>X'A2'</em></dt>
|
|
|
|
<dd>CHECK(VN)</dd>
|
|
|
|
<dt><em>X'A3'</em></dt>
|
|
|
|
<dd>CHECK(AB)</dd>
|
|
|
|
<dt><em>X'A5'</em></dt>
|
|
|
|
<dd>CHECK(VNE)</dd>
|
|
|
|
<dt><em>X'A6'</em></dt>
|
|
|
|
<dd>CHECK(M10F)</dd>
|
|
|
|
<dt><em>X'A7'</em></dt>
|
|
|
|
<dd>CHECK(M11F)</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfvcnump</td>
|
|
<td align="left" valign="top">Number of parameters.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfvcel</td>
|
|
<td align="left" valign="top">Length of this validity checking entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(11)</td>
|
|
<td align="left" valign="top">Reserved_83</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTQFUCPM">Qddfvcpm</a></td>
|
|
<td align="left" valign="top">Validity checking parameter array.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRVALCHPA">Validity Checking Parameter (Qdb_Qddfvcpr)</a></h4>
|
|
|
|
<p>The first validity checking parameter starts at <a href="#SPTQFUCPM">
|
|
Qddfvcpm</a> in the validity checking entry section, Qdb_Qddfvcst.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfvcpl</td>
|
|
<td align="left" valign="top" width="58%">Length of validity checking parameter
|
|
Qddfvcpv.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_84</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfvcpv</td>
|
|
<td align="left" valign="top">Validity checking parameter value.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFLDCPX">Complex Object Field Type Information
|
|
(Qdb_Qddfcpli)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFFCX"><em>Qdb_Qddfcpli</em></a> section
|
|
with the offset <a href="#SPTQDCPLX">Qddfcplx</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qddflenu</td>
|
|
<td align="left" valign="top" width="58%">Length of the user-defined type name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(128)</td>
|
|
<td align="left" valign="top">Qddfnudt</td>
|
|
<td align="left" valign="top">User-defined type name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">132</td>
|
|
<td align="center" valign="top">84</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfludt</td>
|
|
<td align="left" valign="top">User-defined type library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">142</td>
|
|
<td align="center" valign="top">8E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdlink</td>
|
|
<td align="left" valign="top">Link control.
|
|
|
|
<dl compact>
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>No link control.</dd>
|
|
|
|
<dt><em>F</em></dt>
|
|
|
|
<dd>File link control.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">143</td>
|
|
<td align="center" valign="top">8F</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdinte</td>
|
|
<td align="left" valign="top">Link integrity. Linked files are under control of
|
|
the database if the field is a datalink.
|
|
|
|
<dl compact>
|
|
<dt><em>A</em></dt>
|
|
|
|
<dd>All under control.</dd>
|
|
|
|
<dt><em>S</em></dt>
|
|
|
|
<dd>Selective control. This value is not supported yet.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">144</td>
|
|
<td align="center" valign="top">90</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qddfdrper</td>
|
|
<td align="left" valign="top">Read permission. The file system controls
|
|
authority to read a file if the field is a datalink.
|
|
|
|
<dl compact>
|
|
<dt><em>FS</em></dt>
|
|
|
|
<dd>File system.</dd>
|
|
|
|
<dt><em>DB</em></dt>
|
|
|
|
<dd>Database.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">146</td>
|
|
<td align="center" valign="top">92</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qddfdwper</td>
|
|
<td align="left" valign="top">Write permission. The file system controls
|
|
authority to write to a file if the field is a datalink.
|
|
|
|
<dl compact>
|
|
<dt><em>FS</em></dt>
|
|
|
|
<dd>File system.</dd>
|
|
|
|
<dt><em>BL</em></dt>
|
|
|
|
<dd>Blocked.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">148</td>
|
|
<td align="center" valign="top">94</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdreco</td>
|
|
<td align="left" valign="top">Recovery. The database manager will recover the
|
|
file if the field is a datalink.
|
|
|
|
<dl compact>
|
|
<dt><em>Y</em></dt>
|
|
|
|
<dd>Yes. This value is not supported yet.</dd>
|
|
|
|
<dt><em>N</em></dt>
|
|
|
|
<dd>No.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">149</td>
|
|
<td align="center" valign="top">95</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdunlk</td>
|
|
<td align="left" valign="top">On unlink. The database manager will either
|
|
restore the file owner on an unlink, or delete the file when unlinking the
|
|
file.
|
|
|
|
<dl compact>
|
|
<dt><em>R</em></dt>
|
|
|
|
<dd>Restore the owner.</dd>
|
|
|
|
<dt><em>D</em></dt>
|
|
|
|
<dd>Delete the file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">150</td>
|
|
<td align="center" valign="top">96</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved_150</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFLDTXT">Field Text (Qdb_Qddfftxt)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFFTT"><em>Qdb_Qddfftxt</em></a> section
|
|
with the offset <a href="#SPTQDTXTD">Qddftxtd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(50)</td>
|
|
<td align="left" valign="top" width="15%">Qddfftxt</td>
|
|
<td align="left" valign="top" width="58%">Text (TEXT). Text description of the field.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRALNAMST">Alias Name Structure (Qdb_Qddfalis)</a></h4>
|
|
|
|
<p>You can locate this section with the offset Qddfxals located in the field
|
|
header section, Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfalsl</td>
|
|
<td align="left" valign="top" width="58%">Length of alternative name <a href="#SPTQFALSN">
|
|
Qddfalsn</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved_85</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(258)</td>
|
|
<td align="left" valign="top"><a name="SPTQFALSN">Qddfalsn</a></td>
|
|
<td align="left" valign="top">Alternative name (ALIAS).</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDFTVADI">Default Value Description Information
|
|
(Qdb_Qddfdft)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFDFT"><em>Qdb_Qddfdft</em></a> section
|
|
with the offset <a href="#SPTQDFDFTD">Qddfdftd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdftl</td>
|
|
<td align="left" valign="top" width="58%">Length of default information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdfta</td>
|
|
<td align="left" valign="top">Default attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdfig</td>
|
|
<td align="left" valign="top">DBCS or graphic default. If on, indicates the
|
|
default is a DBCS or graphic literal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdfhx</td>
|
|
<td align="left" valign="top">Hex default. If on, indicates the default is a
|
|
hexadecimal literal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfndft</td>
|
|
<td align="left" valign="top">Null default. If on, indicates the default is
|
|
null.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_86</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdcur</td>
|
|
<td align="left" valign="top">DATE, TIME, or TIMESTAMP default. On indicates
|
|
the default is CURRENT_DATE, CURRENT_TIME, or CURRENT_TIMESTAMP.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_109</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdftk</td>
|
|
<td align="left" valign="top">DFT or DFTVAL keyword. If on, indicates the
|
|
DFTVAL keyword was specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Reserved_87</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfdftv</td>
|
|
<td align="left" valign="top">Default (DFT) or (DFTVAL). A value of USER
|
|
indicates that the default value for this field is the job's current user.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRIDROWI">Identity Column Information (Qdb_Qddfidcl)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFIDCL"><em>Qdb_Qddfidcl</em></a> section
|
|
with the offset Qddf_Identity_Off in the field header
|
|
section, Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="4%"> </td>
|
|
<td align="left" valign="top" width="15%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddf_Id_ Len</td>
|
|
<td align="left" valign="top" width="55%">Length of IDENTITY information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">DECIMAL(31,0)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Orig_Start_With</td>
|
|
<td align="left" valign="top">Original START WITH value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">DECIMAL(31,0)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Curr_Start_With</td>
|
|
<td align="left" valign="top">Current START WITH value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Increment_By</td>
|
|
<td align="left" valign="top">INCREMENT BY value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">DECIMAL(31,0)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Minimum</td>
|
|
<td align="left" valign="top">MINIMUM value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">54</td>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">DECIMAL(31,0)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Maximum</td>
|
|
<td align="left" valign="top">MAXIMUM value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="center" valign="top">46</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Cycle</td>
|
|
<td align="left" valign="top">CYCLE indicator.<br>
|
|
1 = Cycling will occur.<br>
|
|
0 = Cycling will not occur.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">71</td>
|
|
<td align="center" valign="top">47</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Order</td>
|
|
<td align="left" valign="top">ORDER mode indicator.<br>
|
|
1 = Values are generated in order of request.<br>
|
|
0 = Values do not need to be generated in order of request.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Generate</td>
|
|
<td align="left" valign="top">Identity GENERATE indicator.<br>
|
|
1 = GENERATE BY DEFAULT.
|
|
0 = GENERATE ALWAYS.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">73</td>
|
|
<td align="center" valign="top">49</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qddf_Id_ Curr_Cache</td>
|
|
<td align="left" valign="top">CACHE value.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">77</td>
|
|
<td align="center" valign="top">4D</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddf_Rowid_ Generate</td>
|
|
<td align="left" valign="top">Rowid GENERATE indicator.<br>
|
|
1 = GENERATE BY DEFAULT.
|
|
0 = GENERATE ALWAYS.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">78</td>
|
|
<td align="center" valign="top">4E</td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(53)</td>
|
|
<td align="left" valign="top">Qddf_Id_ Reserved1</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDEFLDDI">Derived Field Description Information</a></h4>
|
|
|
|
<p>The derived field structure is a stack of operators and operands in postfix
|
|
notation. <strong>Postfix notation</strong> is a method of forming mathematical
|
|
expressions in which each operator is preceded by its operands and indicates
|
|
the operation to be performed on the operands or the intermediate results that
|
|
precede it. For example:</p>
|
|
|
|
<pre>
|
|
A + B
|
|
would be:
|
|
A B +
|
|
</pre>
|
|
|
|
<p>Numeric operands and character operands cannot be mixed in one derived field
|
|
description. If numeric operands are specified, the resulting field attributes
|
|
must be numeric. If character operands are specified, the resulting field
|
|
attributes must be character or DBCS. Character and DBCS only fields cannot be
|
|
mixed in one derived field description.</p>
|
|
|
|
<p>Substringing DBCS fields is allowed, although the data is treated as
|
|
character data, that is, there is no true double-byte substring support. This
|
|
applies to query formats only.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDEFLDHD">Derived Field Header (Qdb_Qddfderv)</a></h4>
|
|
|
|
<p>You can locate this section, <a name="SPTQDDDERV"><em>Qdb_Qddfderv</em></a>,
|
|
with the offset <a href="#SPTQFDERD">Qddfderd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdvtl</td>
|
|
<td align="left" valign="top" width="58%">Length of derived field information <a href=
|
|
"#SPTQDDDERV">Qddfderv</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdvnume</td>
|
|
<td align="left" valign="top">Number of derived field entries. 0 indicates it
|
|
is a concatentated field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQDFVOT">Qddfdvot</a></td>
|
|
<td align="left" valign="top">Offset from the start of this header to the
|
|
derived field text (or to the concatenated field text), <a href="#SPTQDDFDVT">
|
|
Qddfdvtx</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(6)</td>
|
|
<td align="left" valign="top">*</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfdven</td>
|
|
<td align="left" valign="top">Derived field entry.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDEFLDEN">Derived Field Entry (Qdb_Qddfdvst)</a></h4>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdvln</td>
|
|
<td align="left" valign="top" width="58%">Length of derived field entry, Qddfdvst.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdtyp</td>
|
|
<td align="left" valign="top">Derived field entry type.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>A field operand.</dd>
|
|
|
|
<dt><em>1</em></dt>
|
|
|
|
<dd>A constant operand.</dd>
|
|
|
|
<dt><em>2</em></dt>
|
|
|
|
<dd>An operator.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfdv</td>
|
|
<td align="left" valign="top">The union of the Field operand (Qdddvof),
|
|
Constant operand (Qddffvoc), and Operator entry (Qddfdvo).</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFLDOPEN">Field Operand Entry (Qdb_Qddfdvof)</a></h4>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(30)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdvon</td>
|
|
<td align="left" valign="top" width="58%">Field name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdvjr</td>
|
|
<td align="left" valign="top">Join reference (JREF). Relative file number of
|
|
the physical file containing the external file referenced.
|
|
|
|
<dl compact>
|
|
<dt><em>0</em></dt>
|
|
|
|
<dd>The fields previously defined in this format are searched for the field
|
|
name.
|
|
|
|
<p>If the field is not found, the based on file formats are searched. If the
|
|
field name is found in more than one file format, an error is signalled.</p>
|
|
</dd>
|
|
|
|
<dt><em>n</em></dt>
|
|
|
|
<dd>The file containing the field name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdv01</td>
|
|
<td align="left" valign="top">Starting position. The starting position in the
|
|
field of the substring (SST) specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdvo2</td>
|
|
<td align="left" valign="top">Ending position. The ending position in the field
|
|
of the substring (SST) specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfqdtnum</td>
|
|
<td align="left" valign="top">Qdt from which this correlated field originates
|
|
(only applicable for SQL subqueries.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">*</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCONOPEN">Constant Operand Entry (Qdb_Qddfdvoc)</a></h4>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">*</td>
|
|
<td align="left" valign="top" width="15%">Qddfdvoh</td>
|
|
<td align="left" valign="top" width="58%">Constant operand header.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfdvol</td>
|
|
<td align="left" valign="top">Length of constant <a href="#SPTQFDVOV">
|
|
Qddfdvov</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qca</td>
|
|
<td align="left" valign="top">Constant attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvci</td>
|
|
<td align="left" valign="top">DBCS constant. If on, indicates the constant is a
|
|
DBCS-open literal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_90</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvcc</td>
|
|
<td align="left" valign="top">Character constant type. If on, indicates the
|
|
constant is an unquoted character string not bracketed by single quotes.
|
|
Imbedded quotes are represented with a single quote. If off, indicates it is
|
|
quoted, bracketed by single quotes. Imbedded quotes are represented with two
|
|
single quotes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvac</td>
|
|
<td align="left" valign="top">Assume character constant. If on, indicates the
|
|
system assumes this is a character constant.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvco</td>
|
|
<td align="left" valign="top">DBCS-only literal. If on, indicates the constant
|
|
is a DBCS-only literal.
|
|
|
|
<p>This attribute is not valid if the DBCS constant attribute, Qddfdvci, is
|
|
off.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvsr</td>
|
|
<td align="left" valign="top">Special register. If on, indicates this constant
|
|
is a special register defined by Qddfdvrc.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvnl</td>
|
|
<td align="left" valign="top">Null indicator. If on, indicates the constant is
|
|
a null literal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_91</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvrc</td>
|
|
<td align="left" valign="top">Special register constant. Defined by special
|
|
register constants, can only be specified if Qddfdvsr is on.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvft</td>
|
|
<td align="left" valign="top">Date constant format (DATFMT) or Time constant
|
|
format (TIMFMT)
|
|
|
|
<dl compact>
|
|
<dt><em>X'FE'</em></dt>
|
|
|
|
<dd>Format associated with the job is used.</dd>
|
|
|
|
<dt><em>X'FF'</em></dt>
|
|
|
|
<dd>Format associated with QDT is used.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The *USA format.</dd>
|
|
|
|
<dt><em>X'03'</em></dt>
|
|
|
|
<dd>The *ISO format.</dd>
|
|
|
|
<dt><em>X'05'</em></dt>
|
|
|
|
<dd>The *EUR format.</dd>
|
|
|
|
<dt><em>X'07'</em></dt>
|
|
|
|
<dd>The *JIS format.</dd>
|
|
|
|
<dt><em>X'09'</em></dt>
|
|
|
|
<dd>The SAA timestamp format.</dd>
|
|
|
|
<dt><em>X'17'</em></dt>
|
|
|
|
<dd>The *MDY date format.</dd>
|
|
|
|
<dt><em>X'18'</em></dt>
|
|
|
|
<dd>The *DMY date format.</dd>
|
|
|
|
<dt><em>X'19'</em></dt>
|
|
|
|
<dd>The *YMD date format.</dd>
|
|
|
|
<dt><em>X'1A'</em></dt>
|
|
|
|
<dd>The *JUL date format.</dd>
|
|
|
|
<dt><em>X'1B'</em></dt>
|
|
|
|
<dd>The *HMS time format.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top"><a name="SPTDDFDVSP">Qddfdvsp</a></td>
|
|
<td align="left" valign="top">Date constant separator (DATSEP) or Time constant
|
|
separator (TIMSEP)
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Default separator associated with job is used.</dd>
|
|
|
|
<dt><em>X'EE'</em></dt>
|
|
|
|
<dd>The implied separator is used.</dd>
|
|
|
|
<dt><em>'/'</em></dt>
|
|
|
|
<dd>The slash.</dd>
|
|
|
|
<dt><em>'-'</em></dt>
|
|
|
|
<dd>The dash.</dd>
|
|
|
|
<dt><em>'.'</em></dt>
|
|
|
|
<dd>The period.</dd>
|
|
|
|
<dt><em>','</em></dt>
|
|
|
|
<dd>The comma.</dd>
|
|
|
|
<dt><em>' '</em></dt>
|
|
|
|
<dd>The blank.</dd>
|
|
|
|
<dt><em>':'</em></dt>
|
|
|
|
<dd>The colon.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_92</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdvcd</td>
|
|
<td align="left" valign="top">Constant coded character set identifier
|
|
(CCSID).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfcflg</td>
|
|
<td align="left" valign="top">Constant flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_93</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfglit</td>
|
|
<td align="left" valign="top">Graphics literal. If on, indicates this is a
|
|
graphics literal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(5)</td>
|
|
<td align="left" valign="top">Reserved_94</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(29)</td>
|
|
<td align="left" valign="top">Reserved_95</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">43</td>
|
|
<td align="center" valign="top">2B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTQFDVOV">Qddfdvov</a></td>
|
|
<td align="left" valign="top">Derived constant. The external form of the
|
|
constant.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDROPTREN">Operator Entry (Qdb_Qddfdvo)</a></h4>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br>
|
|
</td>
|
|
<td align="left" valign="top" width="11%">CHAR(1)</td>
|
|
<td align="left" valign="top" width="15%"><a name="SPTQFDVOP">Qddfdvop</a></td>
|
|
<td align="left" valign="top" width="58%">Derived operator.
|
|
|
|
<p><strong>Operators requiring three operands:</strong></p>
|
|
|
|
<dl compact>
|
|
<dt><em>X'27'</em></dt>
|
|
|
|
<dd>Substring</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring two
|
|
operands:</strong>
|
|
|
|
<dl compact>
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Concatenation</dd>
|
|
|
|
<dt><em>X'04'</em></dt>
|
|
|
|
<dd>Addition</dd>
|
|
|
|
<dt><em>X'05'</em></dt>
|
|
|
|
<dd>Subtraction</dd>
|
|
|
|
<dt><em>X'06'</em></dt>
|
|
|
|
<dd>Multiplication</dd>
|
|
|
|
<dt><em>X'07'</em></dt>
|
|
|
|
<dd>Division</dd>
|
|
|
|
<dt><em>X'08'</em></dt>
|
|
|
|
<dd>Minimum</dd>
|
|
|
|
<dt><em>X'09'</em></dt>
|
|
|
|
<dd>Maximum</dd>
|
|
|
|
<dt><em>X'1A'</em></dt>
|
|
|
|
<dd>X to the Y power</dd>
|
|
|
|
<dt><em>X'1B'</em></dt>
|
|
|
|
<dd>Binary OR</dd>
|
|
|
|
<dt><em>X'1C'</em></dt>
|
|
|
|
<dd>Binary XOR</dd>
|
|
|
|
<dt><em>X'1D'</em></dt>
|
|
|
|
<dd>Binary AND</dd>
|
|
|
|
<dt><em>X'24'</em></dt>
|
|
|
|
<dd>Strip leading</dd>
|
|
|
|
<dt><em>X'25'</em></dt>
|
|
|
|
<dd>Strip tailing</dd>
|
|
|
|
<dt><em>X'26'</em></dt>
|
|
|
|
<dd>Strip both</dd>
|
|
|
|
<dt><em>X'35'</em></dt>
|
|
|
|
<dd>Compute</dd>
|
|
|
|
<dt><em>X'41'</em></dt>
|
|
|
|
<dd>String position</dd>
|
|
|
|
<dt><em>X'80'</em></dt>
|
|
|
|
<dd>Remainder</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring one operand:</strong>
|
|
|
|
|
|
<dl compact>
|
|
<dt><em>X'02'</em></dt>
|
|
|
|
<dd>Map</dd>
|
|
|
|
<dt><em>X'03'</em></dt>
|
|
|
|
<dd>Direct map</dd>
|
|
|
|
<dt><em>X'0A'</em></dt>
|
|
|
|
<dd>Absolute value</dd>
|
|
|
|
<dt><em>X'0B'</em></dt>
|
|
|
|
<dd>Translate</dd>
|
|
|
|
<dt><em>X'0C'</em></dt>
|
|
|
|
<dd>Natural logarithm</dd>
|
|
|
|
<dt><em>X'0D'</em></dt>
|
|
|
|
<dd>Exponential</dd>
|
|
|
|
<dt><em>X'0E'</em></dt>
|
|
|
|
<dd>Sine</dd>
|
|
|
|
<dt><em>X'0F'</em></dt>
|
|
|
|
<dd>Cosine</dd>
|
|
|
|
<dt><em>X'10'</em></dt>
|
|
|
|
<dd>Tangent</dd>
|
|
|
|
<dt><em>X'11'</em></dt>
|
|
|
|
<dd>Cotangent</dd>
|
|
|
|
<dt><em>X'12'</em></dt>
|
|
|
|
<dd>Arc sine</dd>
|
|
|
|
<dt><em>X'13'</em></dt>
|
|
|
|
<dd>Arc cosine</dd>
|
|
|
|
<dt><em>X'14'</em></dt>
|
|
|
|
<dd>Arc tangent</dd>
|
|
|
|
<dt><em>X'15'</em></dt>
|
|
|
|
<dd>Hyperbolic sine</dd>
|
|
|
|
<dt><em>X'16'</em></dt>
|
|
|
|
<dd>Hyperbolic cosine</dd>
|
|
|
|
<dt><em>X'17'</em></dt>
|
|
|
|
<dd>Hyperbolic tangent</dd>
|
|
|
|
<dt><em>X'18'</em></dt>
|
|
|
|
<dd>Hyperbolic arctangent</dd>
|
|
|
|
<dt><em>X'19'</em></dt>
|
|
|
|
<dd>Square root</dd>
|
|
|
|
<dt><em>X'1E'</em></dt>
|
|
|
|
<dd>Binary NOT</dd>
|
|
|
|
<dt><em>X'1F'</em></dt>
|
|
|
|
<dd>Negation</dd>
|
|
|
|
<dt><em>X'23'</em></dt>
|
|
|
|
<dd>Length</dd>
|
|
|
|
<dt><em>X'29'</em></dt>
|
|
|
|
<dd>Year</dd>
|
|
|
|
<dt><em>X'2A'</em></dt>
|
|
|
|
<dd>Month</dd>
|
|
|
|
<dt><em>X'2B'</em></dt>
|
|
|
|
<dd>Day</dd>
|
|
|
|
<dt><em>X'2C'</em></dt>
|
|
|
|
<dd>Days.</dd>
|
|
|
|
<dt><em>X'2D'</em></dt>
|
|
|
|
<dd>Hour</dd>
|
|
|
|
<dt><em>X'2E'</em></dt>
|
|
|
|
<dd>Minute</dd>
|
|
|
|
<dt><em>X'2F'</em></dt>
|
|
|
|
<dd>Second</dd>
|
|
|
|
<dt><em>X'30'</em></dt>
|
|
|
|
<dd>Microsecond</dd>
|
|
|
|
<dt><em>X'31'</em></dt>
|
|
|
|
<dd>Date</dd>
|
|
|
|
<dt><em>X'32'</em></dt>
|
|
|
|
<dd>Time</dd>
|
|
|
|
<dt><em>X'34'</em></dt>
|
|
<dd>Hex</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring one operand continued:</strong>
|
|
<dl>
|
|
|
|
<dt><em>X'36'</em></dt>
|
|
|
|
<dd>Test translate CCSID</dd>
|
|
|
|
<dt><em>X'37'</em></dt>
|
|
|
|
<dd>Translate monocase</dd>
|
|
|
|
<dt><em>X'3C'</em></dt>
|
|
|
|
<dd>Node number</dd>
|
|
|
|
<dt><em>X'3D'</em></dt>
|
|
|
|
<dd>Cast</dd>
|
|
|
|
<dt><em>X'47'</em></dt>
|
|
|
|
<dd>Partition</dd>
|
|
|
|
<dt><em>X'48'</em></dt>
|
|
|
|
<dd>Node name</dd>
|
|
|
|
<dt><em>X'83'</em></dt>
|
|
|
|
<dd>Log (base 10)</dd>
|
|
|
|
<dt><em>X'84'</em></dt>
|
|
|
|
<dd>Anti log (base 10)</dd>
|
|
|
|
<dt><em>X'85'</em></dt>
|
|
|
|
<dd>Digits</dd>
|
|
|
|
<dt><em>X'86'</em></dt>
|
|
|
|
<dd>Char</dd>
|
|
|
|
<dt><em>X'8F'</em></dt>
|
|
|
|
<dd>Graphic representation of character</dd>
|
|
|
|
<dt><em>X'90'</em></dt>
|
|
|
|
<dd>Character representation of graphic</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Label duration operators:</strong>
|
|
|
|
<dl compact>
|
|
<dt><em>X'87'</em></dt>
|
|
|
|
<dd>Year</dd>
|
|
|
|
<dt><em>X'88'</em></dt>
|
|
|
|
<dd>Month</dd>
|
|
|
|
<dt><em>X'89'</em></dt>
|
|
|
|
<dd>Day</dd>
|
|
|
|
<dt><em>X'8A'</em></dt>
|
|
|
|
<dd>Hour</dd>
|
|
|
|
<dt><em>X'8B'</em></dt>
|
|
|
|
<dd>Minute</dd>
|
|
|
|
<dt><em>X'8C'</em></dt>
|
|
|
|
<dd>Second</dd>
|
|
|
|
<dt><em>X'8D'</em></dt>
|
|
|
|
<dd>Microsecond</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring one to many
|
|
operands:</strong>
|
|
|
|
<dl compact>
|
|
<dt><em>X'3A'</em></dt>
|
|
|
|
<dd>Hash function</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring two to many
|
|
operands:</strong>
|
|
|
|
<dl compact>
|
|
<dt><em>X'28'</em></dt>
|
|
|
|
<dd>Null values</dd>
|
|
|
|
<dt><em>X'3E'</em></dt>
|
|
|
|
<dd>Case Expression</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Operators requiring one or two
|
|
operands:</strong>
|
|
|
|
<dl compact>
|
|
<dt><em>X'33'</em></dt>
|
|
|
|
<dd>Timestamp</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top"><strong>Group by operators:</strong> All require
|
|
one operand except count that requires one or two.
|
|
|
|
<dl compact>
|
|
<dt><em>X'A1'</em></dt>
|
|
|
|
<dd>Count</dd>
|
|
|
|
<dt><em>X'A3'</em></dt>
|
|
|
|
<dd>Sum</dd>
|
|
|
|
<dt><em>X'A4'</em></dt>
|
|
|
|
<dd>Minimum</dd>
|
|
|
|
<dt><em>X'A5'</em></dt>
|
|
|
|
<dd>Maximum</dd>
|
|
|
|
<dt><em>X'B0'</em></dt>
|
|
|
|
<dd>Average</dd>
|
|
|
|
<dt><em>X'B1'</em></dt>
|
|
|
|
<dd>Standard deviation</dd>
|
|
|
|
<dt><em>X'B2'</em></dt>
|
|
|
|
<dd>Variance</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Qddfdvxnum</td>
|
|
<td align="left" valign="top">Translate table index or case selection
|
|
specification index. This field is valid only if <a href="#SPTQFDVOP">
|
|
Qddfdvop</a> is X'OB' or X'3E'.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvdtfmt</td>
|
|
<td align="left" valign="top">Operator date format index.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvdtsep</td>
|
|
<td align="left" valign="top">Operator date separator index.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvfm</td>
|
|
<td align="left" valign="top">Operator date format (DATFMT) or Operator time
|
|
format (TIMFMT).
|
|
|
|
<dl compact>
|
|
<dt><em>X'FE'</em></dt>
|
|
|
|
<dd>Format associated with the job is used.</dd>
|
|
|
|
<dt><em>X'FF'</em></dt>
|
|
|
|
<dd>Format associated with QDT is used.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The *USA format.</dd>
|
|
|
|
<dt><em>X'03'</em></dt>
|
|
|
|
<dd>The *ISO format.</dd>
|
|
|
|
<dt><em>X'05'</em></dt>
|
|
|
|
<dd>The *EUR format.</dd>
|
|
|
|
<dt><em>X'07'</em></dt>
|
|
|
|
<dd>The *JIS format.</dd>
|
|
|
|
<dt><em>X'09'</em></dt>
|
|
|
|
<dd>The SAA timestamp format.</dd>
|
|
|
|
<dt><em>X'17'</em></dt>
|
|
|
|
<dd>The *MDY date format.</dd>
|
|
|
|
<dt><em>X'18'</em></dt>
|
|
|
|
<dd>The *DMY date format.</dd>
|
|
|
|
<dt><em>X'19'</em></dt>
|
|
|
|
<dd>The *YMD date format.</dd>
|
|
|
|
<dt><em>X'1A'</em></dt>
|
|
|
|
<dd>The *JUL date format.</dd>
|
|
|
|
<dt><em>X'1B'</em></dt>
|
|
|
|
<dd>The *HMS time format.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qddfdvsa</td>
|
|
<td align="left" valign="top">Operator date separator (DATSEP) or Operator time
|
|
separator (TIMSEP)
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Default separator associated with job is used.</dd>
|
|
|
|
<dt><em>X'EE'</em></dt>
|
|
|
|
<dd>The implied separator is used.</dd>
|
|
|
|
<dt><em>'/'</em></dt>
|
|
|
|
<dd>The slash.</dd>
|
|
|
|
<dt><em>'-'</em></dt>
|
|
|
|
<dd>The dash.</dd>
|
|
|
|
<dt><em>'.'</em></dt>
|
|
|
|
<dd>The period.</dd>
|
|
|
|
<dt><em>','</em></dt>
|
|
|
|
<dd>The comma.</dd>
|
|
|
|
<dt><em>' '</em></dt>
|
|
|
|
<dd>The blank.</dd>
|
|
|
|
<dt><em>':'</em></dt>
|
|
|
|
<dd>The colon.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdvno</td>
|
|
<td align="left" valign="top">Number of operands.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qoa</td>
|
|
<td align="left" valign="top">Operator attributes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_96</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvdttm</td>
|
|
<td align="left" valign="top">Operator date format and separator source. If on,
|
|
indicates Qddfdvdtfmt and Qddfdvdtsep are used as the date format and separator
|
|
with the CHAR operator. Qddfdvfm and Qddfdvsa are used as the time format and
|
|
separator with the CHAR operator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_n</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddfdvdf</td>
|
|
<td align="left" valign="top">Group operators. If on, do not include duplicate
|
|
field values in group by operation. If off, include duplicate field values in
|
|
group by operation.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved_97</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Qddffunc_char</td>
|
|
<td align="left" valign="top">Number of characters option. If on, the result of
|
|
the operator is based on the number of characters. If off, the result of the
|
|
operator is based on the number of bytes. This field is only applicable when
|
|
Qddfdvop is POSSTR(X'41'), LENGTH(X'23'), or SUBSTRING(X'27).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Reserved_115</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved_98</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="bottom">10</td>
|
|
<td align="left" valign="bottom">A</td>
|
|
<td align="left" valign="bottom"><br>
|
|
</td>
|
|
<td align="left" valign="bottom">CHAR(1)</td>
|
|
<td align="left" valign="bottom">Qddfd_ decptchar</td>
|
|
<td align="left" valign="bottom">The character to use for the decimal point.
|
|
Only applicable if Qddfdvop is a CAST(X'3D') and one of the operands is numeric
|
|
and the other is character, or if Qddfdvop is a CHAR(X'86') and the first
|
|
operand is packed decimal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="center" valign="top">B</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BIN(4)</td>
|
|
<td align="left" valign="top"><a name="SPTQFUNCOF">Qddfdo_func_ def</a></td>
|
|
<td align="left" valign="top">Offset from the beginning of this derived field
|
|
entry (Qdb_Qddfdvst) to the Function Name Specification section, <a href=
|
|
"#SPTQDDFUNC">Qddfunc_def</a> . If this offset is specified, then the function
|
|
is resolved to using the name in the Function Name Specification section. If
|
|
the Function Name section is specified, all entries in this operator section
|
|
are ignored except for the number of operands for the function, Qddfdvno, which
|
|
is required to be set, and the duplicate field values indicator, Qddfdvdf,
|
|
which can be optionally set. decimal.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top">F</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(11)</td>
|
|
<td align="left" valign="top">Reserved_101</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRDDFDVTX">Derived Field Text Information (Qdb_Qddfdvtx)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFDVT"><em>Qdb_Qddfdvtx</em></a> section
|
|
with the offset <a href="#SPTQDFVOT">Qddfdvot</a> in the Derived Field Header
|
|
section, Qdb_Qddfderv.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfdvlt</td>
|
|
<td align="left" valign="top" width="58%">Length of derived field text information or
|
|
concatenated field text information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfdtxt</td>
|
|
<td align="left" valign="top">Derived field text description or concatenated
|
|
field text description.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCOLHDIN">Column Heading Information (Qdb_Qddfcolh)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFCOLH"><em>Qdb_Qddfcolh</em></a> section
|
|
with the offset <a href="#SPTQDDFCHD">Qddfchd</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="15%">Qddfch1</td>
|
|
<td align="left" valign="top" width="58%">Column heading #1. The first column heading
|
|
specified on the COLHDG DDS keyword without the quotes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">Qddfch2</td>
|
|
<td align="left" valign="top">Column heading #2. The second column heading
|
|
specified on the COLHDG DDS keyword without the quotes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(20)</td>
|
|
<td align="left" valign="top">Qddfch3</td>
|
|
<td align="left" valign="top">Column heading #3. The third column heading
|
|
specified on the COLHDG DDS keyword without the quotes.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRISQDFIN">IDDU/SQL Dictionary Format Information
|
|
(Qdb_Qddfdic)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFDIC"><em>Qdb_Qddfdic</em></a> section
|
|
with the offset <a href="#SPTQDFDICO">Qddfdico</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"> </td>
|
|
<td align="left" valign="top" width="11%">CHAR(32)</td>
|
|
<td align="left" valign="top" width="15%">Reserved_100</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top"> </td>
|
|
<td align="left" valign="top">Qddfdicm</td>
|
|
<td align="left" valign="top">Format definition long comment information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfdilt</td>
|
|
<td align="left" valign="top">Length of format definition long comment
|
|
information, Qddfdicm.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfditx</td>
|
|
<td align="left" valign="top">Format definition long comment.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRISDAFIN">IDDU/SQL Dictionary Field Information
|
|
(Qdb_Qddfdicf)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDFDICF"><em>Qdb_Qddfdicf</em></a> section
|
|
with the offset Qddfdicd located in the field header section, Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(16)</td>
|
|
<td align="left" valign="top" width="15%">*</td>
|
|
<td align="left" valign="top" width="58%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Qddfdfco</td>
|
|
<td align="left" valign="top">Field definition long comment.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddffcl</td>
|
|
<td align="left" valign="top">Length of field definition long comment
|
|
Qddfdfco.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top">Qddfdfct</td>
|
|
<td align="left" valign="top">Field definition comment text.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRTRTBLSP">Translate Table Specification (Qdb_Qddfxl)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFXL"><em>Qdb_Qddfxl</em></a> section with
|
|
the offset <a href="#SPTQFXLTO">Qddfxlto</a> in the field header section,
|
|
Qdb_Qddffld.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfxlnum</td>
|
|
<td align="left" valign="top" width="58%">Number of elements in the translate table
|
|
array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Qddfxarr</td>
|
|
<td align="left" valign="top">Translate table array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfxtnm</td>
|
|
<td align="left" valign="top">Translate table name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfxtln</td>
|
|
<td align="left" valign="top">Translate table library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Qddfxcid</td>
|
|
<td align="left" valign="top">Translate table constant coded character set
|
|
identifier.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved_99</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(256)</td>
|
|
<td align="left" valign="top">Qddfxtbl</td>
|
|
<td align="left" valign="top">Translate table.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRCASESP">Case Selection Specification (Qdb_Qddfcsl)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFCSL"><em>Qdb_Qddfcsl</em></a> section
|
|
with the offset Qddfrcao in the field header section, Qdb_Qddffld. For a
|
|
description of selection specifications, see QDBQS in the <a href=
|
|
"../apis/qqqqry.htm">QQQQRY</a> API.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">BINARY(2)</td>
|
|
<td align="left" valign="top" width="15%">Qddfcsnum</td>
|
|
<td align="left" valign="top" width="58%">Number of elements in the case selection
|
|
specification array.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfcln</td>
|
|
<td align="left" valign="top">Length of this plus the length of all the
|
|
selection specifications.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Array of BINARY(4)</td>
|
|
<td align="left" valign="top">Qddfcao</td>
|
|
<td align="left" valign="top">Offset to the selection specification. Offset is
|
|
from the start of Qdb_qdffcsl.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRFUNCSP">Function Name Specification (Qdb_Qddfunc_def)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDDFUNC"><em>Qdb_Qddfunc_def</em></a> section
|
|
with the offset <a href="#SPTQFUNCOF">Qddfdo_func_def</a> in the derived
|
|
operator entry section, Qdb_Qddfdvo.</p>
|
|
|
|
<p>This section can only be specified when used in conjunction with the <a
|
|
href="../apis/qqqqry.htm">QQQQRY</a> API.</p>
|
|
|
|
<p>This section can be used to reference a function by name rather than opcode
|
|
qddfdvop. It can be used to resolve to existing built-in functions provided by
|
|
the database or to user-defined functions defined in the SYSROUTINE SQL catalog
|
|
in the QSYS2 library. Resolution is based on function name, number of
|
|
parameters, compatible parameters and library list, in that order.</p>
|
|
|
|
<p>See the <a href="../db2/rbafzmst02.htm">DB2 UDB for iSeries SQL
|
|
Reference</a> book for more information on user-defined functions and the
|
|
SYSROUTINE catalog.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%">0</td>
|
|
<td align="center" valign="top" width="4%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="20%">Reserved</td>
|
|
<td align="left" valign="top" width="55%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qddfunc_libname</td>
|
|
<td align="left" valign="top">Library where function can be found. Special
|
|
values follow.
|
|
|
|
<dl compact>
|
|
<dt><em>' '</em></dt>
|
|
|
|
<dd>Blank. Use the path (library list) to find the function.</dd>
|
|
|
|
<dt><em>'QSYS2'</em></dt>
|
|
|
|
<dd>Use the built-in operator provided by the database.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BIN(2)</td>
|
|
<td align="left" valign="top">Qddfunc_namelen</td>
|
|
<td align="left" valign="top">Length of function name in Qddfunc_funcname.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(128)</td>
|
|
<td align="left" valign="top">Qddfunc_funcname</td>
|
|
<td align="left" valign="top">Name of function to resolve.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Built-in functions provided by the database in
|
|
library QSYS2:
|
|
|
|
<dl compact>
|
|
<dt><em>'+'</em></dt>
|
|
|
|
<dd>Addition. Two operands</dd>
|
|
|
|
<dt><em>'-'</em></dt>
|
|
|
|
<dd>Subtraction. Two operands</dd>
|
|
|
|
<dt><em>'*'</em></dt>
|
|
|
|
<dd>Multiplication. Two operands</dd>
|
|
|
|
<dt><em>'/'</em></dt>
|
|
|
|
<dd>Division. Two operands</dd>
|
|
|
|
<dt><em>'ABS'</em></dt>
|
|
|
|
<dd>Absolute value. One operand</dd>
|
|
|
|
<dt><em>'ACOS'</em></dt>
|
|
|
|
<dd>Arc cosine. One operand</dd>
|
|
|
|
<dt><em>'ANTILOG'</em></dt>
|
|
|
|
<dd>Antilog. One operand</dd>
|
|
|
|
<dt><em>'ASIN'</em></dt>
|
|
|
|
<dd>Arc sine. One operand</dd>
|
|
|
|
<dt><em>'ATAN'</em></dt>
|
|
|
|
<dd>Arc tangent. One operand</dd>
|
|
|
|
<dt><em>'ATANH'</em></dt>
|
|
|
|
<dd>Hyperbolic arc tangent. One operand</dd>
|
|
|
|
<dt><em>'AVG'</em></dt>
|
|
|
|
<dd>Average. One operand</dd>
|
|
|
|
<dt><em>'CHAR'</em></dt>
|
|
|
|
<dd>Character. One to two operands</dd>
|
|
|
|
<dt><em>'COALESCE'</em></dt>
|
|
|
|
<dd>First non-null value. Two to N operands</dd>
|
|
|
|
<dt><em>'CONCAT'</em></dt>
|
|
|
|
<dd>Concatenation. Two operands</dd>
|
|
|
|
<dt><em>'COS'</em></dt>
|
|
|
|
<dd>Cosine. One operand</dd>
|
|
|
|
<dt><em>'COSH'</em></dt>
|
|
|
|
<dd>Hyperbolic cosine. One operand</dd>
|
|
|
|
<dt><em>'COT'</em></dt>
|
|
|
|
<dd>Co-tangent. One operand</dd>
|
|
|
|
<dt><em>'COUNT'</em></dt>
|
|
|
|
<dd>Count. One operand</dd>
|
|
|
|
<dt><em>'CURDATE'</em></dt>
|
|
|
|
<dd>Current date. Zero operand</dd>
|
|
|
|
<dt><em>'CURTIME'</em></dt>
|
|
|
|
<dd>Current time. Zero operand</dd>
|
|
|
|
<dt><em>'DATE'</em></dt>
|
|
|
|
<dd>Date. One operand</dd>
|
|
|
|
<dt><em>'DAY'</em></dt>
|
|
|
|
<dd>Day. One operand</dd>
|
|
|
|
<dt><em>'DAYOFMONTH'</em></dt>
|
|
|
|
<dd>Day of month. One operand</dd>
|
|
|
|
<dt><em>'DAYOFWEEK'</em></dt>
|
|
|
|
<dd>Day of week. One operand</dd>
|
|
|
|
<dt><em>'DAYOFYEAR'</em></dt>
|
|
|
|
<dd>Day of year. One operand</dd>
|
|
|
|
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Built-in functions <em>(continued)</em>
|
|
|
|
<dl compact>
|
|
<dt><em>'DAYS'</em></dt>
|
|
|
|
<dd>Days. One operand</dd>
|
|
|
|
<dt><em>'DECIMAL'</em></dt>
|
|
|
|
<dd>Decimal of operand. One operand</dd>
|
|
|
|
<dt><em>'DEGREES'</em></dt>
|
|
|
|
<dd>Degrees. One operand</dd>
|
|
|
|
<dt><em>'DIGITS'</em></dt>
|
|
|
|
<dd>Character form of number. One operand</dd>
|
|
|
|
<dt><em>'DOUBLE'</em></dt>
|
|
|
|
<dd>Double precision. One operand</dd>
|
|
|
|
<dt><em>'EXP'</em></dt>
|
|
|
|
<dd>Natural log to the power. One operand</dd>
|
|
<dt><em>'FLOAT'</em></dt>
|
|
|
|
<dd>Floating point. One operand</dd>
|
|
|
|
<dt><em>'FLOOR'</em></dt>
|
|
|
|
<dd>Integer. One operand</dd>
|
|
|
|
<dt><em>'HASH'</em></dt>
|
|
|
|
<dd>Hash value. One to N operands</dd>
|
|
|
|
<dt><em>'HEX'</em></dt>
|
|
|
|
<dd>Hex value. One operand</dd>
|
|
|
|
<dt><em>'HOUR'</em></dt>
|
|
|
|
<dd>Hour. One operand</dd>
|
|
|
|
<dt><em>'IFNULL'</em></dt>
|
|
|
|
<dd>First non-null value. Two operands</dd>
|
|
|
|
<dt><em>'INT'</em></dt>
|
|
|
|
<dd>Integer. One operand</dd>
|
|
|
|
<dt><em>'LAND'</em></dt>
|
|
|
|
<dd>Logical AND. Two operands</dd>
|
|
|
|
<dt><em>'LCASE'</em></dt>
|
|
|
|
<dd>Lower case. One operand</dd>
|
|
|
|
<dt><em>'LEFT'</em></dt>
|
|
|
|
<dd>Left N characters. Two operands</dd>
|
|
|
|
<dt><em>'LENGTH'</em></dt>
|
|
|
|
<dd>Length. One operand</dd>
|
|
|
|
<dt><em>'LN'</em></dt>
|
|
|
|
<dd>Natural log. One operand</dd>
|
|
|
|
<dt><em>'LNOT'</em></dt>
|
|
|
|
<dd>Logical NOT. One operand</dd>
|
|
|
|
<dt><em>'LOCATE'</em></dt>
|
|
|
|
<dd>Search string in source string. Two to three operands</dd>
|
|
|
|
<dt><em>'LOG'</em></dt>
|
|
|
|
<dd>Base 10 log. One operand</dd>
|
|
|
|
<dt><em>'LOR'</em></dt>
|
|
|
|
<dd>Logical OR. Two operands</dd>
|
|
|
|
<dt><em>'LOWER'</em></dt>
|
|
|
|
<dd>Lower case. One operand</dd>
|
|
|
|
<dt><em>'LTRIM'</em></dt>
|
|
|
|
<dd>Remove leading blanks. One operand</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Built-in functions <em>(continued)</em>
|
|
|
|
<dl compact>
|
|
<dt><em>'MAX'</em></dt>
|
|
|
|
<dd>Max. One operand</dd>
|
|
|
|
<dt><em>'MAX'</em></dt>
|
|
|
|
<dd>Max. Two to N operands</dd>
|
|
|
|
<dt><em>'MICROSECOND'</em></dt>
|
|
|
|
<dd>Microsecond. One operand</dd>
|
|
|
|
<dt><em>'MIN'</em></dt>
|
|
|
|
<dd>Min. One operand</dd>
|
|
|
|
<dt><em>'MIN'</em></dt>
|
|
|
|
<dd>Min. Two to N operands</dd>
|
|
|
|
<dt><em>'MINUTE'</em></dt>
|
|
|
|
<dd>Minute. One operand</dd>
|
|
|
|
<dt><em>'MOD'</em></dt>
|
|
|
|
<dd>Modulo. Two operands</dd>
|
|
|
|
<dt><em>'MONTH'</em></dt>
|
|
|
|
<dd>Month. One operand</dd>
|
|
|
|
<dt><em>'NOW'</em></dt>
|
|
|
|
<dd>Current timestamp. Zero operands</dd>
|
|
|
|
<dt><em>'POSSTR'</em></dt>
|
|
|
|
<dd>Search string in source string. Two operands</dd>
|
|
|
|
<dt><em>'POWER'</em></dt>
|
|
|
|
<dd>Raise to power of. Two operands</dd>
|
|
|
|
<dt><em>'QUARTER'</em></dt>
|
|
|
|
<dd>Quarter. One operand</dd>
|
|
|
|
<dt><em>'REAL'</em></dt>
|
|
|
|
<dd>Single precision float. One operand</dd>
|
|
|
|
<dt><em>'RTRIM'</em></dt>
|
|
|
|
<dd>Trim trailing blanks. One operand</dd>
|
|
|
|
<dt><em>'SECOND'</em></dt>
|
|
|
|
<dd>Second. One operand</dd>
|
|
|
|
<dt><em>'SIN'</em></dt>
|
|
|
|
<dd>Sine. One operand</dd>
|
|
|
|
<dt><em>'SINH'</em></dt>
|
|
|
|
<dd>Hyperbolic sine. One operand</dd>
|
|
|
|
<dt><em>'SMALLINT'</em></dt>
|
|
|
|
<dd>Small integer. One operand</dd>
|
|
|
|
<dt><em>'SQRT'</em></dt>
|
|
|
|
<dd>Square root. One operand</dd>
|
|
|
|
<dt><em>'STDDEV'</em></dt>
|
|
|
|
<dd>Standard deviation. One operand</dd>
|
|
|
|
<dt><em>'SUBSTR'</em></dt>
|
|
|
|
<dd>Substr. Two to three operands</dd>
|
|
|
|
<dt><em>'SUM'</em></dt>
|
|
|
|
<dd>Sum. One operand</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">Built-in functions <em>(continued)</em>
|
|
|
|
<dl compact>
|
|
<dt><em>'TAN'</em></dt>
|
|
|
|
<dd>Tangent. One operand</dd>
|
|
|
|
<dt><em>'TANH'</em></dt>
|
|
|
|
<dd>Hyperbolic tangent. One operand</dd>
|
|
|
|
<dt><em>'TIME'</em></dt>
|
|
|
|
<dd>Time. One operand</dd>
|
|
|
|
<dt><em>'TIMESTAMP'</em></dt>
|
|
|
|
<dd>Timestamp. One to two operands</dd>
|
|
|
|
<dt><em>'TRANSLATE'</em></dt>
|
|
|
|
<dd>Translate. One to four operands</dd>
|
|
|
|
<dt><em>'UCASE'</em></dt>
|
|
|
|
<dd>Uppercase. One operand</dd>
|
|
|
|
<dt><em>'UPPER'</em></dt>
|
|
|
|
<dd>Uppercase. One operand</dd>
|
|
|
|
<dt><em>'VALUE'</em></dt>
|
|
|
|
<dd>First non-null value. Two to N operands</dd>
|
|
|
|
<dt><em>'VARCHAR'</em></dt>
|
|
|
|
<dd>Varchar. One to three operands</dd>
|
|
|
|
<dt><em>'VARGRAPHIC'</em></dt>
|
|
|
|
<dd>Vargraph. One to three operands</dd>
|
|
|
|
<dt><em>'VARIANCE'</em></dt>
|
|
|
|
<dd>Variance. One operand</dd>
|
|
|
|
<dt><em>'WEEK'</em></dt>
|
|
|
|
<dd>Week. One operand</dd>
|
|
|
|
<dt><em>'XOR'</em></dt>
|
|
|
|
<dd>Logical exclusive OR. Two operands</dd>
|
|
|
|
<dt><em>'YEAR'</em></dt>
|
|
|
|
<dd>Year. One operand</dd>
|
|
|
|
<dt><em>'ZONED'</em></dt>
|
|
|
|
<dd>Zoned. One to four operands</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRTFIL3">FILD0300 Format (Key Field Information)</a></h4>
|
|
|
|
<p>FILD0300 provides detailed information for key fields of each record format
|
|
of the specified file. This structure is used by the QQQQRY API to get data
|
|
from the named file. <a href="#FIGFKI">FILD0300 Format</a> shows how this
|
|
information is organized. When more than one entry can appear, the figure
|
|
indicates this as in <strong>(7)</strong>. To get a description of all the
|
|
fields contained in this structure and to determine the offsets, see the
|
|
include source supplied on the system. An offset to the key field information
|
|
array of each record format is provided in the record format information
|
|
structure. If 0 is returned for this offset, this record format has no key
|
|
field. If -1 is returned for this offset, the size of the receiver provided is
|
|
insufficient to hold the returned data. You can see this source in source file
|
|
H, member name QDBRTVFD, in the QSYSINC library.</p>
|
|
|
|
<p><strong><a name="FIGFKI">FILD0300 Format</a></strong></p>
|
|
|
|
<p><img src="RBAFX589.gif" alt="FILD0300 Format"></p>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRFDWH">Key Information Header (Qdb_Qdbwh)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBWH"><em>Qdb_Qdbwh</em></a> section is always located at
|
|
the beginning of the returned data area.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">BINARY(4)</td>
|
|
<td align="left" valign="top" width="15%">Byte_Ret</td>
|
|
<td align="left" valign="top" width="58%">Bytes returned. The total length, in bytes, of
|
|
the data returned.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top">Byte_Avail</td>
|
|
<td align="left" valign="top">Bytes available. The total length, in bytes, of
|
|
the key information.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Max_Key_Len</td>
|
|
<td align="left" valign="top">Maximum key length. The maximum length, in bytes,
|
|
of any of the keys.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Key_Count</td>
|
|
<td align="left" valign="top">File generic key field count.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top"><a name="SPTFMTCNT">Fmt_Counts</a></td>
|
|
<td align="left" valign="top">Number of formats for the file.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRFDWHR">Record Format Key Information Array
|
|
(Qdb_Qdbwhrec)</a></h4>
|
|
|
|
<p>The <a name="SPTQDBWHR"><em>Qdb_Qdbwhrec</em></a> section is located
|
|
immediately after the <a href="#SPTQDBWH">Qdb_Qdbwh</a> header. This is a
|
|
linked list. There is a format record for each format. The number of formats is
|
|
stored in <a href="#SPTFMTCNT">Fmt_Counts</a> in the Qdb_Qdbwh header.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"><br></td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Rec_Name</td>
|
|
<td align="left" valign="top" width="58%">Record format name. The name of this particular
|
|
record format for the file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"><br></td>
|
|
<td align="left" valign="top">CHAR(2)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top"><a name="SPTNUMKEY">Num_Of_Keys</a></td>
|
|
<td align="left" valign="top">Number of record format key fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">CHAR(14)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top">BINARY(4)</td>
|
|
<td align="left" valign="top"><a name="SPTKEYOFS">Key_Info_Offset</a></td>
|
|
<td align="left" valign="top">Offset to the key field description array for
|
|
this record format.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRFDWHK">Key Field Description Array (Qdb_Qdbwhkey)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTQDBWHK"><em>Qdb_Qdbwhkey</em></a> section
|
|
with the offset <a href="#SPTKEYOFS">Key_Info_Offset</a> in the <a href=
|
|
"#SPTQDBWHR">Qdb_Qdbwhrec</a> array member. This is a linked list. There is a
|
|
key field information array member for each key in the record format. The
|
|
number of key fields is stored in <a href="#SPTNUMKEY">Num_Of_Keys</a> in the
|
|
Qdb_Qdbwhrec array member.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Bit</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="5%"> </td>
|
|
<td align="left" valign="top" width="11%">CHAR(10)</td>
|
|
<td align="left" valign="top" width="15%">Int_Field_ Name</td>
|
|
<td align="left" valign="top" width="58%">Internal key field name. If this is a logical
|
|
format, this name is the name of the field in the logical format. If this is a
|
|
physical format, this name is the same as the external field name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Ext_Field_ Name</td>
|
|
<td align="left" valign="top">External key field name. If this is a physical
|
|
format, this is the name of the field in the physical format. If this is a
|
|
logical format, this name is the name of the field in a physical format on
|
|
which this format is based.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Data_Type</td>
|
|
<td align="left" valign="top">The data type of this key field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Field_Len</td>
|
|
<td align="left" valign="top">The length of this key field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Num_Of_Digs</td>
|
|
<td align="left" valign="top">The number of digits in this key field. For
|
|
numeric fields, this is the number of digits. For graphic data fields, this is
|
|
the number of DBCS characters the field can contain. This field is applicable
|
|
only to numeric and graphic fields.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Dec_Pos</td>
|
|
<td align="left" valign="top">The number of decimal positions for this key
|
|
field.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_ Qdbwhkattr_t</td>
|
|
<td align="left" valign="top">Key field attributes flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Descending</td>
|
|
<td align="left" valign="top">Descending/ascending sequence indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(2)</td>
|
|
<td align="left" valign="top">Numeric</td>
|
|
<td align="left" valign="top">Numeric key field sequencing indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">3</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Alt_Collating</td>
|
|
<td align="left" valign="top">Alternative collating sequence indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">5</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Force_Zone</td>
|
|
<td align="left" valign="top">Force zone sequence indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Force_Digit</td>
|
|
<td align="left" valign="top">Force digit sequence indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="center" valign="top">7</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Statement_ Format</td>
|
|
<td align="left" valign="top">Key statement external or internal name
|
|
indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">BINARY(2)</td>
|
|
<td align="left" valign="top">Alt_Name_Len</td>
|
|
<td align="left" valign="top">Length of the alternative name. If the length of
|
|
the alternative name is greater than 30, this field will be 0. The longer
|
|
alternative name will have to be accessed by the Alias Name Structure
|
|
(Qdb_Qddfalis).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(30)</td>
|
|
<td align="left" valign="top">Alt_Name</td>
|
|
<td align="left" valign="top">Alternative name (Alias). If the length of the
|
|
alternative name is greater than 30, this field will be blank. The longer
|
|
alternative name will have to be accessed by the Alias Name Structure
|
|
(Qdb_Qddfalis).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">61</td>
|
|
<td align="center" valign="top">3D</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">62</td>
|
|
<td align="center" valign="top">3E</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_ Qdbwhkatt1_t</td>
|
|
<td align="left" valign="top">Additional key field attribute flags.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">62</td>
|
|
<td align="center" valign="top">3E</td>
|
|
<td align="center" valign="top">0</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Null_Value</td>
|
|
<td align="left" valign="top">Allow null value (ALNULL) indicator.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">62</td>
|
|
<td align="center" valign="top">3E</td>
|
|
<td align="center" valign="top">1</td>
|
|
<td align="left" valign="top">BIT(1)</td>
|
|
<td align="left" valign="top">Alt_Name_ Exists</td>
|
|
<td align="left" valign="top">The alternative name indicator. If the key field
|
|
has an alternative name, this field will be 1, even if the length of the
|
|
alternative name is greater than 30.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">62</td>
|
|
<td align="center" valign="top">3E</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BIT(6)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">63</td>
|
|
<td align="center" valign="top">3F</td>
|
|
<td align="center" valign="top"> </td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Reserved</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRRTFLD4">FILD0400 Format (Qdb_qdbftrg_head structure)</a></h4>
|
|
|
|
<p>FILD0400 provides detailed information about triggers defined for a file. <a
|
|
href="#FIGTRG">FILD0400 Format</a> shows how this information is organized.
|
|
When more than one entry can appear, the figure indicates this as in <strong>
|
|
(8)</strong>.</p>
|
|
|
|
<p>Descriptions of the fields in this structure follow <a href="#FIGTRG">
|
|
FILD0400 Format</a>. The include source is supplied on the system, in the
|
|
appropriate language source file, member name QDBRTVFD, in the QSYSINC library.
|
|
The field names in the following tables apply only to the ILE C include. Refer
|
|
to <a href="../apiref/conQSYSINC.htm">Include files and the QSYSINC Library</a> for
|
|
the names of the OPM and ILE RPG and COBOL includes.</p>
|
|
|
|
<p><strong><a name="FIGTRG">FILD0400 Format</a></strong></p>
|
|
|
|
<p><img src="RBAFX657.gif" alt="FILD0400 Format"></p>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBFTH">Trigger Information Header (Qdb_Qdbftrg_Head)</a></h4>
|
|
|
|
<p>This is the first structure and is located at offset zero of the returned
|
|
data.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Bytes_Returned</td>
|
|
<td align="left" valign="top" width="40%">Length of the data returned in bytes.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Bytes_Avail</td>
|
|
<td align="left" valign="top">Number of bytes available for the trigger
|
|
information data.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="left" valign="top">CHAR(52)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved1</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTNUMTRGS">
|
|
Qdb_Qdbftrg_Num_Trgs</a></td>
|
|
<td align="left" valign="top">Number of trigger definitions.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="left" valign="top">CHAR(8)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved2</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFENT1">
|
|
Qdb_Qdbftrg_Off_Ent_Num1</a></td>
|
|
<td align="left" valign="top">Offset to first trigger definition entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">76</td>
|
|
<td align="center" valign="top">4C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Off_Ins_Grp</td>
|
|
<td align="left" valign="top">Offset to the beginning of the insert group.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Off_Upd_Grp</td>
|
|
<td align="left" valign="top">Offset to the beginning of the update group.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">84</td>
|
|
<td align="center" valign="top">54</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Off_Del_Grp</td>
|
|
<td align="left" valign="top">Offset to the beginning of the delete group.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">88</td>
|
|
<td align="center" valign="top">58</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Off_Read_Grp</td>
|
|
<td align="left" valign="top">Offset to the beginning of the read group.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">92</td>
|
|
<td align="center" valign="top">5C</td>
|
|
<td align="left" valign="top">CHAR(28)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved36</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">120</td>
|
|
<td align="center" valign="top">78</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Sql_Trgs</td>
|
|
<td align="left" valign="top">Number of SQL triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">124</td>
|
|
<td align="center" valign="top">7C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Ntv_Trgs</td>
|
|
<td align="left" valign="top">Number of native triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">128</td>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Insb_Trg</td>
|
|
<td align="left" valign="top">Number of INSERT/BEFORE triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">132</td>
|
|
<td align="center" valign="top">84</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Insa_Trg</td>
|
|
<td align="left" valign="top">Number of INSERT/AFTER triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">136</td>
|
|
<td align="center" valign="top">88</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Delb_Trg</td>
|
|
<td align="left" valign="top">Number of DELETE/BEFORE triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">140</td>
|
|
<td align="center" valign="top">8C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Dela_Trg</td>
|
|
<td align="left" valign="top">Number of DELETE/AFTER triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">144</td>
|
|
<td align="center" valign="top">90</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Updb_Trg</td>
|
|
<td align="left" valign="top">Number of UPDATE/BEFORE triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">148</td>
|
|
<td align="center" valign="top">94</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Upda_Trg</td>
|
|
<td align="left" valign="top">Number of UPDATE/AFTER triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">152</td>
|
|
<td align="center" valign="top">98</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Reada_Trg</td>
|
|
<td align="left" valign="top">Number of READ/AFTER triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top"><img src="delta.gif" alt="Start of Change">156</td>
|
|
<td align="center" valign="top">9C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Insi_Trg</td>
|
|
<td align="left" valign="top">Number of INSERT/INSTEAD OF triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">160</td>
|
|
<td align="center" valign="top">A0</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Deli_Trg</td>
|
|
<td align="left" valign="top">Number of DELETE/INSTEAD OF triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">164</td>
|
|
<td align="center" valign="top">A4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Num_Updi_Trg</td>
|
|
<td align="left" valign="top">Number of UPDATE/INSTEAD OF triggers.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">168</td>
|
|
<td align="center" valign="top">A8</td>
|
|
<td align="left" valign="top">CHAR(536)<img src="deltaend.gif" alt="End of Change"></td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved3</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTFHE">Trigger Definition Entry Header
|
|
(Qdb_Qdbftrg_Def_Head)</a></h4>
|
|
|
|
<p>The number of entries is defined by variable <a href="#SPTNUMTRGS">
|
|
Qdb_Qdbftrg_Num_Trgs</a> in the trigger header, <a href="#SPTNUMTRGS">
|
|
Qdb_Qdbftrg_Head</a>. You can locate the <a name="SPTTDEHEAD"><em>
|
|
Qdb_Qdbftrg_Def_Head</em></a> section with the offset <a href="#SPTOFFENT1">
|
|
Qdb_Qdbftrg_Off_Ent_Num1</a> in the trigger header, Qdb_Qdbftrg_Head.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved4</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Len</td>
|
|
<td align="left" valign="top">Length of the entire trigger definition. This
|
|
includes all structures. This length added to the pointer to this entry gets
|
|
you to the next trigger definition entry.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Head_Len</td>
|
|
<td align="left" valign="top">Length of the trigger definition header <a href=
|
|
"#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(52)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved5</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Pgm</td>
|
|
<td align="left" valign="top">Trigger program name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">90</td>
|
|
<td align="center" valign="top">5A</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Lib</td>
|
|
<td align="left" valign="top">Trigger program library.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">100</td>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="left" valign="top">CHAR(4)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved6</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">104</td>
|
|
<td align="center" valign="top">68</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Ord_ Num</td>
|
|
<td align="left" valign="top">Trigger ordinal number.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">108</td>
|
|
<td align="center" valign="top">6C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_State</td>
|
|
<td align="left" valign="top">Trigger state.
|
|
|
|
<dl compact>
|
|
<dt><em>'E'</em></dt>
|
|
|
|
<dd>Trigger is enabled.</dd>
|
|
|
|
<dt><em>'D'</em></dt>
|
|
|
|
<dd>Trigger is disabled.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">109</td>
|
|
<td align="center" valign="top">6D</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Operative</td>
|
|
<td align="left" valign="top">Trigger is operative.
|
|
|
|
<dl compact>
|
|
<dt><em>'O'</em></dt>
|
|
|
|
<dd>Trigger is operative.</dd>
|
|
|
|
<dt><em>'I'</em></dt>
|
|
|
|
<dd>Trigger is inoperative.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">110</td>
|
|
<td align="center" valign="top">6E</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Type</td>
|
|
<td align="left" valign="top">Trigger type.
|
|
|
|
<dl compact>
|
|
<dt><em>'N'</em></dt>
|
|
|
|
<dd>Native/System (added using ADDPFTRG).</dd>
|
|
|
|
<dt><em>'S'</em></dt>
|
|
|
|
<dd>SQL (added using CREATE TRIGGER).</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="center" valign="top">6F</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Mode</td>
|
|
<td align="left" valign="top">Trigger mode. Used only when the trigger type <a
|
|
href="#SPTTDEHEAD">QDBFTRG_DEF_TYPE</a> is set to an SQL trigger. The mode is
|
|
used to determine the I/O model used during the trigger program execution.
|
|
|
|
<dl compact>
|
|
<dt><em>'00'X</em></dt>
|
|
|
|
<dd>Not applicable.</dd>
|
|
|
|
<dt><em>'01'X</em></dt>
|
|
|
|
<dd>DB2 SQL.</dd>
|
|
|
|
<dt><em>'02'X</em></dt>
|
|
|
|
<dd>DB2 Row.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">112</td>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Orient</td>
|
|
<td align="left" valign="top">Trigger orientation.
|
|
|
|
<dl compact>
|
|
<dt><em>'R'</em></dt>
|
|
|
|
<dd>Row trigger</dd>
|
|
|
|
<dt><em>'C'</em></dt>
|
|
|
|
<dd>Column trigger</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">113</td>
|
|
<td align="center" valign="top">71</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Time</td>
|
|
<td align="left" valign="top">Trigger time.
|
|
|
|
<dl compact>
|
|
<dt><em>'1'</em></dt>
|
|
|
|
<dd>After</dd>
|
|
|
|
<dt><em>'2'</em></dt>
|
|
|
|
<dd>Before</dd>
|
|
|
|
|
|
<dt><img src="delta.gif" alt="Start of Change"><em>'3'</em></dt>
|
|
|
|
<dd>Instead Of<img src="deltaend.gif" alt="End of Change"></dd>
|
|
|
|
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">114</td>
|
|
<td align="center" valign="top">72</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Event</td>
|
|
<td align="left" valign="top">Trigger event.
|
|
|
|
<dl compact>
|
|
<dt><em>'1'</em></dt>
|
|
|
|
<dd>Insert</dd>
|
|
|
|
<dt><em>'2'</em></dt>
|
|
|
|
<dd>Delete</dd>
|
|
|
|
<dt><em>'3'</em></dt>
|
|
|
|
<dd>Update</dd>
|
|
|
|
<dt><em>'4'</em></dt>
|
|
|
|
<dd>Read</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">115</td>
|
|
<td align="center" valign="top">73</td>
|
|
<td align="left" valign="top">CHAR(45)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved7</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">160</td>
|
|
<td align="center" valign="top">A0</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFNAME">
|
|
Qdb_Qdbftrg_Def_Off_ Trg_Name</a></td>
|
|
<td align="left" valign="top">Offset to the trigger name structure <a href=
|
|
"#SPTNAMEHED">Qdb_Qdbftrg_Name_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">164</td>
|
|
<td align="center" valign="top">A4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved8</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">168</td>
|
|
<td align="center" valign="top">A8</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFPATH">
|
|
Qdb_Qdbftrg_Def_Off_Sql_Path</a></td>
|
|
<td align="left" valign="top">Offset to the SQL path structure <a href=
|
|
"#SPTPATHHED">Qdb_Qdbftrg_Path_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">172</td>
|
|
<td align="center" valign="top">AC</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFUPDC">
|
|
Qdb_Qdbftrg_Def_Off_Upd_Cols</a></td>
|
|
<td align="left" valign="top">Offset to the update columns structure <a href=
|
|
"#SPTUPDCHED">Qdb_Qdbftrg_Updc_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">176</td>
|
|
<td align="center" valign="top">B0</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFWHEN">
|
|
Qdb_Qdbftrg_Def_Off_ When_Cols</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the list of
|
|
columns referenced in the WHEN condition <a href="#SPTWHENHED">
|
|
Qdb_Qdbftrg_When_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">180</td>
|
|
<td align="center" valign="top">B4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFBODY">
|
|
Qdb_Qdbftrg_Def_Off_ Body_Cols</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the list of
|
|
columns referenced in the trigger body <a href="#SPTBODYHED">
|
|
Qdb_Qdbftrg_Body_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">184</td>
|
|
<td align="center" valign="top">B8</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFDEPO">
|
|
Qdb_Qdbftrg_Def_Off_ Dep_Objs</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the list of
|
|
dependent objects referenced in the trigger body <a href="#SPTDEPOHED">
|
|
Qdb_Qdbftrg_Depo_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">188</td>
|
|
<td align="center" valign="top">BC</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFTRAN">
|
|
Qdb_Qdbftrg_Def_Off_ Transition</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the transition
|
|
tables, <a href="#SPTTRNSHED">Qdb_Qdbftrg_Trns_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">192</td>
|
|
<td align="center" valign="top">C0</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFSTMT">
|
|
Qdb_Qdbftrg_Def_Off_ Trg_Stmt</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the CREATE
|
|
TRIGGER statement <a href="#SPTSTMTHED">rQdb_Qdbftrg_Stmt_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">196</td>
|
|
<td align="center" valign="top">C4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTOFFLONG">
|
|
Qdb_Qdbftrg_Def_Off_ Trg_Long</a></td>
|
|
<td align="left" valign="top">Offset to the structure containing the trigger
|
|
long comment <a href="#SPTLONGHED">Qdb_Qdbftrg_Long_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">200</td>
|
|
<td align="center" valign="top">C8</td>
|
|
<td align="left" valign="top">CHAR(64)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved9</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">264</td>
|
|
<td align="center" valign="top">108</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_ Updcond</td>
|
|
<td align="left" valign="top">Trigger update condition. For system triggers
|
|
only (Qdb_Qdbftrg_Def_Type = 'N'). This field is valid for the UPDATE event
|
|
only. This field is ignored for INSERT or DELETE or READ events.
|
|
|
|
<dl compact>
|
|
<dt><em>'1'</em></dt>
|
|
|
|
<dd>Always calls the trigger when updating the file.</dd>
|
|
|
|
<dt><em>'2'</em></dt>
|
|
|
|
<dd>Only calls the trigger when the updated values are changed.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">265</td>
|
|
<td align="center" valign="top">109</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_ Allow_Repchg</td>
|
|
<td align="left" valign="top">Allow repeated change.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>*NO (Repeated change not allowed)</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>*YES (Repeated change allowed)</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">266</td>
|
|
<td align="center" valign="top">10A</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_ Threadsafe</td>
|
|
<td align="left" valign="top">Threadsafe indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>*UNKNOWN (Threadsafe status is not known)</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>*NO (Not threadsafe)</dd>
|
|
|
|
<dt><em>X'10'</em></dt>
|
|
|
|
<dd>*YES (Threadsafe)</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">267</td>
|
|
<td align="center" valign="top">10B</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_ Multijob</td>
|
|
<td align="left" valign="top">Multithreaded job action indicator
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>*SYSVAL (default)</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>*MSG (Run, diagnostic)</dd>
|
|
|
|
<dt><em>X'10'</em></dt>
|
|
|
|
<dd>*NORUN (Escape)</dd>
|
|
|
|
<dt><em>X'11'</em></dt>
|
|
|
|
<dd>*RUN (Run, no message)</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">268</td>
|
|
<td align="center" valign="top">10C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Old_Tvar</td>
|
|
<td align="left" valign="top">Old correlation variable indicator. Only applies
|
|
to SQL triggers.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Yes</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">269</td>
|
|
<td align="center" valign="top">10D</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_New_Tvar</td>
|
|
<td align="left" valign="top">New correlation variable indicator. Only applies
|
|
to SQL triggers.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Yes</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">270</td>
|
|
<td align="center" valign="top">10E</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Old_Ttable</td>
|
|
<td align="left" valign="top">Old transition table indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Yes</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">271</td>
|
|
<td align="center" valign="top">10F</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_New_Ttable</td>
|
|
<td align="left" valign="top">New transition table indicator
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Yes</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">272</td>
|
|
<td align="center" valign="top">110</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Self_Ref</td>
|
|
<td align="left" valign="top">Self-referencing indicator. Indicates whether or
|
|
not the user explicitly specified this file's name in the trigger body.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Not self-referencing.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Self-referencing.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">273</td>
|
|
<td align="center" valign="top">111</td>
|
|
<td align="left" valign="top">CHAR(13)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Crt_Ts</td>
|
|
<td align="left" valign="top">Trigger creation timestamp. The format is
|
|
CYYMMDDHHMMSS.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">286</td>
|
|
<td align="center" valign="top">11E</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Crt_User</td>
|
|
<td align="left" valign="top">User profile that created the trigger.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">296</td>
|
|
<td align="center" valign="top">11F</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Pgm_Owner</td>
|
|
<td align="left" valign="top">User profile that owns the trigger program. For
|
|
SQL triggers only.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">306</td>
|
|
<td align="center" valign="top">132</td>
|
|
<td align="left" valign="top">BIN(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Trg_Ccsid</td>
|
|
<td align="left" valign="top">CCSID of the CREATE TRIGGER statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">310</td>
|
|
<td align="center" valign="top">136</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved34</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">311</td>
|
|
<td align="center" valign="top">137</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Def_Mod_Tvar</td>
|
|
<td align="left" valign="top">The trigger contains a SET statement that
|
|
modifies the new correlation variable. (Indicates whether or not update
|
|
authority is required to the table.) For SQL *BEFORE *UPDATE triggers only.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>No.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Yes.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">312</td>
|
|
<td align="center" valign="top">138</td>
|
|
<td align="left" valign="top">CHAR(152)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved10</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTN">Trigger Definition Name Structure
|
|
(Qdb_Qdbftrg_Name_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTNAMEHED"><em>Qdb_Qdbftrg_Name_Area</em></a>
|
|
section with the offset <a href="#SPTOFFNAME">Qdb_Qdbftrg_Def_Off_Trg_Name</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved11</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Name_ Area_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the trigger name area <a href=
|
|
"#SPTNAMEHED">Qdb_Qdbftrg_Name_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTTLIBLEN">
|
|
Qdb_Qdbftrg_Name_Lib_Len</a></td>
|
|
<td align="left" valign="top">Length of the trigger library name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top"><a name="SPTTNAMLEN">
|
|
Qdb_Qdbftrg_Name_Len</a></td>
|
|
<td align="left" valign="top">Length of the trigger program name.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Name_Sysgen</td>
|
|
<td align="left" valign="top">System-generated trigger name indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The user specified the trigger name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Originally, the user generated the name, but a name collision occurred and
|
|
the system generated a new name.</dd>
|
|
|
|
<dt><em>X'02'</em></dt>
|
|
|
|
<dd>The system generated the trigger name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Name_Delim</td>
|
|
<td align="left" valign="top">Delimited name indicator. If the trigger name is
|
|
delimited, it will contain double quotes.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The trigger name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The trigger name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Lib_Delim</td>
|
|
<td align="left" valign="top">Delimited library name indicator. If the trigger
|
|
library name is delimited, it will contain double quotes.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>The trigger library name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>The trigger library name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Name_Type</td>
|
|
<td align="left" valign="top">Trigger naming convention.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>System naming.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>SQL naming.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="left" valign="top">CHAR(58)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved12</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">94</td>
|
|
<td align="center" valign="top">5E</td>
|
|
<td align="left" valign="top">CHAR(268)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Name_Qual</td>
|
|
<td align="left" valign="top">Qualified trigger name. The trigger name and
|
|
library name are in two parts. Part 1 is the trigger library name, which is
|
|
padded to 10 characters, if necessary, with blanks. <a href="#SPTTLIBLEN">
|
|
Qdb_Qdbftrg_Name_Lib_Len</a> defines the length of the trigger library name.
|
|
Part 2 is the trigger name. <a href="#SPTTNAMLEN">Qdb_Qdbftrg_Name_Len</a>
|
|
defines the length of the trigger name.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTP">SQL Path Structure (Qdb_Qdbftrg_Path_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTPATHHED"><em>Qdb_Qdbftrg_Path_Area</em></a>
|
|
section with the offset <a href="#SPTOFFPATH">Qdb_Qdbftrg_Def_Off_Sql_Path</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved13</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Path_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the SQL path area <a href=
|
|
"#SPTPATHHED">Qdb_Qdbftrg_Path_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Path_Len</td>
|
|
<td align="left" valign="top">Length of the SQL path structure <a href=
|
|
"#SPTPATH">Qdb_Qdbftrg_Path</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(36)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved14</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTPATH">Qdb_Qdbftrg_Path</a></td>
|
|
<td align="left" valign="top">SQL path. See <a href="../db2/rbafzmst02.htm">DB2
|
|
UDB for iSeries SQL Reference</a> CURRENT PATH special register for information
|
|
on the format of this structure.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTU">UPDATE Columns Structure
|
|
(Qdb_Qdbftrg_Updc_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTUPDCHED"><em>Qdb_Qdbftrg_Updc_Area</em></a>
|
|
section with the offset <a href="#SPTOFFUPDC">Qdb_Qdbftrg_Def_Off_Upd_Col</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved15</td>
|
|
<td align="left" valign="top" width="40%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the update columns area <a href=
|
|
"#SPTUPDCHED">Qdb_Qdbftrg_Updc_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Num_Cols</td>
|
|
<td align="left" valign="top">Number of columns in the list <a href=
|
|
"#SPTUPDCENT">Qdb_Qdbftrg_Updc_List_Struc</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(52)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved16</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTUPDCLST">
|
|
Qdb_Qdbftrg_Updc_List_Struc</a></td>
|
|
<td align="left" valign="top">Update column list structure.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTUE">UPDATE Columns Entry Structure
|
|
(Qdb_Qdbftrg_Updc_List_Ent)</a></h4>
|
|
|
|
<p>The <a name="SPTUPDCENT"><em>Qdb_Qdbftrg_Updc_List_Ent</em></a> section maps
|
|
an entry in the structure <a href="#SPTUPDCLST">
|
|
Qdb_Qdbftrg_Updc_List_Struc</a>.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top" width="30%"><a name="SPTUPDCLEL">
|
|
Qdb_Qdbftrg_Updc_Le_Len</a></td>
|
|
<td align="left" valign="top" width="45%">Update column list entry length. Addressability
|
|
to this entry plus <a href="#SPTUPDCLEL">Qdb_Qdbftrg_Updc_Le_Len</a> gets
|
|
addressability to the next entry in this structure.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">CHAR(10)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Le_ Short_Name</td>
|
|
<td align="left" valign="top">Short name of the column.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Le_ Short_Del</td>
|
|
<td align="left" valign="top">Short name is delimited indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="center" valign="top">F</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Le_ Long_Del</td>
|
|
<td align="left" valign="top">Long name is delimited indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Le_ Long_Same</td>
|
|
<td align="left" valign="top">Short name and long name are the same indicator.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Names are different.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Names are the same.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="center" valign="top">11</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Updc_Le_ Long_Len</td>
|
|
<td align="left" valign="top">Length of the long name <a href="#SPTUPDCLON">
|
|
Qdb_Qdbftrg_Updc_Le_Long_Name</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="left" valign="top">CHAR(27)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved17</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTUPDCLON">
|
|
Qdb_Qdbftrg_Updc_Le_ Long_Name</a></td>
|
|
<td align="left" valign="top">Long name of the column.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTWE">WHEN Columns Structure (Qdb_Qdbftrg_When_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTWHENHED"><em>Qdb_Qdbftrg_When_Area</em></a>
|
|
section with the offset <a href="#SPTOFFWHEN">Qdb_Qdbftrg_Def_Off_When_Cols</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved18</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the WHEN columns area <a href=
|
|
"#SPTWHENHED">Qdb_Qdbftrg_When_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Num_Cols</td>
|
|
<td align="left" valign="top">Number of columns in the list <a href=
|
|
"#SPTWHENLST">Qdb_Qdbftrg_When_List_Struc</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Self_Ref</td>
|
|
<td align="left" valign="top">Whether columns in the WHEN list belong to this
|
|
file.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>All columns belong to the ON table.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Some of the columns belong to the ON table.</dd>
|
|
|
|
<dt><em>X'02'</em></dt>
|
|
|
|
<dd>None of the columns belong to the ON table.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="left" valign="top">CHAR(51)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved19</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><a name="SPTWHENLST">
|
|
Qdb_Qdbftrg_When_Array</a></td>
|
|
<td align="left" valign="top">WHEN column array.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTW">WHEN Columns Entry Structure
|
|
(Qdb_Qdbftrg_When_Array)</a></h4>
|
|
|
|
<p>This <a href="#SPTWHENLST">Qdb_Qdbftrg_When_Array</a> section maps an entry
|
|
in the structure Qdb_Qdbftrg_When_Array. This structure is for SQL triggers
|
|
only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top" width="30%"><a name="SPTWHENLEL">
|
|
Qdb_Qdbftrg_When_Col_Off</a></td>
|
|
<td align="left" valign="top" width="45%">WHEN column name offset into the WHEN portion of
|
|
the CREATE TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a>
|
|
.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Col_Len</td>
|
|
<td align="left" valign="top">Length of the column name in the CREATE TRIGGER
|
|
statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_File_Off</td>
|
|
<td align="left" valign="top">Offset to the column's file name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> relative
|
|
to the start of the CREATE TRIGGER statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_File_Len</td>
|
|
<td align="left" valign="top">Length of the column's file name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Lib_Off</td>
|
|
<td align="left" valign="top">Offset to the column's library name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> relative
|
|
to the start of the CREATE TRIGGER statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Lib_Len</td>
|
|
<td align="left" valign="top">Length of the column's library name in the
|
|
trigger string <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_1st_Entry</td>
|
|
<td align="left" valign="top">Whether the column name is the first in the list
|
|
of entries.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column is not the first in the list.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is the first in the list.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">25</td>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_This_File</td>
|
|
<td align="left" valign="top">Whether the column name is in this file.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column is not in this file.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is in this file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Col_Long</td>
|
|
<td align="left" valign="top">Whether the column name is a short or long name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">27</td>
|
|
<td align="center" valign="top">1B</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Col_Del</td>
|
|
<td align="left" valign="top">Whether the column name is a delimited name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column name is is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_File_Long</td>
|
|
<td align="left" valign="top">Whether the column's file name is a short or long
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>File name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>File name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_File_Del</td>
|
|
<td align="left" valign="top">Whether the column's file name is a delimited
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>File name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>File name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Lib_Long</td>
|
|
<td align="left" valign="top">Whether the column's library name is a short or
|
|
long name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Library name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Library name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_When_Lib_Del</td>
|
|
<td align="left" valign="top">Whether the column's library name is a delimited
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Columns name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="left" valign="top">CHAR(32)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved20</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTB">BODY Columns Structure (Qdb_Qdbftrg_Body_Area)</a></h4>
|
|
|
|
<p>You can locate this <a name="SPTBODYHED"><em>Qdb_Qdbftrg_Body_Area</em></a>
|
|
section with the offset <a href="#SPTOFFBODY">Qdb_Qdbftrg_Def_Off_Body_Cols</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved21</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the BODY columns area <a href=
|
|
"#SPTBODYHED">Qdb_Qdbftrg_Body_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Num_Cols</td>
|
|
<td align="left" valign="top">Number of columns in the list <a href=
|
|
"#SPTBODYLST">Qdb_Qdbftrg_Body_List_Struc</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Self_Ref</td>
|
|
<td align="left" valign="top">Whether columns in the body list belong to this
|
|
file.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>All self-referencing.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Some self-referencing.</dd>
|
|
|
|
<dt><em>X'10'</em></dt>
|
|
|
|
<dd>Not self-referencing.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="left" valign="top">CHAR(51)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved22</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top"><br>
|
|
</td>
|
|
<td align="left" valign="top"><a name="SPTBODYLST">
|
|
Qdb_Qdbftrg_Body_Array</a></td>
|
|
<td align="left" valign="top">Array used to access the list of BODY referenced
|
|
columns.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTBE">BODY Columns Entry Structure
|
|
(Qdb_Qdbftrg_Body_Array)</a></h4>
|
|
|
|
<p>The <a name="SPTBODYARA"><em>Qdb_Qdbftrg_Body_Array</em></a> section maps an
|
|
entry in the structure <a href="#SPTBODYLST">Qdb_Qdbftrg_Body_Array</a>. This
|
|
structure is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top" width="30%"><a name="SPTBODYLEL">
|
|
Qdb_Qdbftrg_Body_Col_Off</a></td>
|
|
<td align="left" valign="top" width="45%">BODY column name offset into the BODY portion of
|
|
the CREATE TRIGGER statement <a href="#SPTTRGSTMT">
|
|
Qdb_Qdbftrg_Stmt_Crt_Trg</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="center" valign="top">4</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Col_Len</td>
|
|
<td align="left" valign="top">Length of the column name in the CREATE TRIGGER
|
|
statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="center" valign="top">8</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_File_Off</td>
|
|
<td align="left" valign="top">Offset to the column's file name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> relative
|
|
to the start of the CREATE TRIGGER statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="center" valign="top">C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_File_Len</td>
|
|
<td align="left" valign="top">Length of the column's file name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Lib_Off</td>
|
|
<td align="left" valign="top">Offset to the column's library name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> relative
|
|
to the start of the CREATE TRIGGER statement.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Lib_Len</td>
|
|
<td align="left" valign="top">Length of the column's library name in the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_1st_Entry</td>
|
|
<td align="left" valign="top">Whether the column name is the first in the list
|
|
of entries.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column is not first in the list.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is first in the list.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">25</td>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_This_File</td>
|
|
<td align="left" valign="top">Whether the column name is in this file.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column is not in this file.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is in this file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">26</td>
|
|
<td align="center" valign="top">1A</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Col_Long</td>
|
|
<td align="left" valign="top">Whether the column name is a short or long name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">27</td>
|
|
<td align="center" valign="top">1B</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Col_Del</td>
|
|
<td align="left" valign="top">Whether the column name is a delimited name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Column name is is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_File_Long</td>
|
|
<td align="left" valign="top">Whether the column's file name is a short or long
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>File name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>File name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_File_Del</td>
|
|
<td align="left" valign="top">Whether the column's file name is a delimited
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>File name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>File name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Lib_Long</td>
|
|
<td align="left" valign="top">Whether the column's library name is a short or
|
|
long name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Library name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Library name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">31</td>
|
|
<td align="center" valign="top">1F</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Body_Lib_Del</td>
|
|
<td align="left" valign="top">Whether the column's library name is a delimited
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Columns name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Column name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="left" valign="top">CHAR(32)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved23</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTD">Dependent Objects Structure
|
|
(Qdb_Qdbftrg_Depo_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTDEPOHED"><em>Qdb_Qdbftrg_Depo_Area</em></a>
|
|
section with the offset <a href="#SPTOFFDEPO">Qdb_Qdbftrg_Def_Off_Dep_Objs</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="18%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="25%">Qdb_Qdbftrg_ Reserved24</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_ Depo_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the dependent objects area <a
|
|
href="#SPTDEPOHED">Qdb_Qdbftrg_Depo_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_ Depo_Num_Off</td>
|
|
<td align="left" valign="top">Number of dependent object offsets in <a href=
|
|
"#SPTDEPOLST">Qdb_Qdbftrg_Depo_Array</a>. These are offsets into the CREATE
|
|
TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> that will
|
|
position you to a dependent object of the type <a href="#SPTDEPOTYP">
|
|
Qdb_Qdbftrg_Depo_Type</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_ Depo_Self_Ref</td>
|
|
<td align="left" valign="top">Whether this file is referenced at least once
|
|
somewhere in the WHEN or BODY. This is a self-referencing dependency.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Not self-referencing.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Is self-referencing.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">29</td>
|
|
<td align="center" valign="top">1D</td>
|
|
<td align="left" valign="top">CHAR(51)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_ Reserved25</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">80</td>
|
|
<td align="center" valign="top">50</td>
|
|
<td align="left" valign="top"><br></td>
|
|
<td align="left" valign="top"><a name="SPTDEPOLST">Qdb_Qdbftrg_ Depo_Array</a></td>
|
|
<td align="left" valign="top">Update column list structure.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTX">Dependent Objects Entry Structure
|
|
(Qdb_Qdbftrg_Depo_Array)</a></h4>
|
|
|
|
<p>The <a name="SPTDEPOARA"><em>Qdb_Qdbftrg_Depo_Array</em></a> section maps an
|
|
entry in the structure <a href="#SPTDEPOLST">Qdb_Qdbftrg_Depo_Array</a>. This
|
|
structure is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="15%">CHAR(2)</td>
|
|
<td align="left" valign="top" width="25%"><a name="SPTDEPOTYP">
|
|
Qdb_Qdbftrg_Depo_ Type</a></td>
|
|
<td align="left" valign="top" width="48%">Type of dependent object.
|
|
|
|
<dl compact>
|
|
<dt><em>'TB'</em></dt>
|
|
|
|
<dd>Table</dd>
|
|
|
|
<dt><em>'PF'</em></dt>
|
|
|
|
<dd>Physical File</dd>
|
|
|
|
<dt><em>'VW'</em></dt>
|
|
|
|
<dd>View</dd>
|
|
|
|
<dt><em>'LF'</em></dt>
|
|
|
|
<dd>Logical File</dd>
|
|
|
|
<dt><em>'IX'</em></dt>
|
|
|
|
<dd>Index</dd>
|
|
|
|
<dt><em>'UF'</em></dt>
|
|
|
|
<dd>User Defined Function</dd>
|
|
|
|
<dt><em>'UT'</em></dt>
|
|
|
|
<dd>User Defined Type</dd>
|
|
|
|
<dt><em>'PR'</em></dt>
|
|
|
|
<dd>Procedure</dd>
|
|
|
|
<dt><em>'AL'</em></dt>
|
|
|
|
<dd>Alias</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="center" valign="top">2</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Off</td>
|
|
<td align="left" valign="top">Offset to the dependent object relative to the
|
|
beginning of the CREATE TRIGGER string <a href="#SPTTRGSTMT">
|
|
Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="center" valign="top">6</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Len</td>
|
|
<td align="left" valign="top">Length of the dependent object in the CREATE
|
|
TRIGGER string <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">10</td>
|
|
<td align="center" valign="top">A</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Lib_Off</td>
|
|
<td align="left" valign="top">Offset to the qualifying library name of the
|
|
dependent object. Offset relative from the start of <a href="#SPTTRGSTMT">
|
|
Qdb_Qdbftrg_Stmt_Crt_Trg</a> . A length of 0 indicates no qualifying
|
|
library.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="center" valign="top">E</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Lib_Len</td>
|
|
<td align="left" valign="top">Length of the qualifying library name of the
|
|
dependent object. A length of 0 indicates there is no qualifying library.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="center" valign="top">12</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ 1st_Entry</td>
|
|
<td align="left" valign="top">Whether the object name is the first in the list
|
|
of entries. Criteria is based on object name, library name, and object type.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Object is 2nd or greater occurance in the list.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Object is the first in the list.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">19</td>
|
|
<td align="center" valign="top">13</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ This_File</td>
|
|
<td align="left" valign="top">Whether the object is this file.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Object is not this file.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Object name is this file.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Obj_Long</td>
|
|
<td align="left" valign="top">Whether the object name is is a short or long
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Object name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Object name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="center" valign="top">15</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Obj_Del</td>
|
|
<td align="left" valign="top">Whether the object name is a delimited name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Object name is is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Object name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="center" valign="top">16</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Lib_Long</td>
|
|
<td align="left" valign="top">Whether the library's name is a short or long
|
|
name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Library name is short name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Library name is long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="center" valign="top">17</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Depo_ Lib_Del</td>
|
|
<td align="left" valign="top">Whether the library's name is a delimited name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Library name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Library name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">CHAR(40)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_ Reserved26</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTT">Transition Area Structure
|
|
(Qdb_Qdbftrg_Trns_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTTRNSHED"><em>Qdb_Qdbftrg_Trns_Area</em></a>
|
|
section with the offset <a href="#SPTOFFTRAN">
|
|
Qdb_Qdbftrg_Def_Off_Transition</a> in the <a href="#SPTTDEHEAD">
|
|
Qdb_Qdbftrg_Def_Head</a> section. This structure is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved27</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the transition area <a href=
|
|
"#SPTTRNSHED">Qdb_Qdbftrg_Trns_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldvar_Len</td>
|
|
<td align="left" valign="top">Old correlation variable name length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newvar_Len</td>
|
|
<td align="left" valign="top">New correlation variable name length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldtbl_Len</td>
|
|
<td align="left" valign="top">Old transition table name length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newtbl_Len</td>
|
|
<td align="left" valign="top">New transition table name length.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldvar_Off</td>
|
|
<td align="left" valign="top">Old correlation variable name offset.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">2C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newvar_Off</td>
|
|
<td align="left" valign="top">New correlation variable name offset.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldtbl_Off</td>
|
|
<td align="left" valign="top">Old transition table name offset.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newtbl_Off</td>
|
|
<td align="left" valign="top">New transition table name offset.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldvar_Del</td>
|
|
<td align="left" valign="top">Whether the old correlation variable name is
|
|
delimited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">57</td>
|
|
<td align="center" valign="top">39</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newvar_Del</td>
|
|
<td align="left" valign="top">Whether the new correlation variable name is
|
|
delimited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">58</td>
|
|
<td align="center" valign="top">3A</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Oldtbl_Del</td>
|
|
<td align="left" valign="top">Whether the old table name is delimited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">59</td>
|
|
<td align="center" valign="top">3B</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Newtbl_Del</td>
|
|
<td align="left" valign="top">Whether the new table name is delmited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">60</td>
|
|
<td align="center" valign="top">3C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Trns_Names_Len</td>
|
|
<td align="left" valign="top">Length of the transition names <a href=
|
|
"#SPTNAMES">Qdb_Qdbftrg_Trns_Names</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="left" valign="top">CHAR(48)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved28</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">112</td>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTNAMES">
|
|
Qdb_Qdbftrg_Trns_Names</a></td>
|
|
<td align="left" valign="top">Old/new transition variable/table names.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTS">Trigger Statement Area (Qdb_Qdbftrg_Stmt_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTSTMTHED"><em>Qdb_Qdbftrg_Stmt_Area</em></a>
|
|
section with the offset <a href="#SPTOFFSTMT">Qdb_Qdbftrg_Def_Off_Trg_Stmt</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section. This structure
|
|
is for SQL triggers only.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved29</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the statement area.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Onfile_Off</td>
|
|
<td align="left" valign="top">Offset to the user-specified file table name in
|
|
the CREATE TRIGGER statement <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a>
|
|
.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Onfile_Len</td>
|
|
<td align="left" valign="top">Length of the qualified library file name of the
|
|
ON file/TABLE name, including the period, in <a href="#SPTTRGSTMT">
|
|
Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">32</td>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Onfile_Del</td>
|
|
<td align="left" valign="top">Whether the ON table/file name is delimited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">33</td>
|
|
<td align="center" valign="top">21</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Onlib_Del</td>
|
|
<td align="left" valign="top">Whether the ON library name is delimited.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not delimited.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is delimited.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="center" valign="top">22</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Onfile_Long</td>
|
|
<td align="left" valign="top">Whether the ON table/file name is a long name.
|
|
|
|
<dl compact>
|
|
<dt><em>X'00'</em></dt>
|
|
|
|
<dd>Name is not a long name.</dd>
|
|
|
|
<dt><em>X'01'</em></dt>
|
|
|
|
<dd>Name is a long name.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">35</td>
|
|
<td align="center" valign="top">23</td>
|
|
<td align="left" valign="top">CHAR(1)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved30</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">36</td>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Crt_Trg_Len</td>
|
|
<td align="left" valign="top">Length of the SQL CREATE TRIGGER string in
|
|
variable <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a> .</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_When_Len</td>
|
|
<td align="left" valign="top">Length of the WHEN clause for the SQL CREATE
|
|
TRIGGER string in variable <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Crt_Trg</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">44</td>
|
|
<td align="center" valign="top">2C</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_When_Off</td>
|
|
<td align="left" valign="top">Offset to the WHEN clause of the SQL CREATE
|
|
TRIGGER string in variable <a href="#SPTTRGSTMT">Qdb_Qdbftrg_Stmt_Crt_Trg</a>
|
|
.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">48</td>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Body_Len</td>
|
|
<td align="left" valign="top">Length of the BODY portion of the SQL CREATE
|
|
TRIGGER string in variable Qdb_Qdbftrg_Stmt_Crt_Trg.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">52</td>
|
|
<td align="center" valign="top">34</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Stmt_Body_Off</td>
|
|
<td align="left" valign="top">Offset to the BODY portion of the SQL CREATE
|
|
TRIGGER string in variable Qdb_Qdbftrg_Stmt_Crt_Trg.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">56</td>
|
|
<td align="center" valign="top">38</td>
|
|
<td align="left" valign="top">CHAR(56)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved31</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">112</td>
|
|
<td align="center" valign="top">70</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTTRGSTMT">
|
|
Qdb_Qdbftrg_Stmt_Crt_Trg</a></td>
|
|
<td align="left" valign="top">SQL CREATE TRIGGER string.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h4><a name="HDRQDBTY">Trigger Long Comment Area
|
|
(Qdb_Qdbftrg_Long_Area)</a></h4>
|
|
|
|
<p>You can locate the <a name="SPTLONGHED"><em>Qdb_Qdbftrg_Long_Area</em></a>
|
|
section with the offset <a href="#SPTOFFLONG">Qdb_Qdbftrg_Def_Off_Trg_Long</a>
|
|
in the <a href="#SPTTDEHEAD">Qdb_Qdbftrg_Def_Head</a> section.</p>
|
|
|
|
<table border width="100%">
|
|
<tr>
|
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
|
<th align="left" valign="bottom" rowspan="2">Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="center" valign="bottom">Dec</th>
|
|
<th align="center" valign="bottom">Hex</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="center" valign="top" width="6%">0</td>
|
|
<td align="left" valign="top" width="13%">CHAR(20)</td>
|
|
<td align="left" valign="top" width="30%">Qdb_Qdbftrg_Reserved32</td>
|
|
<td align="left" valign="top" width="45%">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">20</td>
|
|
<td align="center" valign="top">14</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Long_Tot_Len</td>
|
|
<td align="left" valign="top">Total length of the long comment area <a href=
|
|
"#SPTLONGHED">Qdb_Qdbftrg_Long_Area</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">24</td>
|
|
<td align="center" valign="top">18</td>
|
|
<td align="left" valign="top">BINARY(4) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Long_Len</td>
|
|
<td align="left" valign="top">Length of the trigger long comment that is
|
|
located in variable <a href="#SPTCOMMENT">Qdb_Qdbftrg_Long_Comment</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">28</td>
|
|
<td align="center" valign="top">1C</td>
|
|
<td align="left" valign="top">BINARY(2) UNSIGNED</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Long_Ccsid</td>
|
|
<td align="left" valign="top">CCSID of the long comment in <a href=
|
|
"#SPTCOMMENT">Qdb_Qdbftrg_Long_Comment</a>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">30</td>
|
|
<td align="center" valign="top">1E</td>
|
|
<td align="left" valign="top">CHAR(34)</td>
|
|
<td align="left" valign="top">Qdb_Qdbftrg_Reserved33</td>
|
|
<td align="left" valign="top">Reserved.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" valign="top">64</td>
|
|
<td align="center" valign="top">40</td>
|
|
<td align="left" valign="top">CHAR(*)</td>
|
|
<td align="left" valign="top"><a name="SPTCOMMENT">
|
|
Qdb_Qdbftrg_Long_Comment</a></td>
|
|
<td align="left" valign="top">Trigger long comment.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
<h3><a name="usage_notes">Usage Notes</a></h3>
|
|
|
|
<p>In multithreaded jobs, this API is not threadsafe and fails for distributed
|
|
data management (DDM) files of type *SNA.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Error Messages</h3>
|
|
|
|
<table width="100%" cellpadding="5">
|
|
<!-- cols="15 85" -->
|
|
<tr>
|
|
<th align="left" valign="top">Message ID</th>
|
|
<th align="left" valign="top">Error Message Text</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF24B4 E</td>
|
|
<td align="left" valign="top">Severe error while addressing parameter
|
|
list.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3CF1 E</td>
|
|
<td align="left" valign="top">Error code parameter is not valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C19 E</td>
|
|
<td align="left" valign="top">Error occurred with receiver variable
|
|
specified.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C21 E</td>
|
|
<td align="left" valign="top">Format name &1 is not valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C22 E</td>
|
|
<td align="left" valign="top">Cannot get information about file &1.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C23 E</td>
|
|
<td align="left" valign="top">Object &1 is not a database file.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C24 E</td>
|
|
<td align="left" valign="top">Length of the receiver variable is not
|
|
valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C25 E</td>
|
|
<td align="left" valign="top">Value &1 for file override parameter is not
|
|
valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3C90 E</td>
|
|
<td align="left" valign="top">Literal value cannot be changed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3021 E</td>
|
|
<td align="left" valign="top">File &1 not allowed with SYSTEM(*RMT).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3025 E</td>
|
|
<td align="left" valign="top">File &1 not allowed with SYSTEM(*LCL).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF325F E</td>
|
|
<td align="left" valign="top">Conversion of the text failed.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF327A E</td>
|
|
<td align="left" valign="top">Value &1 for format type parameter is not
|
|
valid.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF3270 E</td>
|
|
<td align="left" valign="top">Keyed file operation not allowed for file
|
|
&1.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="left" valign="top">CPF9872 E</td>
|
|
<td align="left" valign="top">Program or service program &1 in library
|
|
&2 ended. Reason code &3.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<hr>
|
|
API introduced: V2R2
|
|
|
|
<hr>
|
|
<table align="center" cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
|
"file1.htm">Database and File APIs</a> | <a href="aplist.htm">APIs by
|
|
category</a></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|