5847 lines
229 KiB
HTML
5847 lines
229 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-19" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow"/>
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="keywords" content="SYSCATALOGS, catalog view, SYSCATALOGS view,
|
||
|
SYSCHKCST, SYSCHKCST view, SYSCOLUMNS, SYSCOLUMNS view, SYSCST, SYSCST view,
|
||
|
SYSCSTCOL, SYSCSTCOL view, SYSCSTDEP, SYSCSTDEP view, SYSFUNCS, SYSFUNCS view,
|
||
|
SYSINDEXES, SYSINDEXES view, SYSJARCONTENTS, SYSJARCONTENTS view, SYSJAROBJECTS,
|
||
|
SYSJAROBJECTS view, SYSKEYCST, SYSKEYCST view, SYSKEYS, SYSKEYS view, SYSPACKAGE,
|
||
|
package view, SYSPACKAGE view, SYSPARMS, catalog table, SYSPARMS table, SYSPROCS,
|
||
|
SYSPROCS view, SYSREFCST, SYSREFCST view, SYSROUTINEDEP, SYSROUTINEDEP view,
|
||
|
SYSROUTINES, SYSROUTINES table, SYSSEQUENCES, SYSSEQUENCES view, SYSTABLEDEP,
|
||
|
SYSTABLEDEP view, SYSTABLES, SYSTABLES view, SYSTRIGCOL, SYSTRIGCOL view,
|
||
|
SYSTRIGDEP, SYSTRIGDEP view, SYSTRIGGERS, SYSTRIGGERS view, SYSTRIGUPD,
|
||
|
SYSTRIGUPD view, SYSTYPES, SYSTYPES table, SYSVIEWDEP, SYSVIEWDEP view, SYSVIEWS,
|
||
|
SYSVIEWS view" />
|
||
|
<title>iSeries catalog tables and views</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="catalogtbls"></a>
|
||
|
<h2 id="catalogtbls"><a href="rbafzmst02.htm#ToC_1514">iSeries catalog tables and views</a></h2>
|
||
|
<p>The iSeries™ catalog includes the following views and tables in the QSYS2
|
||
|
schema:</p>
|
||
|
<a name="wq2172"></a>
|
||
|
<table id="wq2172" width="100%" summary="" border="0" frame="void" rules="all">
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2173" width="31%" align="left" valign="bottom">DB2 UDB for iSeries name</th>
|
||
|
<th id="wq2174" width="32%" align="left" valign="bottom">Corresponding ANSI/ISO name</th>
|
||
|
<th id="wq2175" width="36%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyscatalog">SYSCATALOGS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">CATALOGS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about relational databases</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyschk">SYSCHKCST</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">CHECK_CONSTRAINTS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about check constraints</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyscol">SYSCOLUMNS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">COLUMNS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about column attributes</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyscst">SYSCST</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TABLE_CONSTRAINTS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about all constraints</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyscstcol">SYSCSTCOL</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">CONSTRAINT_COLUMN_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about the columns referenced
|
||
|
in a constraint</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyscstdep">SYSCSTDEP</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">CONSTRAINT_TABLE_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about constraint dependencies
|
||
|
on tables</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysfunc">SYSFUNCS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">ROUTINES</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about user-defined functions</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysindex">SYSINDEXES</a></td>
|
||
|
<td headers="wq2174"></td>
|
||
|
<td headers="wq2175">Information about indexes</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysjarcont">SYSJARCONTENTS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about jars for Java™ routines.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catjarobj">SYSJAROBJECTS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about jars for Java routines.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catkeycst">SYSKEYCST</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">KEY_COLUMN_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about unique, primary, and foreign
|
||
|
keys</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyskeys">SYSKEYS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about index keys</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsyspack">SYSPACKAGE</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about packages</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysparms">SYSPARMS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">PARAMETERS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about routine parameters</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysprocs">SYSPROCS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">ROUTINES</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about procedures</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysrefcst">SYSREFCST</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">REFERENTIAL_CONSTRAINTS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about referential constraints</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysrout">SYSROUTINES</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">ROUTINES</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about functions and procedures</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysrdep">SYSROUTINEDEP</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">ROUTINE_TABLE_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about function and procedure
|
||
|
dependencies</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysseq">SYSSEQUENCES</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about sequences</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystdep">SYSTABLEDEP</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174"></td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about materialized query table
|
||
|
dependencies</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystbls">SYSTABLES</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TABLES</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about tables and views</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystrigcol">SYSTRIGCOL</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TRIGGER_COLUMN_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about columns used in a trigger</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystrigdep">SYSTRIGDEP</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TRIGGER_TABLE_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about objects used in a trigger</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystrigger">SYSTRIGGERS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TRIGGERS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about triggers</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystrigupd">SYSTRIGUPD</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">TRIGGERED_UPDATE_COLUMNS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about columns in the WHEN clause
|
||
|
of a trigger</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsystypes">SYSTYPES</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">USER_DEFINED_TYPES</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about built-in data types and distinct types</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysviewdep">SYSVIEWDEP</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">VIEW_TABLE_USAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about view dependencies on tables</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2173"><a href="rbafzmstcatalogtbls.htm#catsysviews">SYSVIEWS</a></td>
|
||
|
<td align="left" valign="top" headers="wq2174">VIEWS</td>
|
||
|
<td align="left" valign="top" headers="wq2175">Information about definition of a view</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyscatalog"></a>
|
||
|
<h3 id="catsyscatalog"><a href="rbafzmst02.htm#ToC_1515">SYSCATALOGS</a></h3><a id="idx3483" name="idx3483"></a><a id="idx3484" name="idx3484"></a>
|
||
|
<p>The SYSCATALOGS view contains one row for each relational database that
|
||
|
a user can connect to. The following table describes the columns in the SYSCATALOGS
|
||
|
view.</p>
|
||
|
<a name="syscat"></a>
|
||
|
<table id="syscat" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 112. SYSCATALOGS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2176" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2177" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2178" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2179" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2177">LOCATION</td>
|
||
|
<td align="left" valign="top" headers="wq2178">VARCHAR(18)</td>
|
||
|
<td align="left" valign="top" headers="wq2179">Relational database name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_STATUS</td>
|
||
|
<td align="left" valign="top" headers="wq2177">RDBASPSTAT</td>
|
||
|
<td align="left" valign="top" headers="wq2178">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2179">Status of a relational database.
|
||
|
<dl>
|
||
|
<dt class="bold">ACTIVE</dt>
|
||
|
<dd>The relational database is associated with an independent auxiliary
|
||
|
storage pool (IASP) that is active, but not yet available.
|
||
|
</dd>
|
||
|
<dt class="bold">AVAILABLE</dt>
|
||
|
<dd>The relational database is available.
|
||
|
</dd>
|
||
|
<dt class="bold">VARYOFF</dt>
|
||
|
<dd>The relational database is associated with an independent auxiliary
|
||
|
storage pool (IASP) that is varied off.
|
||
|
</dd>
|
||
|
<dt class="bold">VARYON</dt>
|
||
|
<dd>The relational database is associated with an independent auxiliary
|
||
|
storage pool (IASP) that is varied on, but not yet available.
|
||
|
</dd>
|
||
|
<dt class="bold">UNKNOWN</dt>
|
||
|
<dd>The status of the relational database is unknown. The status of remote
|
||
|
relational databases is always unknown.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2177">RDBTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2178">CHAR(7)</td>
|
||
|
<td align="left" valign="top" headers="wq2179">Relational database type.
|
||
|
<dl>
|
||
|
<dt class="bold">LOCAL</dt>
|
||
|
<dd>The relational database is local to this system.
|
||
|
</dd>
|
||
|
<dt class="bold">REMOTE</dt>
|
||
|
<dd>The relational database is on a remote system.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_ASPGRP</td>
|
||
|
<td align="left" valign="top" headers="wq2177">RDBASPGRP</td>
|
||
|
<td align="left" valign="top" headers="wq2178">VARCHAR(10)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2179">Independent auxiliary storage pool (IASP)
|
||
|
name.
|
||
|
<p>Contains the null value if the relational database status is UNKNOWN.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_ASPNUM</td>
|
||
|
<td align="left" valign="top" headers="wq2177">RDBASPNUM</td>
|
||
|
<td align="left" valign="top" headers="wq2178">VARCHAR(10)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2179">Independent auxiliary storage pool (IASP)
|
||
|
number.
|
||
|
<p>Contains the null value if the relational database status is UNKNOWN.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2176">CATALOG_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2177">RDBTEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2178">CHAR(50)</td>
|
||
|
<td align="left" valign="top" headers="wq2179">Relational database text description.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyschk"></a>
|
||
|
<h3 id="catsyschk"><a href="rbafzmst02.htm#ToC_1516">SYSCHKCST</a></h3><a id="idx3485" name="idx3485"></a><a id="idx3486" name="idx3486"></a>
|
||
|
<p>The SYSCHKCST view contains one row for each check constraint in the SQL
|
||
|
schema. The following table describes the columns in the SYSCHKCST view.</p>
|
||
|
<a name="sysckt"></a>
|
||
|
<table id="sysckt" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 113. SYSCHKCST view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2180" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2181" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2182" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2183" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2180">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2181">DBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2182">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2183">Name of the schema containing the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2180">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2181">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2182">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2183">Name of the constraint</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2180">CHECK_CLAUSE</td>
|
||
|
<td align="left" valign="top" headers="wq2181">CHECK</td>
|
||
|
<td align="left" valign="top" headers="wq2182">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2183">Text of the check constraint clause
|
||
|
<p>Contains
|
||
|
the null value if the check clause cannot be expressed without truncation.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyscol"></a>
|
||
|
<h3 id="catsyscol"><a href="rbafzmst02.htm#ToC_1517">SYSCOLUMNS</a></h3><a id="idx3487" name="idx3487"></a><a id="idx3488" name="idx3488"></a>
|
||
|
<p>The SYSCOLUMNS view contains one row for every column of each table and
|
||
|
view in the SQL schema (including the columns of the SQL catalog). The following
|
||
|
table describes the columns in the SYSCOLUMNS view:</p>
|
||
|
<a name="syscol"></a>
|
||
|
<table id="syscol" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 114. SYSCOLUMNS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2184" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2185" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2186" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2187" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2185">NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">Name of the column. This will be the SQL
|
||
|
column name if one exists; otherwise, it will be the system column name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2185">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">Name of the table or view that contains the
|
||
|
column. This will be the SQL table or view name if one exists; otherwise,
|
||
|
it will be the system table or view name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">TABLE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2185">TBCREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The owner of the table or view.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">ORDINAL_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2185">COLNO</td>
|
||
|
<td align="left" valign="top" headers="wq2186">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2187">Numeric place of the column in the table
|
||
|
or view, ordered from left to right.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">DATA_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">COLTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">Type of column:
|
||
|
<dl>
|
||
|
<dt class="bold">BIGINT</dt>
|
||
|
<dd>Big number
|
||
|
</dd>
|
||
|
<dt class="bold">INTEGER</dt>
|
||
|
<dd>Large number
|
||
|
</dd>
|
||
|
<dt class="bold">SMALLINT</dt>
|
||
|
<dd>Small number
|
||
|
</dd>
|
||
|
<dt class="bold">DECIMAL</dt>
|
||
|
<dd>Packed decimal
|
||
|
</dd>
|
||
|
<dt class="bold">NUMERIC</dt>
|
||
|
<dd>Zoned decimal
|
||
|
</dd>
|
||
|
<dt class="bold">FLOAT</dt>
|
||
|
<dd>Floating point; FLOAT, REAL, or DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">CHAR</dt>
|
||
|
<dd>Fixed-length character string
|
||
|
</dd>
|
||
|
<dt class="bold">VARCHAR</dt>
|
||
|
<dd>Varying-length character string
|
||
|
</dd>
|
||
|
<dt class="bold">CLOB</dt>
|
||
|
<dd>Character large object string
|
||
|
</dd>
|
||
|
<dt class="bold">GRAPHIC</dt>
|
||
|
<dd>Fixed-length graphic string
|
||
|
</dd>
|
||
|
<dt class="bold">VARG</dt>
|
||
|
<dd>Varying-length graphic string
|
||
|
</dd>
|
||
|
<dt class="bold">DBCLOB</dt>
|
||
|
<dd>Double-byte character large object string
|
||
|
</dd>
|
||
|
<dt class="bold">BINARY</dt>
|
||
|
<dd>Fixed-length binary string
|
||
|
</dd>
|
||
|
<dt class="bold">VARBIN</dt>
|
||
|
<dd>Varying-length binary string
|
||
|
</dd>
|
||
|
<dt class="bold">BLOB</dt>
|
||
|
<dd>Binary large object string
|
||
|
</dd>
|
||
|
<dt class="bold">DATE</dt>
|
||
|
<dd>Date
|
||
|
</dd>
|
||
|
<dt class="bold">TIME</dt>
|
||
|
<dd>Time
|
||
|
</dd>
|
||
|
<dt class="bold">TIMESTMP</dt>
|
||
|
<dd>Timestamp
|
||
|
</dd>
|
||
|
<dt class="bold">DATALINK</dt>
|
||
|
<dd>Datalink
|
||
|
</dd>
|
||
|
<dt class="bold">ROWID</dt>
|
||
|
<dd>Row ID
|
||
|
</dd>
|
||
|
<dt class="bold">DISTINCT</dt>
|
||
|
<dd>Distinct type
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2185">LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2186">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The length attribute of the column; or, in
|
||
|
the case of a decimal, numeric, or nonzero precision binary column, its precision:
|
||
|
<dl>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>BIGINT
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>INTEGER
|
||
|
</dd>
|
||
|
<dt class="bold">2 bytes</dt>
|
||
|
<dd>SMALLINT
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>DECIMAL
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>NUMERIC
|
||
|
</dd>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>FLOAT, FLOAT(n) where n = 25 to 53, or DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>FLOAT(n) where n = 1 to 24, or REAL
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string</dt>
|
||
|
<dd>CHAR
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string</dt>
|
||
|
<dd>VARCHAR or CLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of graphic string</dt>
|
||
|
<dd>GRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of graphic string</dt>
|
||
|
<dd>VARGRAPHIC or DBCLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string</dt>
|
||
|
<dd>BINARY
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of binary string</dt>
|
||
|
<dd>VARBIN or BLOB
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>DATE
|
||
|
</dd>
|
||
|
<dt class="bold">3 bytes</dt>
|
||
|
<dd>TIME
|
||
|
</dd>
|
||
|
<dt class="bold">10 bytes</dt>
|
||
|
<dd>TIMESTAMP
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of datalink URL and comment</dt>
|
||
|
<dd>DATALINK
|
||
|
</dd>
|
||
|
<dt class="bold">40 bytes</dt>
|
||
|
<dd>ROWID
|
||
|
</dd>
|
||
|
<dt class="bold">Same value as the source type</dt>
|
||
|
<dd>DISTINCT
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">NUMERIC_SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Scale of numeric data.
|
||
|
<p>Contains the null
|
||
|
value if the column is not decimal, numeric, or binary.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IS_NULLABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">NULLS</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">If the column can contain null values:
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>No
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>Yes
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IS_UPDATABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">UPDATES</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">If the column can be updated:
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>No
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>Yes
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2185">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">HAS_DEFAULT</td>
|
||
|
<td align="left" valign="top" headers="wq2185">DEFAULT</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">If the column has a default value (DEFAULT
|
||
|
clause or null capable):
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>No
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>Yes
|
||
|
</dd>
|
||
|
<dt class="bold">A</dt>
|
||
|
<dd>The column has a ROWID data type and the GENERATED ALWAYS attribute.
|
||
|
</dd>
|
||
|
<dt class="bold">D</dt>
|
||
|
<dd>The column has a ROWID data type and the GENERATED BY DEFAULT attribute.
|
||
|
</dd>
|
||
|
<dt class="bold">I</dt>
|
||
|
<dd>The column is defined with the AS IDENTITY and GENERATED ALWAYS attributes.
|
||
|
</dd>
|
||
|
<dt class="bold">J</dt>
|
||
|
<dd>The column is defined with the AS IDENTITY and GENERATED BY DEFAULT
|
||
|
attributes.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">COLUMN_HEADING</td>
|
||
|
<td align="left" valign="top" headers="wq2185">LABEL</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(60)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">A character string supplied with the LABEL
|
||
|
statement (column headings)
|
||
|
<p>Contains the null value if there is no column
|
||
|
heading.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">STORAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">STORAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The storage requirements for the column:
|
||
|
<dl>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>BIGINT
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>INTEGER
|
||
|
</dd>
|
||
|
<dt class="bold">2 bytes</dt>
|
||
|
<dd>SMALLINT
|
||
|
</dd>
|
||
|
<dt class="bold">(Precision/2) + 1</dt>
|
||
|
<dd>DECIMAL
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>NUMERIC
|
||
|
</dd>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>FLOAT, FLOAT(n) where n = 25 to 53, or DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>FLOAT(n) where n = 1 to 24, or REAL
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string</dt>
|
||
|
<dd>CHAR or BINARY
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string + 2</dt>
|
||
|
<dd>VARCHAR or VARBIN
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string + 29</dt>
|
||
|
<dd>CLOB or BLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string * 2</dt>
|
||
|
<dd>GRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string * 2 + 2</dt>
|
||
|
<dd>VARGRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string * 2 + 29</dt>
|
||
|
<dd>DBCLOB
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>DATE
|
||
|
</dd>
|
||
|
<dt class="bold">3 bytes</dt>
|
||
|
<dd>TIME
|
||
|
</dd>
|
||
|
<dt class="bold">10 bytes</dt>
|
||
|
<dd>TIMESTAMP
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of datalink URL and comment + 24</dt>
|
||
|
<dd>DATALINK
|
||
|
</dd>
|
||
|
<dt class="bold">42 bytes</dt>
|
||
|
<dd>ROWID
|
||
|
</dd>
|
||
|
<dt class="bold">Same value as the source type</dt>
|
||
|
<dd>DISTINCT
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="wq2188"></a>
|
||
|
<div class="notetitle" id="wq2188">Note:</div>
|
||
|
<div class="notebody">This column supplies the storage requirements for all
|
||
|
data types.</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">NUMERIC_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2185">PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The precision of all numeric columns.
|
||
|
<p></p>
|
||
|
<a name="wq2189"></a>
|
||
|
<div class="notetitle" id="wq2189">Note:</div>
|
||
|
<div class="notebody">This column supplies the precision of all numeric data types, including
|
||
|
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
|
||
|
indicates if the value in this column is in binary or decimal digits.</div>
|
||
|
<p>Contains the null value if the column is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2185">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The CCSID value for CHAR, VARCHAR, CLOB,
|
||
|
DATE, TIME, TIMESTAMP, GRAPHIC, VARGRAPHIC, DBCLOB, and DATALINK columns.
|
||
|
<p>Contains 65535 if the column is a BINARY, VARBIN, BLOB, or ROWID.</p>
|
||
|
<p>Contains
|
||
|
the null value if the column is a numeric data type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2185">DBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The name of the SQL schema containing the
|
||
|
table or view.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">COLUMN_DEFAULT</td>
|
||
|
<td align="left" valign="top" headers="wq2185">DFTVALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The default value of a column, if one exists.
|
||
|
If the default value of the column cannot be represented without truncation,
|
||
|
then the value of the column is the string 'TRUNCATED'. The default value
|
||
|
is stored in character form. The following special values also exist:
|
||
|
<dl>
|
||
|
<dt class="bold">CURRENT_DATE</dt>
|
||
|
<dd>The default value is the current date.
|
||
|
</dd>
|
||
|
<dt class="bold">CURRENT_TIME</dt>
|
||
|
<dd>The default value is the current time.
|
||
|
</dd>
|
||
|
<dt class="bold">CURRENT_TIMESTAMP</dt>
|
||
|
<dd>The default value is the current timestamp.
|
||
|
</dd>
|
||
|
<dt class="bold">NULL</dt>
|
||
|
<dd>The default value is the null value and DEFAULT NULL was explicitly
|
||
|
specified.
|
||
|
</dd>
|
||
|
<dt class="bold">USER</dt>
|
||
|
<dd>The default value is the current job user.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if:</p>
|
||
|
<ul>
|
||
|
<li>The column has no default value. For example, if the column has an IDENTITY
|
||
|
attribute or is a row ID, or</li>
|
||
|
<li>A DEFAULT value was not explicitly specified.</li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">CHARACTER_MAXIMUM_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2185">CHARLEN</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Maximum length of the string for binary,
|
||
|
character and graphic string data types.
|
||
|
<p>Contains the null value if the
|
||
|
column is not a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">CHARACTER_OCTET_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2185">CHARBYTE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Number of bytes for binary, character and
|
||
|
graphic string data types.
|
||
|
<p>Contains the null value if the column is not
|
||
|
a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">NUMERIC_PRECISION_RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2185">RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Indicates if the precision specified in column
|
||
|
NUMERIC_PRECISION is specified as a number of binary or decimal digits
|
||
|
<dl>
|
||
|
<dt class="bold">2</dt>
|
||
|
<dd>Binary; floating-point precision is specified in binary digits.
|
||
|
</dd>
|
||
|
<dt class="bold">10</dt>
|
||
|
<dd>Decimal; all other numeric types are specified in decimal digits.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the column is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">DATETIME_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2185">DATPRC</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The fractional part of a date, time, or timestamp.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>For DATE and TIME data types
|
||
|
</dd>
|
||
|
<dt class="bold">6</dt>
|
||
|
<dd>For TIMESTAMP data types (number of microseconds).
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the column is not a date, time, or timestamp.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">COLUMN_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2185">LABELTEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(50)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">A character string supplied with the LABEL
|
||
|
statement (column text)
|
||
|
<p>Contains the null value if the column has no column
|
||
|
text.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">SYSTEM_COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2185">SYS_CNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The system name of the column</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2185">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The system name of the table or view</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2185">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">The system name of the schema</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">USER_DEFINED_TYPE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2185">TYPESCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The name of the schema if this is a distinct type.
|
||
|
<p>Contains the null value if the column is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">USER_DEFINED_TYPE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2185">TYPENAME</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">The name of the distinct type.
|
||
|
<p>Contains the null
|
||
|
value if the column is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IS_IDENTITY</td>
|
||
|
<td align="left" valign="top" headers="wq2185">IDENTITY</td>
|
||
|
<td align="left" valign="top" headers="wq2186">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2187">This column identifies whether the column
|
||
|
is an identity column.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The column is not an identity column.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The column is an identity column.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_GENERATION</td>
|
||
|
<td align="left" valign="top" headers="wq2185">GENERATED</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(10)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">This column identifies whether the column
|
||
|
is GENERATED ALWAYS or GENERATED BY DEFAULT.
|
||
|
<dl>
|
||
|
<dt class="bold">ALWAYS</dt>
|
||
|
<dd>The column value is always generated.
|
||
|
</dd>
|
||
|
<dt class="bold">BY DEFAULT</dt>
|
||
|
<dd>The column value is generated by default.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the column is not a ROWID or IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_START</td>
|
||
|
<td align="left" valign="top" headers="wq2185">START</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">DECIMAL(31,0)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Starting value of the identity column.
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_INCREMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2185">INCREMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">DECIMAL(31,0)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Increment value of the identity column.
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_MINIMUM</td>
|
||
|
<td align="left" valign="top" headers="wq2185">MINVALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">DECIMAL(31,0)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Minimum value of the identity column.
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_MAXIMUM</td>
|
||
|
<td align="left" valign="top" headers="wq2185">MAXVALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">DECIMAL(31,0)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Maximum value of the identity column.
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_CYCLE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">CYCLE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(3)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">This column identifies whether the identity
|
||
|
column values will continue to be generated after the minimum or maximum value
|
||
|
has been reached.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>Values will not continue to be generated.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Values will continue to be generated.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_CACHE</td>
|
||
|
<td align="left" valign="top" headers="wq2185">CACHE</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Specifies the number of identity values that
|
||
|
may be preallocated for faster access. Zero indicates that the values will
|
||
|
not be preallocated.
|
||
|
<p>Contains the null value if the column is not an IDENTITY
|
||
|
column.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2184">IDENTITY_ORDER</td>
|
||
|
<td align="left" valign="top" headers="wq2185">ORDER</td>
|
||
|
<td align="left" valign="top" headers="wq2186">
|
||
|
<div class="lines">VARCHAR(3)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2187">Specifies whether the identity values must
|
||
|
be generated in order of the request.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>Values do not need to be generated in order of the request.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Values must be generated in order of the request.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the column is not an IDENTITY column.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyscst"></a>
|
||
|
<h3 id="catsyscst"><a href="rbafzmst02.htm#ToC_1518">SYSCST</a></h3><a id="idx3489" name="idx3489"></a><a id="idx3490" name="idx3490"></a>
|
||
|
<p>The SYSCST view contains one row for each constraint in the SQL schema.
|
||
|
The following table describes the columns in the SYSCST view:</p>
|
||
|
<a name="syscst"></a>
|
||
|
<table id="syscst" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 115. SYSCST view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2190" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2191" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2192" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2193" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2191">CDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Name of the schema containing the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2191">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Name of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CONSTRAINT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2191">TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(11)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Constraint Type
|
||
|
<ul class="simple">
|
||
|
<li>CHECK</li>
|
||
|
<li>UNIQUE</li>
|
||
|
<li>PRIMARY KEY</li>
|
||
|
<li>FOREIGN KEY</li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2191">TDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Name of the schema containing the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2191">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Name of the table which the constraint is
|
||
|
created over. This will be the SQL table name if it exists; otherwise, it
|
||
|
will be the system table name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">IS_DEFERRABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2191">ISDEFER</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Indicates whether the constraint checking
|
||
|
can be deferred. Will always be 'NO'.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">INITIALLY_DEFERRED</td>
|
||
|
<td align="left" valign="top" headers="wq2191">INITDEFER</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Indicates whether the constraint was defined
|
||
|
as initially deferred. Will always be 'NO'.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2191">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">System name of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2191">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2192">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">System name of the schema containing the
|
||
|
table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CONSTRAINT_KEYS</td>
|
||
|
<td align="left" valign="top" headers="wq2191">COLCOUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2192">SMALLINT
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2193">Specifies the number of key columns if this
|
||
|
is a UNIQUE, PRIMARY KEY, or FOREIGN KEY constraint.
|
||
|
<p>Contains the null
|
||
|
value if the constraint is a CHECK constraint.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2191">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2192">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CONSTRAINT_STATE</td>
|
||
|
<td align="left" valign="top" headers="wq2191">CST_STATE</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(11)</td>
|
||
|
<td align="left" valign="top" headers="wq2193">Indicates whether the constraint is established
|
||
|
or defined:
|
||
|
<dl>
|
||
|
<dt class="bold">ESTABLISHED</dt>
|
||
|
<dd>The referential constraint is established. The parent table exists.
|
||
|
</dd>
|
||
|
<dt class="bold">DEFINED</dt>
|
||
|
<dd>The referential constraint is defined. The parent table does not exist.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2191">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2193">Indicates whether the constraint is enabled:
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The constraint is disabled.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The constraint is enabled.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the constraint is defined or is a unique
|
||
|
constraint.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2190">CHECK_PENDING</td>
|
||
|
<td align="left" valign="top" headers="wq2191">CHECKFLAG</td>
|
||
|
<td align="left" valign="top" headers="wq2192">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2193">Indicates whether the constraint is in check
|
||
|
pending state:
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The constraint is not in check pending.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The constraint is in check pending.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the constraint is defined, disabled, or
|
||
|
is a unique constraint.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyscstcol"></a>
|
||
|
<h3 id="catsyscstcol"><a href="rbafzmst02.htm#ToC_1519">SYSCSTCOL</a></h3><a id="idx3491" name="idx3491"></a><a id="idx3492" name="idx3492"></a>
|
||
|
<p>The SYSCSTCOL view records the columns on which constraints are defined.
|
||
|
There is one row for every column in a unique, primary key, and check constraint
|
||
|
and the referencing columns of a referential constraint. The following table
|
||
|
describes the columns in the SYSCSTCOL view:</p>
|
||
|
<a name="syscstc"></a>
|
||
|
<table id="syscstc" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 116. SYSCSTCOL view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2194" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2195" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2196" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2197" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2195">TDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">Name of the SQL schema that contains the
|
||
|
table the constraint is dependent on.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2195">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">Name of the table the constraint is dependent
|
||
|
on. This is the SQL table name if it exists; otherwise, it is the system table
|
||
|
name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2195">COLUMN</td>
|
||
|
<td align="left" valign="top" headers="wq2196">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">Column that the constraint was created over.
|
||
|
This is the SQL column name if it exists; otherwise, it is the system column
|
||
|
name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2195">CDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">Name of the schema of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2195">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">Name of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">SYSTEM_COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2195">SYS_CNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">System name of the column.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2195">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">System name of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2194">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2195">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2196">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2197">System name of the schema containing the
|
||
|
table.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyscstdep"></a>
|
||
|
<h3 id="catsyscstdep"><a href="rbafzmst02.htm#ToC_1520">SYSCSTDEP</a></h3><a id="idx3493" name="idx3493"></a><a id="idx3494" name="idx3494"></a>
|
||
|
<p>The SYSCSTDEP view records the tables on which constraints are defined.
|
||
|
The following table describes the columns in the SYSCSTDEP view:</p>
|
||
|
<a name="syscstd"></a>
|
||
|
<table id="syscstd" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 117. SYSCSTDEP view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2198" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2199" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2200" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2201" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2199">TDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">Name of the SQL schema that contains the
|
||
|
table on which the constraint is dependent</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2199">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">Name of the table on which the constraint
|
||
|
is dependent. This is the SQL table name if it exists otherwise it is the
|
||
|
system table name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2199">CDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">Name of the schema of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2199">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">Name of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2199">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">System name of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2199">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2200">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2201">System name of the schema containing the
|
||
|
table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2198">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2199">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2200">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2201">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysfunc"></a>
|
||
|
<h3 id="catsysfunc"><a href="rbafzmst02.htm#ToC_1521">SYSFUNCS</a></h3><a id="idx3495" name="idx3495"></a><a id="idx3496" name="idx3496"></a>
|
||
|
<p>The SYSFUNCS view contains one row for each function created by the CREATE
|
||
|
FUNCTION statement. The following table describes the columns in the SYSFUNCS
|
||
|
view:</p>
|
||
|
<a name="sysfunc"></a>
|
||
|
<table id="sysfunc" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 118. SYSFUNCS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2202" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2203" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2204" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2205" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SPECSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Schema name of the routine (function) instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SPECNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Specific name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2203">FUNCSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Name of the SQL schema (schema) that contains
|
||
|
the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2203">FUNCNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Name of the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_CREATED</td>
|
||
|
<td align="left" valign="top" headers="wq2203">RTNCREATE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the timestamp when the routine
|
||
|
was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2203">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Name of the user that defined the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2203">BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">The type of the routine body:
|
||
|
<dl>
|
||
|
<dt class="bold">EXTERNAL</dt>
|
||
|
<dd>This is an external routine.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is an SQL routine.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">EXTERNAL_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2203">EXTNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(279)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">This column identifies the external program
|
||
|
name.
|
||
|
<ul>
|
||
|
<li>For SQL functions or ILE service programs, the external program name is <span class="italic">schema-name/service-program-name(entry-point-name)</span>.</li>
|
||
|
<li>For Java programs, the external program name is an optional
|
||
|
jar-id followed by a <span class="italic">fully-qualified-class-name!method-name</span> or <span class="italic">fully-qualified-class-name.method-name</span>.</li>
|
||
|
<li>For all other languages, the external program name is <span class="italic">schema-name/program-name</span>.</li></ul>
|
||
|
<p>Contains the null value if this is a system-generated function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">EXTERNAL_LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2203">LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is an external routine, this column
|
||
|
identifies the external program name.
|
||
|
<dl>
|
||
|
<dt class="bold">C </dt>
|
||
|
<dd>The external program is written in C.
|
||
|
</dd>
|
||
|
<dt class="bold">C++ </dt>
|
||
|
<dd>The external program is written in C++.
|
||
|
</dd>
|
||
|
<dt class="bold">CL </dt>
|
||
|
<dd>The external program is written in CL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOL </dt>
|
||
|
<dd>The external program is written in COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOLLE</dt>
|
||
|
<dd>The external program is written in ILE COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>The external program is written in JAVA.
|
||
|
</dd>
|
||
|
<dt class="bold">PLI </dt>
|
||
|
<dd>The external program is written in PL/I.
|
||
|
</dd>
|
||
|
<dt class="bold">RPG </dt>
|
||
|
<dd>The external program is written in RPG.
|
||
|
</dd>
|
||
|
<dt class="bold">RPGLE </dt>
|
||
|
<dd>The external program is written in ILE RPG.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">PARAMETER_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2203">PARM_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(7)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is an external routine, this column
|
||
|
identifies the parameter style (calling convention).
|
||
|
<dl>
|
||
|
<dt class="bold">DB2SQL</dt>
|
||
|
<dd>This is the DB2SQL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">DB2GNRL</dt>
|
||
|
<dd>This is the DB2GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">GENERAL</dt>
|
||
|
<dd>This is the GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>This is the JAVA calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">NULLS</dt>
|
||
|
<dd>This is the GENERAL WITH NULLS calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is the SQL standard calling convention.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">IS_DETERMINISTIC</td>
|
||
|
<td align="left" valign="top" headers="wq2203">DETERMINE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">This column identifies whether the routine
|
||
|
is deterministic. That is, whether a call to the routine with the same arguments
|
||
|
will always return the same result.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The routine is not deterministic.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The routine is deterministic.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SQL_DATA_ACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2203">DATAACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">This column identifies whether a routine
|
||
|
contains SQL and whether it reads or modifies data.
|
||
|
<dl>
|
||
|
<dt class="bold">NONE</dt>
|
||
|
<dd>The routine does not contain any SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">CONTAINS</dt>
|
||
|
<dd>The routine contains SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">READS</dt>
|
||
|
<dd>The routine possibly reads data from a table or view.
|
||
|
</dd>
|
||
|
<dt class="bold">MODIFIES</dt>
|
||
|
<dd>The routine possibly modifies data in a table or view or issues SQL
|
||
|
DDL statements.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3483)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is an SQL routine, this column identifies
|
||
|
the path.
|
||
|
<p>Contains the null value if this is an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(2048)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">This column identifies the routine signature.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">NUMBER_OF_RESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2203">NUMRESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2204">SMALLINT
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the number of results.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2203">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2204">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the number of input parameters.
|
||
|
0 indicates that there are no input parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2203">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(2000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">ROUTINE_DEFINITION</td>
|
||
|
<td align="left" valign="top" headers="wq2203">ROUTINEDEF</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(23888)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is an SQL routine, this column contains
|
||
|
the SQL routine body.
|
||
|
<p>Contains the null value if this is not an SQL routine
|
||
|
or if the routine body cannot be contained in this column without truncation.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">FUNCTION_ORIGIN</td>
|
||
|
<td align="left" valign="top" headers="wq2203">ORIGIN</td>
|
||
|
<td align="left" valign="top" headers="wq2204">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the type of function. If this
|
||
|
is a procedure, this column contains a blank.
|
||
|
<dl>
|
||
|
<dt class="bold">B</dt>
|
||
|
<dd>This is a built-in function (defined by DB2 UDB for iSeries).
|
||
|
</dd>
|
||
|
<dt class="bold">E</dt>
|
||
|
<dd>This is a user-defined function.
|
||
|
</dd>
|
||
|
<dt class="bold">U</dt>
|
||
|
<dd>This is a user-defined function that is based on another function.
|
||
|
</dd>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>This is a system-generated function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">FUNCTION_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2203">TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2204">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the form of the function. If this
|
||
|
is a procedure, this column contains a blank.
|
||
|
<dl>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>This is a scalar function.
|
||
|
</dd>
|
||
|
<dt class="bold">C</dt>
|
||
|
<dd>This is a column function.
|
||
|
</dd>
|
||
|
<dt class="bold">T</dt>
|
||
|
<dd>This is a table function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">EXTERNAL_ACTION</td>
|
||
|
<td align="left" valign="top" headers="wq2203">EXT_ACTION</td>
|
||
|
<td align="left" valign="top" headers="wq2204">CHAR(1)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies the whether the invocation of
|
||
|
the function has external effects.
|
||
|
<dl>
|
||
|
<dt class="bold">E</dt>
|
||
|
<dd>This function has external side effects.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>This function does not have any external side effects.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">IS_NULL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2203">NULL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether the function needs to
|
||
|
be called if an input parameter is the null value.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>This function need not be called if an input parameter is the null value.
|
||
|
If this is a scalar function, the result of the function is implicitly null
|
||
|
if any of the operands are null. If this is a table function, the result of
|
||
|
the function is an empty table if any of the operands are the null value.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>This function must be called even if an input operand is null.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SCRATCH_PAD</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SCRATCHPAD</td>
|
||
|
<td align="left" valign="top" headers="wq2204">INTEGER
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether the address of a static
|
||
|
memory area (scratch pad) is passed to the function.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>The function does not have a scratch pad.
|
||
|
</dd>
|
||
|
<dt class="bold">integer</dt>
|
||
|
<dd>Indicates the size of the scratch pad passed to the function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">FINAL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2203">FINAL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Indicates whether a final call to the function
|
||
|
should be made to allow the function to clean up its work areas (scratch pads).
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>No final call is made.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A final call to the function is made when the statement is complete.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">PARALLELIZABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2203">PARALLEL</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether the function can be run
|
||
|
in parallel.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The function must be synchronous.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The function can be run in parallel.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2203">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether information about the
|
||
|
database is passed to the function.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>No database information is passed to the function.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Information about the database is passed to the function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SOURCE_ SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SRCSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is sourced function and the source
|
||
|
is user-defined, this column contains the name of the source schema. If this
|
||
|
is a sourced function and the source is built-in, this column contains 'QSYS2'.
|
||
|
<p>Contains the null value if this is not a sourced function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">SOURCE_SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2203">SRCNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">If this is sourced function and the source
|
||
|
is user-defined, this column contains the specific name of the source function
|
||
|
name.
|
||
|
<p>Contains the null value if this is not a sourced function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">IS_USER_DEFINED_CAST</td>
|
||
|
<td align="left" valign="top" headers="wq2203">CAST_FUNC</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether this function is a cast
|
||
|
function created when a distinct type was created.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>This function is not a cast function.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>This function is a cast function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">CARDINALITY</td>
|
||
|
<td align="left" valign="top" headers="wq2203">CARD</td>
|
||
|
<td align="left" valign="top" headers="wq2204">BIGINT
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Specifies the cardinality for a table function.
|
||
|
<p>Contains the null value if the function is not a table function or if cardinality
|
||
|
was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">FENCED</td>
|
||
|
<td align="left" valign="top" headers="wq2203">FENCED</td>
|
||
|
<td align="left" valign="top" headers="wq2204">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2205">Identifies whether the function is fenced.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The function is not fenced.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The function is fenced.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2202">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2203">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2204">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2205">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysindex"></a>
|
||
|
<h3 id="catsysindex"><a href="rbafzmst02.htm#ToC_1522">SYSINDEXES</a></h3><a id="idx3497" name="idx3497"></a><a id="idx3498" name="idx3498"></a>
|
||
|
<p>The SYSINDEXES view contains one row for every index in the SQL schema
|
||
|
created using the SQL CREATE INDEX statement, including indexes on the SQL
|
||
|
catalog. The following table describes the columns in the SYSINDEXES view:</p>
|
||
|
<a name="sysindx"></a>
|
||
|
<table id="sysindx" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 119. SYSINDEXES view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2206" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2207" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2208" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2209" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">INDEX_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2207">NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Name of the index. This will be the SQL index
|
||
|
name if one exists; otherwise, it will be the system index name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">INDEX_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2207">CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Owner of the index</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2207">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Name of the table on which the index is defined.
|
||
|
This will be the SQL table name if one exists; otherwise, it will be the system
|
||
|
table name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">TABLE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2207">TBCREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Owner of the table</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2207">TBDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Name of the SQL schema that contains the
|
||
|
table on which the index is defined</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">IS_UNIQUE</td>
|
||
|
<td align="left" valign="top" headers="wq2207">UNIQUERULE</td>
|
||
|
<td align="left" valign="top" headers="wq2208">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">If the index is unique:
|
||
|
<dl>
|
||
|
<dt class="bold">D</dt>
|
||
|
<dd>No (duplicates are allowed)
|
||
|
</dd>
|
||
|
<dt class="bold">V</dt>
|
||
|
<dd>Yes (duplicate NULL values are allowed)
|
||
|
</dd>
|
||
|
<dt class="bold">U</dt>
|
||
|
<dd>Yes
|
||
|
</dd>
|
||
|
<dt class="bold">E</dt>
|
||
|
<dd>Encoded vector index
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">COLUMN_COUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2207">COLCOUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2208">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Number of columns in the key</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">INDEX_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2207">DBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Name of the SQL schema that contains the
|
||
|
index</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">SYSTEM_INDEX_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2207">SYS_IXNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">System index name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">SYSTEM_INDEX_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2207">SYS_IDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">System index schema name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2207">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">System table name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2207">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2208">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2209">System table schema name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2207">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2208">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2209">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2207">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2208">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2209">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">INDEX_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2207">LABEL</td>
|
||
|
<td align="left" valign="top" headers="wq2208">
|
||
|
<div class="lines">CHAR(50)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2209">A character string supplied with the LABEL
|
||
|
statement.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2206">IS_SPANNING_INDEX</td>
|
||
|
<td align="left" valign="top" headers="wq2207">SPANNING</td>
|
||
|
<td align="left" valign="top" headers="wq2208">
|
||
|
<div class="lines">VARCHAR(3)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2209">Indicates whether the index is partitioned:
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The index is partitioned.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The index is not partitioned.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the base table is not a partitioned table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2206">INDEX_DEFINER</td>
|
||
|
<td headers="wq2207">DEFINER</td>
|
||
|
<td headers="wq2208">VARCHAR(128)</td>
|
||
|
<td headers="wq2209">Name of the user that defined the index.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysjarcont"></a>
|
||
|
<h3 id="catsysjarcont"><a href="rbafzmst02.htm#ToC_1523">SYSJARCONTENTS</a></h3><a id="idx3499" name="idx3499"></a><a id="idx3500" name="idx3500"></a>
|
||
|
<p>The SYSJARCONTENTS table contains one row for each class defined
|
||
|
by a jarid in the SQL schema. The following table describes the columns in
|
||
|
the SYSJARCONTENTS table.</p>
|
||
|
<a name="sysjarcont"></a>
|
||
|
<table id="sysjarcont" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 120. SYSJARCONTENTS table</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2210" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2211" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2212" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2213" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2210">JARSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2211">JARSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2212">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2213">Name of the schema containing the jar_id.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2210">JAR_ID</td>
|
||
|
<td align="left" valign="top" headers="wq2211">JAR_ID</td>
|
||
|
<td align="left" valign="top" headers="wq2212">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2213">Name of the jar_id.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2210">CLASS</td>
|
||
|
<td align="left" valign="top" headers="wq2211">CLASS</td>
|
||
|
<td align="left" valign="top" headers="wq2212">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2213">Name of the class.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2210">CLASS_SOURCE</td>
|
||
|
<td align="left" valign="top" headers="wq2211">CLASSSRC</td>
|
||
|
<td align="left" valign="top" headers="wq2212">
|
||
|
<div class="lines">DBCLOB(10485760)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2213">Reserved. Contains the null value.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2210">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2211">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2212">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2213">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catjarobj"></a>
|
||
|
<h3 id="catjarobj"><a href="rbafzmst02.htm#ToC_1524">SYSJAROBJECTS</a></h3><a id="idx3501" name="idx3501"></a><a id="idx3502" name="idx3502"></a>
|
||
|
<p>The SYSJAROBJECTS table contains one row for each jarid in the
|
||
|
SQL schema. The following table describes the columns in the SYSJAROBJECTS
|
||
|
table.</p>
|
||
|
<a name="sysjarobj"></a>
|
||
|
<table id="sysjarobj" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 121. SYSJAROBJECTS table</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2214" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2215" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2216" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2217" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">JARSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2215">JARSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2216">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Name of the schema containing the jar_id.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">JAR_ID</td>
|
||
|
<td align="left" valign="top" headers="wq2215">JAR_ID</td>
|
||
|
<td align="left" valign="top" headers="wq2216">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Name of the jar_id.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2215">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2216">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Name of the owner of the jarid.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">JAR_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2215">JAR_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2216">
|
||
|
<div class="lines">BLOB(104857600)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2217">Byte-codes for the jar.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2215">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2216">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">
|
||
|
<div class="lines">JAR_CREATED<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2215">CREATEDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2216">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Jar created timestamp</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">LAST_ALTERED</td>
|
||
|
<td align="left" valign="top" headers="wq2215">ALTEREDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2216">TIMESTAMP
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2217">Reserved. Contains the null value.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">DEBUG_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2215">DEBUG_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2216">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2217">Identifies whether the routine is debuggable.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>The routine is not debuggable.
|
||
|
</dd>
|
||
|
<dt class="bold">1</dt>
|
||
|
<dd>The routine is debuggable by the Unified Debugger.
|
||
|
</dd>
|
||
|
<dt class="bold">2</dt>
|
||
|
<dd>The routine is debuggable by the system debugger.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The routine is disabled from being debugged by the Unified Debugger.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2214">DEBUG_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2215">DEBUG_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2216">
|
||
|
<div class="lines">CLOB(1048576)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2217">Reserved. Contains the null value.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catkeycst"></a>
|
||
|
<h3 id="catkeycst"><a href="rbafzmst02.htm#ToC_1525">SYSKEYCST</a></h3><a id="idx3503" name="idx3503"></a><a id="idx3504" name="idx3504"></a>
|
||
|
<p>The SYSKEYCST view contains one or more rows for each UNIQUE KEY, PRIMARY
|
||
|
KEY, or FOREIGN KEY in the SQL schema. There is one row for each column in
|
||
|
every unique or primary key constraint and the referencing columns of a referential
|
||
|
constraint. The following table describes the columns in the SYSKEYCST view:</p>
|
||
|
<a name="syskeyc"></a>
|
||
|
<table id="syskeyc" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 122. SYSKEYCST view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2218" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2219" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2220" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2221" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2219">CDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Name of the schema containing the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2219">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Name of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2219">TDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Name of the schema containing the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2219">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Name of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2219">COLNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Name of the column.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">ORDINAL_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2219">COLSEQ</td>
|
||
|
<td align="left" valign="top" headers="wq2220">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2221">The position of the column within the key</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">COLUMN_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2219">COLNO</td>
|
||
|
<td align="left" valign="top" headers="wq2220">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2221">The position of the column within the row</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">TABLE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2219">CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2220">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">Owner of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">SYSTEM_COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2219">SYS_CNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">System name of the column.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2219">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">System name of the table.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2218">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2219">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2220">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2221">System name of the schema containing the
|
||
|
schema table.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyskeys"></a>
|
||
|
<h3 id="catsyskeys"><a href="rbafzmst02.htm#ToC_1526">SYSKEYS</a></h3><a id="idx3505" name="idx3505"></a><a id="idx3506" name="idx3506"></a>
|
||
|
<p>The SYSKEYS view contains one row for every column of an index in the SQL
|
||
|
schema, including the keys for the indexes on the SQL catalog. The following
|
||
|
table describes the columns in the SYSKEYS view:</p>
|
||
|
<a name="syskeys"></a>
|
||
|
<table id="syskeys" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 123. SYSKEYS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2222" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2223" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2224" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2225" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">INDEX_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2223">IXNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Name of the index. This will be the SQL index
|
||
|
name if one exists; otherwise, it will be the system index name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">INDEX_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2223">IXCREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2224">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Owner of the index</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2223">COLNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Name of the column of the key. This will
|
||
|
be the SQL column name if one exists; otherwise, it will be the system column
|
||
|
name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">COLUMN_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2223">COLNO</td>
|
||
|
<td align="left" valign="top" headers="wq2224">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Numeric position of the column in the row</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">ORDINAL_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2223">COLSEQ</td>
|
||
|
<td align="left" valign="top" headers="wq2224">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Numeric position of the column in the key</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">ORDERING</td>
|
||
|
<td align="left" valign="top" headers="wq2223">ORDERING</td>
|
||
|
<td align="left" valign="top" headers="wq2224">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Order of the column in the key:
|
||
|
<dl>
|
||
|
<dt class="bold">A</dt>
|
||
|
<dd>Ascending
|
||
|
</dd>
|
||
|
<dt class="bold">D</dt>
|
||
|
<dd>Descending
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">INDEX_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2223">IXDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">Name of the schema containing the index.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">SYSTEM_COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2223">SYS_CNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">System name of the column</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">SYSTEM_INDEX_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2223">SYS_IXNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">System name of the index</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2222">SYSTEM_INDEX_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2223">SYS_IDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2224">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2225">System name of the schema containing the
|
||
|
index</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsyspack"></a>
|
||
|
<h3 id="catsyspack"><a href="rbafzmst02.htm#ToC_1527">SYSPACKAGE</a></h3><a id="idx3507" name="idx3507"></a><a id="idx3508" name="idx3508"></a><a id="idx3509" name="idx3509"></a>
|
||
|
<p>The SYSPACKAGE view contains one row for each SQL package in the SQL schema.
|
||
|
The following table describes the columns in the SYSPACKAGE view:</p>
|
||
|
<a name="syspkg"></a>
|
||
|
<table id="syspkg" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 124. SYSPACKAGE view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2226" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2227" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2228" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2229" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_CATALOG</td>
|
||
|
<td align="left" valign="top" headers="wq2227">LOCATION</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Relational database name (RDBNAME) of the
|
||
|
SQL package</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">COLLID</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Name of the schema</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2227">NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Name of the SQL package</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2227">OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Owner of the SQL package</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2227">CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Creator of the SQL package</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">CREATION_TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2227">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(26)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Timestamp of when the SQL package was created</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">DEFAULT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">QUALIFIER</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Implicit name for unqualified tables, views,
|
||
|
and indexes</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PROGRAM_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2227">PROGNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Name of program the package was created from</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PROGRAM_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">LIBRARY</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Name of schema containing the program</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PROGRAM_CATALOG</td>
|
||
|
<td align="left" valign="top" headers="wq2227">RDB</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Name of the relational database where the
|
||
|
program resides</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">ISOLATION</td>
|
||
|
<td align="left" valign="top" headers="wq2227">ISOLATION</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(2)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">
|
||
|
<div class="lines">Isolation option specification:<br />
|
||
|
RR Repeatable Read (*RR)<br />
|
||
|
RS Read Stability (*ALL)<br />
|
||
|
CS Cursor Stability (*CS)<br />
|
||
|
UR Uncommitted Read (*CHG)<br />
|
||
|
NO None (*NONE)<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">QUOTE</td>
|
||
|
<td align="left" valign="top" headers="wq2227">QUOTE</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">
|
||
|
<div class="lines">Escape character specification (Y/N):<br />
|
||
|
Y = Quotation mark<br />
|
||
|
N = Apostrophe<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">COMMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">COMMA</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">
|
||
|
<div class="lines">Comma option specification (Y/N):<br />
|
||
|
Y = Comma<br />
|
||
|
N = Period<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">PACKAGE_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2227">LABEL</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(50)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">A character string you supply with the LABEL
|
||
|
statement.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2227">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2228">VARCHAR(2000)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">CONSISTENCY_TOKEN</td>
|
||
|
<td align="left" valign="top" headers="wq2227">CONTOKEN</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(8) FOR BIT DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Consistency token of package</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">SYSTEM_PACKAGE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2227">SYS_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">System name of the package.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">SYSTEM_PACKAGE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">System name of the schema containing the
|
||
|
package.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">SYSTEM_DEFAULT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">SYS_DDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">System name of the implicit qualifier for
|
||
|
unqualified table, views, indexes, and packages.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">SYSTEM_PROGRAM_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2227">SYS_PNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">System name of the program.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">SYSTEM_PROGRAM_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2227">SYS_PDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2228">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2229">System name of the schema containing the
|
||
|
program</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2226">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2227">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2228">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2229">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysparms"></a>
|
||
|
<h3 id="catsysparms"><a href="rbafzmst02.htm#ToC_1528">SYSPARMS</a></h3><a id="idx3510" name="idx3510"></a><a id="idx3511" name="idx3511"></a>
|
||
|
<p>The SYSPARMS table contains one row for each parameter of a procedure created
|
||
|
by the CREATE PROCEDURE statement or function created by the CREATE FUNCTION
|
||
|
statement. The following table describes the columns in the SYSPARMS table:</p>
|
||
|
<a name="sysparm"></a>
|
||
|
<table id="sysparm" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 125. SYSPARMS table</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2230" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2231" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2232" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2233" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2231">SPECSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Schema name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2231">SPECNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Specific name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">ORDINAL_POSITION</td>
|
||
|
<td align="left" valign="top" headers="wq2231">PARMNO</td>
|
||
|
<td align="left" valign="top" headers="wq2232">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Numeric place of the parameter in the parameter
|
||
|
list, ordered from left to right.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">PARAMETER_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2231">PARMMODE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(5)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Type of the parameter:
|
||
|
<dl>
|
||
|
<dt class="bold">IN</dt>
|
||
|
<dd>This is an input parameter.
|
||
|
</dd>
|
||
|
<dt class="bold">OUT</dt>
|
||
|
<dd>This is an output parameter.
|
||
|
</dd>
|
||
|
<dt class="bold">INOUT</dt>
|
||
|
<dd>This is an input/output parameter.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">PARAMETER_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2231">PARMNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Name of the parameter.
|
||
|
<p>Contains the null
|
||
|
value if the parameter does not have a name.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">DATA_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2231">DATA_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Type of column:
|
||
|
<dl>
|
||
|
<dt class="bold">BIGINT</dt>
|
||
|
<dd>Big number
|
||
|
</dd>
|
||
|
<dt class="bold">INTEGER</dt>
|
||
|
<dd>Large number
|
||
|
</dd>
|
||
|
<dt class="bold">SMALLINT</dt>
|
||
|
<dd>Small number
|
||
|
</dd>
|
||
|
<dt class="bold">DECIMAL</dt>
|
||
|
<dd>Packed decimal
|
||
|
</dd>
|
||
|
<dt class="bold">NUMERIC</dt>
|
||
|
<dd>Zoned decimal
|
||
|
</dd>
|
||
|
<dt class="bold">DOUBLE PRECISION</dt>
|
||
|
<dd>Floating point; DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">REAL</dt>
|
||
|
<dd>Floating point; REAL
|
||
|
</dd>
|
||
|
<dt class="bold">CHARACTER</dt>
|
||
|
<dd>Fixed-length character string
|
||
|
</dd>
|
||
|
<dt class="bold">CHARACTER VARYING</dt>
|
||
|
<dd>Varying-length character string
|
||
|
</dd>
|
||
|
<dt class="bold">CHARACTER LARGE OBJECT</dt>
|
||
|
<dd>Character large object string
|
||
|
</dd>
|
||
|
<dt class="bold">GRAPHIC</dt>
|
||
|
<dd>Fixed-length graphic string
|
||
|
</dd>
|
||
|
<dt class="bold">GRAPHIC VARYING</dt>
|
||
|
<dd>Varying-length graphic string
|
||
|
</dd>
|
||
|
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
|
||
|
<dd>Double-byte character large object string
|
||
|
</dd>
|
||
|
<dt class="bold">BINARY</dt>
|
||
|
<dd>Fixed-length binary string
|
||
|
</dd>
|
||
|
<dt class="bold">BINARY VARYING</dt>
|
||
|
<dd>Varying-length binary string
|
||
|
</dd>
|
||
|
<dt class="bold">BINARY LARGE OBJECT</dt>
|
||
|
<dd>Binary large object string
|
||
|
</dd>
|
||
|
<dt class="bold">DATE</dt>
|
||
|
<dd>Date
|
||
|
</dd>
|
||
|
<dt class="bold">TIME</dt>
|
||
|
<dd>Time
|
||
|
</dd>
|
||
|
<dt class="bold">TIMESTAMP</dt>
|
||
|
<dd>Timestamp
|
||
|
</dd>
|
||
|
<dt class="bold">DATALINK</dt>
|
||
|
<dd>Datalink
|
||
|
</dd>
|
||
|
<dt class="bold">ROWID</dt>
|
||
|
<dd>Row ID
|
||
|
</dd>
|
||
|
<dt class="bold">DISTINCT</dt>
|
||
|
<dd>Distinct type
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">NUMERIC_SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2231">SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Scale of numeric data.
|
||
|
<p>Contains the null
|
||
|
value if the parameter is not decimal, numeric, or binary.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">NUMERIC_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2231">PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">The precision of all numeric parameters.
|
||
|
<p></p>
|
||
|
<a name="wq2234"></a>
|
||
|
<div class="notetitle" id="wq2234">Note:</div>
|
||
|
<div class="notebody">This column supplies the precision of all numeric data types, including
|
||
|
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
|
||
|
indicates if the value in this column is in binary or decimal digits.</div>
|
||
|
<p>Contains the null value if the parameter is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2231">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">The CCSID value for CHAR, VARCHAR, CLOB,
|
||
|
DATE, TIME, TIMESTAMP, GRAPHIC, VARGRAPHIC, DBCLOB and DATALINK parameters.
|
||
|
<p>A CCSID of 0 indicates that the CCSID of the job at run time is used.</p>
|
||
|
<p>Contains the null value if the parameter is numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">CHARACTER_MAXIMUM_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2231">CHARLEN</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Maximum length of the string for binary,
|
||
|
character, and graphic string data types.
|
||
|
<p>Contains the null value if the
|
||
|
parameter is not a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">CHARACTER_OCTET_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2231">CHARBYTE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Number of bytes for binary, character, and
|
||
|
graphic string data types.
|
||
|
<p>Contains the null value if the parameter is
|
||
|
not a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">NUMERIC_PRECISION_RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2231">RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Indicates if the precision specified in column
|
||
|
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
|
||
|
<dl>
|
||
|
<dt class="bold">2</dt>
|
||
|
<dd>Binary; floating-point precision is specified in binary digits.
|
||
|
</dd>
|
||
|
<dt class="bold">10</dt>
|
||
|
<dd>Decimal; all other numeric types are specified in decimal digits.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the parameter is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">DATETIME_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2231">DATPRC</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">The fractional part of a date, time, or timestamp.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>For DATE and TIME data types
|
||
|
</dd>
|
||
|
<dt class="bold">6</dt>
|
||
|
<dd>For TIMESTAMP data types (number of microseconds).
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the parameter is not date, time, or timestamp.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">IS_NULLABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2231">NULLS</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Indicates whether the parameter is nullable.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The parameter does not allow nulls.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The parameter does allow nulls.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2231">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2232">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">ROW_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2231">ROWTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">CHAR(1)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Indicates the type of row.
|
||
|
<dl>
|
||
|
<dt class="bold">P</dt>
|
||
|
<dd>Parameter.
|
||
|
</dd>
|
||
|
<dt class="bold">R</dt>
|
||
|
<dd>Result before casting.
|
||
|
</dd>
|
||
|
<dt class="bold">C</dt>
|
||
|
<dd>Result after casting.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">DATA_TYPE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2231">TYPESCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Schema of the data type if this is a distinct type.
|
||
|
<p>Contains the null value if the parameter is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">DATA_TYPE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2231">TYPENAME</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Name of the data type if this is a distinct type.
|
||
|
<p>Contains the null value if the parameter is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">AS_LOCATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2231">ASLOCATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Indicates whether the parameter was specified
|
||
|
as a locator.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The parameter was not specified as a locator.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The parameter was specified as a locator.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2231">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2232">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2233">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2230">NORMALIZE_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2231">NORMALIZE</td>
|
||
|
<td align="left" valign="top" headers="wq2232">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2233">Indicates whether the parameter value should
|
||
|
be normalized or not. This attribute only applies to UTF-8 and UTF–16
|
||
|
data.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The value should not be normalized.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The value should be normalized.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysprocs"></a>
|
||
|
<h3 id="catsysprocs"><a href="rbafzmst02.htm#ToC_1529">SYSPROCS</a></h3><a id="idx3512" name="idx3512"></a><a id="idx3513" name="idx3513"></a>
|
||
|
<p>The SYSPROCS view contains one row for each procedure created by the CREATE
|
||
|
PROCEDURE statement. The following table describes the columns in the SYSPROCS
|
||
|
view:</p>
|
||
|
<a name="sysproc"></a>
|
||
|
<table id="sysproc" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 126. SYSPROCS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2235" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2236" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2237" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2238" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2236">SPECSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Schema name of the routine (procedure) instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2236">SPECNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Specific name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2236">PROCSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Name of the SQL schema (schema) that contains
|
||
|
the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2236">PROCNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Name of the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_CREATED</td>
|
||
|
<td align="left" valign="top" headers="wq2236">RTNCREATE</td>
|
||
|
<td align="left" valign="top" headers="wq2237">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies the timestamp when the routine
|
||
|
was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2236">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Name of the user that defined the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2236">BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">The type of the routine body:
|
||
|
<dl>
|
||
|
<dt class="bold">EXTERNAL</dt>
|
||
|
<dd>This is an external routine.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is an SQL routine.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">EXTERNAL_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2236">EXTNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(279)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies the external program
|
||
|
name.
|
||
|
<ul>
|
||
|
<li>For ILE service programs, the external program name is <span class="italic">schema-name/service-program-name(entry-point-name)</span>.</li>
|
||
|
<li>For REXX, the external program name is <span class="italic">schema-name/source-file-name(member-name)</span>.</li>
|
||
|
<li>For Java programs, the external program name is an optional
|
||
|
jar-id followed by a <span class="italic">fully-qualified-class-name!method-name</span> or <span class="italic">fully-qualified-class-name.method-name</span>.</li>
|
||
|
<li>For all other languages, the external program name is <span class="italic">schema-name/program-name</span>.</li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">EXTERNAL_LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2236">LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">If this is an external routine, this column
|
||
|
identifies the external program name.
|
||
|
<dl>
|
||
|
<dt class="bold">C </dt>
|
||
|
<dd>The external program is written in C.
|
||
|
</dd>
|
||
|
<dt class="bold">C++ </dt>
|
||
|
<dd>The external program is written in C++.
|
||
|
</dd>
|
||
|
<dt class="bold">CL </dt>
|
||
|
<dd>The external program is written in CL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOL </dt>
|
||
|
<dd>The external program is written in COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOLLE</dt>
|
||
|
<dd>The external program is written in ILE COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">FORTRAN</dt>
|
||
|
<dd>The external program is written in FORTRAN.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>The external program is written in JAVA.
|
||
|
</dd>
|
||
|
<dt class="bold">PLI </dt>
|
||
|
<dd>The external program is written in PL/I.
|
||
|
</dd>
|
||
|
<dt class="bold">REXX </dt>
|
||
|
<dd>The external program is a REXX procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">RPG </dt>
|
||
|
<dd>The external program is written in RPG.
|
||
|
</dd>
|
||
|
<dt class="bold">RPGLE </dt>
|
||
|
<dd>The external program is written in ILE RPG.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">PARAMETER_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2236">PARM_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(7)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">If this is an external routine, this column
|
||
|
identifies the parameter style (calling convention).
|
||
|
<dl>
|
||
|
<dt class="bold">DB2GNRL</dt>
|
||
|
<dd>This is the DB2GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">DB2SQL</dt>
|
||
|
<dd>This is the DB2SQL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">GENERAL</dt>
|
||
|
<dd>This is the GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>This is the JAVA calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">NULLS</dt>
|
||
|
<dd>This is the GENERAL WITH NULLS calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is the SQL standard calling convention.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">IS_DETERMINISTIC</td>
|
||
|
<td align="left" valign="top" headers="wq2236">DETERMINE</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies whether the routine
|
||
|
is deterministic. That is, whether a call to the routine with the same arguments
|
||
|
will always return the same result.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The routine is not deterministic.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The routine is deterministic.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">SQL_DATA_ACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2236">DATAACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies whether a routine
|
||
|
contains SQL and whether it reads or modifies data.
|
||
|
<dl>
|
||
|
<dt class="bold">NONE</dt>
|
||
|
<dd>The routine does not contain any SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">CONTAINS</dt>
|
||
|
<dd>The routine contains SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">READS</dt>
|
||
|
<dd>The routine possibly reads data from a table or view.
|
||
|
</dd>
|
||
|
<dt class="bold">MODIFIES</dt>
|
||
|
<dd>The routine possibly modifies data in a table or view or issues SQL
|
||
|
DDL statements.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2236">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(3483)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">If this is an SQL routine, this column identifies
|
||
|
the path.
|
||
|
<p>Contains the null value if this is not an SQL routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2236">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(2048)</td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies the routine signature.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">RESULT_SETS</td>
|
||
|
<td align="left" valign="top" headers="wq2236">RESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2237">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies the maximum number of result sets
|
||
|
returned. 0 indicates that there are no result sets.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2236">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2237">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies the number of input parameters.
|
||
|
0 indicates that there are no input parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">OUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2236">OUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2237">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies the number of output parameters.
|
||
|
0 indicates that there are no output parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">INOUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2236">INOUT_PARM</td>
|
||
|
<td align="left" valign="top" headers="wq2237">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies the number of input/output parameters.
|
||
|
0 indicates that there are no input/output parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2236">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(2000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">ROUTINE_DEFINITION</td>
|
||
|
<td align="left" valign="top" headers="wq2236">ROUTINEDEF</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(24000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">If this is an SQL routine, this column contains
|
||
|
the SQL routine body.
|
||
|
<p>Contains the null value if this is not an SQL routine
|
||
|
or if the routine body cannot be contained in this column without truncation.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2236">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">Identifies whether information about the
|
||
|
database is passed to the procedure.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>No database information is passed to the procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Information about the database is passed to the procedure.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">COMMIT_ON_RETURN</td>
|
||
|
<td align="left" valign="top" headers="wq2236">CMTONRET</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies whether the procedure
|
||
|
commits on a successful return from the procedure.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>A commit is not performed on successful return from the procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A commit is performed on successful return from the procedure.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2236">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2237">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2238">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2235">NEW_SAVEPOINT_LEVEL</td>
|
||
|
<td align="left" valign="top" headers="wq2236">NEWSAVEPTL</td>
|
||
|
<td align="left" valign="top" headers="wq2237">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2238">This column identifies whether the routine
|
||
|
starts a new savepoint level.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>A new savepoint level is not started.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A new savepoint level is started.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysrefcst"></a>
|
||
|
<h3 id="catsysrefcst"><a href="rbafzmst02.htm#ToC_1530">SYSREFCST</a></h3><a id="idx3514" name="idx3514"></a><a id="idx3515" name="idx3515"></a>
|
||
|
<p>The SYSREFCST view contains one row for each foreign key in the SQL schema.
|
||
|
The following table describes the columns in the SYSREFCST view:</p>
|
||
|
<a name="sysrefc"></a>
|
||
|
<table id="sysrefc" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 127. SYSREFCST view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2239" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2240" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2241" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2242" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2240">CDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Name of the schema containing the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2240">RELNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Name of the constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">UNIQUE_CONSTRAINT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2240">UNQDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Name of the SQL schema containing the unique
|
||
|
constraint referenced by the referential constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">UNIQUE_CONSTRAINT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2240">UNQNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Name of the unique constraint referenced
|
||
|
by the referential constraint.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">MATCH_OPTION</td>
|
||
|
<td align="left" valign="top" headers="wq2240">MATCH</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(7)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Match option. Will always be NONE.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">UPDATE_RULE</td>
|
||
|
<td align="left" valign="top" headers="wq2240">UPDATE</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(11)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Update Rule.
|
||
|
<ul>
|
||
|
<li>NO ACTION</li>
|
||
|
<li>RESTRICT</li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">DELETE_RULE</td>
|
||
|
<td align="left" valign="top" headers="wq2240">DELETE</td>
|
||
|
<td align="left" valign="top" headers="wq2241">VARCHAR(11)</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Delete Rule
|
||
|
<ul>
|
||
|
<li>NO ACTION</li>
|
||
|
<li>CASCADE</li>
|
||
|
<li>SET NULL</li>
|
||
|
<li>SET DEFAULT</li>
|
||
|
<li>RESTRICT</li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2239">COLUMN_COUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2240">COLCOUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2241">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2242">Number of columns in the foreign key.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysrdep"></a>
|
||
|
<h3 id="catsysrdep"><a href="rbafzmst02.htm#ToC_1531">SYSROUTINEDEP</a></h3><a id="idx3516" name="idx3516"></a><a id="idx3517" name="idx3517"></a>
|
||
|
<p>The SYSROUTINEDEP view records the dependencies of routines. The following
|
||
|
table describes the columns in the SYSROUTINEDEP view:</p>
|
||
|
<a name="sysrtndp"></a>
|
||
|
<table id="sysrtndp" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 128. SYSROUTINEDEP view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2243" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2244" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2245" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2246" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2244">SPECSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2245">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Schema name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2244">SPECNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2245">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Specific name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2244">BSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2245">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Name of the SQL schema that contains the
|
||
|
object.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">OBJECT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2244">BNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2245">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Name of the object the routine is dependent
|
||
|
on.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">OBJECT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2244">BTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2245">CHAR(24)</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Indicates the object type of the object referenced
|
||
|
in the routine:
|
||
|
<dl>
|
||
|
<dt class="bold">ALIAS</dt>
|
||
|
<dd>The object is an alias.
|
||
|
</dd>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>The object is a function.
|
||
|
</dd>
|
||
|
<dt class="bold">INDEX</dt>
|
||
|
<dd>The object is an index.
|
||
|
</dd>
|
||
|
<dt class="bold">MATERIALIZED QUERY TABLE</dt>
|
||
|
<dd>The object is a materialized query table.
|
||
|
</dd>
|
||
|
<dt class="bold">PROCEDURE</dt>
|
||
|
<dd>The object is a procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">SCHEMA</dt>
|
||
|
<dd>The object is a schema.
|
||
|
</dd>
|
||
|
<dt class="bold">SEQUENCE</dt>
|
||
|
<dd>The object is a sequence.
|
||
|
</dd>
|
||
|
<dt class="bold">TABLE</dt>
|
||
|
<dd>The object is a table.
|
||
|
<p>If the object does not exist at the time the
|
||
|
routine is created or the OBJECT_SCHEMA is *LIBL, TABLE may be returned even
|
||
|
though the actual object used at run time may be an alias, materialized query
|
||
|
table, or view.</p>
|
||
|
</dd>
|
||
|
<dt class="bold">TYPE</dt>
|
||
|
<dd>The object is a distinct type.
|
||
|
</dd>
|
||
|
<dt class="bold">VIEW</dt>
|
||
|
<dd>The object is a view.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2244">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2245">VARCHAR(10000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2246">This column identifies the routine signature.
|
||
|
<p>Contains the null value if the object is not a routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2244">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2245">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2246">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number of the object.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2243">NUMBER_OF_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2244">NUMPARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2245">SMALLINT
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2246">Identifies the number of parameters.
|
||
|
<p>Contains
|
||
|
the null value if the object is not a routine.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysrout"></a>
|
||
|
<h3 id="catsysrout"><a href="rbafzmst02.htm#ToC_1532">SYSROUTINES</a></h3><a id="idx3518" name="idx3518"></a><a id="idx3519" name="idx3519"></a>
|
||
|
<p>The SYSROUTINES table contains one row for each procedure created
|
||
|
by the CREATE PROCEDURE statement and each function created by the CREATE
|
||
|
FUNCTION statement. The following table describes the columns in the SYSROUTINES
|
||
|
table:</p>
|
||
|
<a name="sysrtn"></a>
|
||
|
<table id="sysrtn" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 129. SYSROUTINES table</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2247" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2248" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2249" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2250" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SPECSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Schema name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SPECNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Specific name of the routine instance.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2248">RTNSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Name of the SQL schema (schema) that contains
|
||
|
the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2248">RTNNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Name of the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">RTNTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(9)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Type of the routine.
|
||
|
<dl>
|
||
|
<dt class="bold">PROCEDURE</dt>
|
||
|
<dd>This is a procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>This is a function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_CREATED</td>
|
||
|
<td align="left" valign="top" headers="wq2248">RTNCREATE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the timestamp when the routine
|
||
|
was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Name of the user that defined the routine.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2248">BODY</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">The type of the routine body:
|
||
|
<dl>
|
||
|
<dt class="bold">EXTERNAL</dt>
|
||
|
<dd>This is an external routine.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is an SQL routine.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">EXTERNAL_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2248">EXTNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(279)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies the external program
|
||
|
name.
|
||
|
<ul>
|
||
|
<li>For SQL functions or ILE service programs, the external program name is <span class="italic">schema-name/service-program-name(entry-point-name)</span>.</li>
|
||
|
<li>For REXX, the external program name is <span class="italic">schema-name/source-file-name(member-name)</span>.</li>
|
||
|
<li>For Java programs, the external program name is an optional
|
||
|
jar-id followed by a <span class="italic">fully-qualified-class-name!method-name</span> or <span class="italic">fully-qualified-class-name.method-name</span>.</li>
|
||
|
<li>For all other languages, the external program name is <span class="italic">schema-name/program-name</span>.</li></ul>
|
||
|
<p>Contains the null value if this is a system-generated function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">EXTERNAL_LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">LANGUAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is an external routine, this column
|
||
|
identifies the external program name.
|
||
|
<dl>
|
||
|
<dt class="bold">C </dt>
|
||
|
<dd>The external program is written in C.
|
||
|
</dd>
|
||
|
<dt class="bold">C++ </dt>
|
||
|
<dd>The external program is written in C++.
|
||
|
</dd>
|
||
|
<dt class="bold">CL </dt>
|
||
|
<dd>The external program is written in CL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOL </dt>
|
||
|
<dd>The external program is written in COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">COBOLLE</dt>
|
||
|
<dd>The external program is written in ILE COBOL.
|
||
|
</dd>
|
||
|
<dt class="bold">FORTRAN</dt>
|
||
|
<dd>The external program is written in FORTRAN.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>The external program is written in JAVA.
|
||
|
</dd>
|
||
|
<dt class="bold">PLI </dt>
|
||
|
<dd>The external program is written in PL/I.
|
||
|
</dd>
|
||
|
<dt class="bold">REXX </dt>
|
||
|
<dd>The external program is a REXX procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">RPG </dt>
|
||
|
<dd>The external program is written in RPG.
|
||
|
</dd>
|
||
|
<dt class="bold">RPGLE </dt>
|
||
|
<dd>The external program is written in ILE RPG.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">PARAMETER_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">PARM_STYLE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(7)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is an external routine, this column
|
||
|
identifies the parameter style (calling convention).
|
||
|
<dl>
|
||
|
<dt class="bold">DB2GNRL</dt>
|
||
|
<dd>This is the DB2GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">DB2SQL</dt>
|
||
|
<dd>This is the DB2SQL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">GENERAL</dt>
|
||
|
<dd>This is the GENERAL calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">JAVA</dt>
|
||
|
<dd>This is the JAVA calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">NULLS</dt>
|
||
|
<dd>This is the GENERAL WITH NULLS calling convention.
|
||
|
</dd>
|
||
|
<dt class="bold">SQL</dt>
|
||
|
<dd>This is the SQL standard calling convention.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if this is not an external routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">IS_DETERMINISTIC</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DETERMINE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies whether the routine
|
||
|
is deterministic. That is, whether a call to the routine with the same arguments
|
||
|
will always return the same result.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The routine is not deterministic.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The routine is deterministic.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SQL_DATA_ACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DATAACCESS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies whether a routine
|
||
|
contains SQL and whether it reads or modifies data.
|
||
|
<dl>
|
||
|
<dt class="bold">NONE</dt>
|
||
|
<dd>The routine does not contain any SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">CONTAINS</dt>
|
||
|
<dd>The routine contains SQL statements.
|
||
|
</dd>
|
||
|
<dt class="bold">READS</dt>
|
||
|
<dd>The routine possibly reads data from a table or view.
|
||
|
</dd>
|
||
|
<dt class="bold">MODIFIES</dt>
|
||
|
<dd>The routine possibly modifies data in a table or view or issues SQL
|
||
|
DDL statements.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3483)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is an SQL routine, this column identifies
|
||
|
the path.
|
||
|
<p>Contains the null value if this is not an SQL routine.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(2048)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies the routine signature.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">NUMBER_OF_RESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">NUMRESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the number of results.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">MAX_DYNAMIC_RESULT_SETS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">RESULTS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the maximum number of result sets
|
||
|
returned. 0 indicates that there are no result sets.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">IN_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the number of input parameters.
|
||
|
0 indicates that there are no input parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">OUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">OUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the number of output parameters.
|
||
|
0 indicates that there are no output parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">INOUT_PARMS</td>
|
||
|
<td align="left" valign="top" headers="wq2248">INOUT_PARM</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the number of input/output parameters.
|
||
|
0 indicates that there are no input/output parameters.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">PARSE_TREE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">PARSE_TREE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(1024) FOR BIT DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is a routine, this column identifies
|
||
|
the parse tree of the CREATE FUNCTION or CREATE PROCEDURE statement. It is
|
||
|
only used internally.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">PARM_ARRAY</td>
|
||
|
<td align="left" valign="top" headers="wq2248">PARM_ARRAY</td>
|
||
|
<td align="left" valign="top" headers="wq2249">BLOB(320000)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is an external routine, this column
|
||
|
identifies the parameter array built from the CREATE FUNCTION or CREATE PROCEDURE
|
||
|
statement. It is only used internally.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2248">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(2000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">ROUTINE_DEFINITION</td>
|
||
|
<td align="left" valign="top" headers="wq2248">ROUTINEDEF</td>
|
||
|
<td align="left" valign="top" headers="wq2249">DBCLOB(2M) CCSID 13488
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is an SQL routine, this column contains
|
||
|
the SQL routine body.
|
||
|
<p>Contains the null value if this is not an SQL routine
|
||
|
or if the routine body cannot be contained in this column without truncation.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">FUNCTION_ORIGIN</td>
|
||
|
<td align="left" valign="top" headers="wq2248">ORIGIN</td>
|
||
|
<td align="left" valign="top" headers="wq2249">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the type of function. If this
|
||
|
is a procedure, this column contains a blank.
|
||
|
<dl>
|
||
|
<dt class="bold">B</dt>
|
||
|
<dd>This is a built-in function (defined by DB2 UDB for iSeries).
|
||
|
</dd>
|
||
|
<dt class="bold">E</dt>
|
||
|
<dd>This is a user-defined function.
|
||
|
</dd>
|
||
|
<dt class="bold">U</dt>
|
||
|
<dd>This is a user-defined function that is sourced on another function.
|
||
|
</dd>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>This is a system-generated function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">FUNCTION_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies the form of the function. If this
|
||
|
is a procedure, this column contains a blank.
|
||
|
<dl>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>This is a scalar function.
|
||
|
</dd>
|
||
|
<dt class="bold">C</dt>
|
||
|
<dd>This is a column function.
|
||
|
</dd>
|
||
|
<dt class="bold">T</dt>
|
||
|
<dd>This is a table function.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">EXTERNAL_ACTION</td>
|
||
|
<td align="left" valign="top" headers="wq2248">EXTACTION</td>
|
||
|
<td align="left" valign="top" headers="wq2249">CHAR(1)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the invocation of the
|
||
|
function has external effects.
|
||
|
<dl>
|
||
|
<dt class="bold">E</dt>
|
||
|
<dd>This function has external side effects.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>This function does not have any external side effects.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">IS_NULL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2248">NULL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the function needs to
|
||
|
be called if an input parameter is the null value.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>This function need not be called if an input parameter is the null value.
|
||
|
If this is a scalar function, the result of the function is implicitly null
|
||
|
if any of the operands are null. If this is a table function, the result of
|
||
|
the function is an empty table if any of the operands are the null value.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>This function must be called even if an input operand is null.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SCRATCH_PAD</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SCRATCHPAD</td>
|
||
|
<td align="left" valign="top" headers="wq2249">INTEGER
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the address of a static
|
||
|
memory area (scratch pad) is passed to the function.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>The function does not have a scratch pad.
|
||
|
</dd>
|
||
|
<dt class="bold">integer</dt>
|
||
|
<dd>Indicates the size of the scratch pad passed to the function.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">FINAL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2248">FINAL_CALL</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Indicates whether a final call to the function
|
||
|
should be made to allow the function to clean up its work areas (scratch pads).
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>No final call is made.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A final call to the function is made when the statement is complete.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">PARALLELIZABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">PARALLEL</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the function can be run
|
||
|
in parallel.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The function must be synchronous.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The function can be run in parallel.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DBINFO</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether information about the
|
||
|
database is passed to the routine.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>No database information is passed to the routine.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Information about the database is passed to the routine.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SOURCE_SPECIFIC_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SRCSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is sourced function and the source
|
||
|
is user-defined, this column contains the name of the source schema. If this
|
||
|
is a sourced function and the source is built-in, this column contains 'QSYS2'.
|
||
|
<p>Contains the null value if the routine is not a sourced function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">SOURCE_SPECIFIC_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2248">SRCNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">If this is sourced function and the source
|
||
|
is user-defined, this column contains the specific name of the source function
|
||
|
name.
|
||
|
<p>Contains the null value if the routine is not a sourced function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">IS_USER_ DEFINED_CAST</td>
|
||
|
<td align="left" valign="top" headers="wq2248">CAST_FUNC</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the this function is a
|
||
|
cast function created when a distinct type was created.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>This function is not a cast function.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>This function is a cast function.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">CARDINALITY</td>
|
||
|
<td align="left" valign="top" headers="wq2248">CARD</td>
|
||
|
<td align="left" valign="top" headers="wq2249">BIGINT
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Specifies the cardinality for a table function.
|
||
|
<p>Contains the null value if the function is not a table function or if cardinality
|
||
|
was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">FENCED</td>
|
||
|
<td align="left" valign="top" headers="wq2248">FENCED</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether a function is fenced.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The function is not fenced.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The function is fenced.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a procedure.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">COMMIT_ON_RETURN</td>
|
||
|
<td align="left" valign="top" headers="wq2248">CMTONRET</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies whether the procedure
|
||
|
commits on a successful return from the procedure.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>A commit is not performed on successful return from the procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A commit is performed on successful return from the procedure.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2248">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2249">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">NEW_SAVEPOINT_LEVEL</td>
|
||
|
<td align="left" valign="top" headers="wq2248">NEWSAVEPTL</td>
|
||
|
<td align="left" valign="top" headers="wq2249">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">This column identifies whether the routine
|
||
|
starts a new savepoint level.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>A new savepoint level is not started.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>A new savepoint level is started.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the routine is a function.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">LAST_ALTERED</td>
|
||
|
<td align="left" valign="top" headers="wq2248">ALTEREDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2249">TIMESTAMP
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Routine last changed timestamp.
|
||
|
<p>Contains
|
||
|
the null value.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">DEBUG_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DEBUG_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2249">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2250">Identifies whether the routine is debuggable.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>The routine is not debuggable.
|
||
|
</dd>
|
||
|
<dt class="bold">1</dt>
|
||
|
<dd>The routine is debuggable by the Unified Debugger.
|
||
|
</dd>
|
||
|
<dt class="bold">2</dt>
|
||
|
<dd>The routine is debuggable by the system debugger.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The routine is disabled from being debugged by the Unified Debugger.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2247">DEBUG_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2248">DEBUG_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2249">
|
||
|
<div class="lines">CLOB(1048576)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2250">Reserved. Contains the null value.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysseq"></a>
|
||
|
<h3 id="catsysseq"><a href="rbafzmst02.htm#ToC_1533">SYSSEQUENCES</a></h3><a id="idx3520" name="idx3520"></a><a id="idx3521" name="idx3521"></a>
|
||
|
<p>The SYSSEQUENCES view contains one row for every sequence object in the
|
||
|
SQL schema. The following table describes the columns in the SYSSEQUENCES
|
||
|
view:</p>
|
||
|
<a name="sysseq"></a>
|
||
|
<table id="sysseq" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 130. SYSSEQUENCES view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2251" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2252" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2253" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2254" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SEQUENCE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2252">SEQSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2253">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">The name of the SQL schema containing the
|
||
|
sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SEQUENCE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2252">SEQNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2253">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">Name of the sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">MAXIMUM_VALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2252">MAXVALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">DECIMAL(63,0)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Maximum value of the sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">MINIMUM_VALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2252">MINVALUE</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">DECIMAL(63,0)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Minimum value of the sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">INCREMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2252">INCREMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Increment value of the sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">CYCLE_OPTION</td>
|
||
|
<td align="left" valign="top" headers="wq2252">CYCLE</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(3)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Identifies whether the sequence values will
|
||
|
continue to be generated after the minimum or maximum value has been reached.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>Values will not continue to be generated.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Values will continue to be generated.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">CACHE</td>
|
||
|
<td align="left" valign="top" headers="wq2252">CACHE</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Specifies the number of sequence values that
|
||
|
may be preallocated for faster access. Zero indicates that the values will
|
||
|
not be preallocated.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">ORDER</td>
|
||
|
<td align="left" valign="top" headers="wq2252">ORDER</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(3)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Specifies whether the sequence values must
|
||
|
be generated in order of the request.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>Values do not need to be generated in order of the request.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>Values must be generated in order of the request.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">DATA_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2252">DATA_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2253">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">Type of sequence:
|
||
|
<dl>
|
||
|
<dt class="bold">BIGINT</dt>
|
||
|
<dd>Big number
|
||
|
</dd>
|
||
|
<dt class="bold">INTEGER</dt>
|
||
|
<dd>Large number
|
||
|
</dd>
|
||
|
<dt class="bold">SMALLINT</dt>
|
||
|
<dd>Small number
|
||
|
</dd>
|
||
|
<dt class="bold">DECIMAL</dt>
|
||
|
<dd>Packed decimal
|
||
|
</dd>
|
||
|
<dt class="bold">NUMERIC</dt>
|
||
|
<dd>Zoned decimal
|
||
|
</dd>
|
||
|
<dt class="bold">DISTINCT</dt>
|
||
|
<dd>Distinct type
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">NUMERIC_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2252">PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">The precision of all numeric columns.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">USER_DEFINED_TYPE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2252">TYPESCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">The name of the schema if this is a distinct type.
|
||
|
<p>Contains the null value if the sequence is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">USER_DEFINED_TYPE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2252">TYPENAME</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">The name of the distinct type.
|
||
|
<p>Contains the null
|
||
|
value if the sequence is not a distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">START</td>
|
||
|
<td align="left" valign="top" headers="wq2252">START</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">DECIMAL(63,0)<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Starting value of the sequence.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">MAXASSIGNEDVAL</td>
|
||
|
<td align="left" valign="top" headers="wq2252">MAXASNVAL</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">DECIMAL(63,0)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">Last possible assigned sequence value. This
|
||
|
value includes any values that were cached, but not used.
|
||
|
<p>Contains the
|
||
|
null value when the sequence is created. Is not null after the first value
|
||
|
is assigned.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SEQUENCE_DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2252">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2253">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">The authorization ID under which the sequence
|
||
|
was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SEQUENCE_CREATED</td>
|
||
|
<td align="left" valign="top" headers="wq2252">CREATEDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2253">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2254">Timestamp when the sequence was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">LAST_ALTERED_TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2252">ALTEREDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2253">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2254">Timestamp when the sequence was last altered.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SEQUENCE_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2252">LABEL</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(50)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">A character string supplied with the LABEL
|
||
|
statement (sequence text).
|
||
|
<p>Contains the null value if the sequence has no
|
||
|
sequence text.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2252">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2253">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2254">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SYSTEM_SEQ_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2252">SYSSSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2253">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">The system name of the schema</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">SYSTEM_SEQ_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2252">SYSSNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2253">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2254">The system name of the sequence</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2251">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2252">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2253">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2254">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystdep"></a>
|
||
|
<h3 id="catsystdep"><a href="rbafzmst02.htm#ToC_1534">SYSTABLEDEP</a></h3><a id="idx3522" name="idx3522"></a><a id="idx3523" name="idx3523"></a>
|
||
|
<p>The SYSTABLEDEP view records the dependencies of materialized query tables.
|
||
|
The following table describes the columns in the SYSTABLEDEP view:</p>
|
||
|
<a name="systbldp"></a>
|
||
|
<table id="systbldp" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 131. SYSTABLEDEP view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2255" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2256" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2257" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2258" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2256">TABSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2257">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Name of the SQL schema that contains the
|
||
|
table, view or alias</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2256">TABNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2257">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Name of the table, view or alias. This is
|
||
|
the SQL table, view or alias name if it exists; otherwise, it is the system
|
||
|
table, view or alias name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2256">BSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2257">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Name of the SQL schema that contains the
|
||
|
object.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">OBJECT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2256">BNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2257">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Name of the object the materialized query
|
||
|
table is dependent on.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">OBJECT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2256">BTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2257">CHAR(24)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Indicates the object type of the object referenced
|
||
|
in the materialized query table:
|
||
|
<dl>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>The object is a function.
|
||
|
</dd>
|
||
|
<dt class="bold">TABLE</dt>
|
||
|
<dd>The object is a table.
|
||
|
</dd>
|
||
|
<dt class="bold">TYPE</dt>
|
||
|
<dd>The object is a distinct type.
|
||
|
</dd>
|
||
|
<dt class="bold">VIEW</dt>
|
||
|
<dd>The object is a view.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2256">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2257">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2258">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number of the object.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2256">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2257">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">System schema name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2256">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2257">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2258">System table name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2255">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2256">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2257">VARCHAR(10000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2258">This column identifies the routine signature.
|
||
|
<p>Contains the null value if the object is not a routine.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystbls"></a>
|
||
|
<h3 id="catsystbls"><a href="rbafzmst02.htm#ToC_1535">SYSTABLES</a></h3><a id="idx3524" name="idx3524"></a><a id="idx3525" name="idx3525"></a>
|
||
|
<p>The SYSTABLES view contains one row for every table, view or alias in the
|
||
|
SQL schema, including the tables and views of the SQL catalog. The following
|
||
|
table describes the columns in the SYSTABLES view:</p>
|
||
|
<a name="systbl"></a>
|
||
|
<table id="systbl" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 132. SYSTABLES view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2259" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2260" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2261" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2262" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2260">NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Name of the table, view or alias. This is
|
||
|
the SQL table, view or alias name if it exists; otherwise, it is the system
|
||
|
table, view or alias name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">TABLE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2260">CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Owner of the table, view or alias</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">TABLE_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2260">TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">If the row describes a table, view, or alias:
|
||
|
<dl>
|
||
|
<dt class="bold">A</dt>
|
||
|
<dd>Alias
|
||
|
</dd>
|
||
|
<dt class="bold">L</dt>
|
||
|
<dd>Logical file
|
||
|
</dd>
|
||
|
<dt class="bold">M</dt>
|
||
|
<dd>Materialized query table
|
||
|
</dd>
|
||
|
<dt class="bold">P</dt>
|
||
|
<dd>Physical file
|
||
|
</dd>
|
||
|
<dt class="bold">T</dt>
|
||
|
<dd>Table
|
||
|
</dd>
|
||
|
<dt class="bold">V</dt>
|
||
|
<dd>View
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">COLUMN_COUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2260">COLCOUNT</td>
|
||
|
<td align="left" valign="top" headers="wq2261">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Number of columns in the table or view. Zero
|
||
|
for an alias.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">ROW_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2260">RECLENGTH <sup class="fn"><a href="rbafzmstcatalogtbls.htm#recln">110</a></sup></td>
|
||
|
<td align="left" valign="top" headers="wq2261">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Maximum length of any record in the table.
|
||
|
Zero for an alias.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">TABLE_TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2260">LABEL</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(50)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">A character string provided with the LABEL
|
||
|
statement.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2260">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2261">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2260">DBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Name of the SQL schema that contains the
|
||
|
table, view or alias</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">LAST_ALTERED_TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2260">ALTEREDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2261">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Table last changed timestamp</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2260">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">System table name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2260">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">System schema name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">FILE_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2260">FILETYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">File type
|
||
|
<dl>
|
||
|
<dt class="bold">D</dt>
|
||
|
<dd>Data file or alias
|
||
|
</dd>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>Source file
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">BASE_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2260">TBDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">For an alias, this is the name of the SQL
|
||
|
schema that contains the table or view the alias is based on.
|
||
|
<p>Contains the
|
||
|
null value if the table is not an alias.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">BASE_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2260">TBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2261">
|
||
|
<div class="lines">VARCHAR(128)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">For an alias, this is the name of the table
|
||
|
or view the alias is based on.
|
||
|
<p>Contains the null value if the table is not
|
||
|
an alias.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">BASE_TABLE_MEMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2260">TBMEMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2261">
|
||
|
<div class="lines">VARCHAR(10)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">For an alias, this is the name of the file
|
||
|
member the alias is based on. Contains *FIRST if this is an alias, but a member
|
||
|
name was not specified.
|
||
|
<p>Contains the null value if the table is not an alias.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">SYSTEM_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2260">SYSTABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">System table
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The table is not a system table.
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The table is a system table.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">SELECT_OMIT</td>
|
||
|
<td align="left" valign="top" headers="wq2260">SELECTOMIT</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Select/omit logical file
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The table is not a select/omit logical file.
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The table is a select/omit logical file.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">IS_INSERTABLE_INTO</td>
|
||
|
<td align="left" valign="top" headers="wq2260">INSERTABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Identifies whether an INSERT is allowed on
|
||
|
the table.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>An INSERT is not allowed on this table.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>An INSERT is allowed on this table.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2260">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2261">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2260">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(3)
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates whether the materialized query
|
||
|
table is enabled for optimization:
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The materialized query table is not enabled for optmization.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The materialized query table is enabled for optmization.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the table is not a materialized query table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">MAINTENANCE</td>
|
||
|
<td align="left" valign="top" headers="wq2260">MAINTAIN</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(6)
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates whether the materialized query
|
||
|
table is user or system maintained:
|
||
|
<dl>
|
||
|
<dt class="bold">USER</dt>
|
||
|
<dd>The materialized query table is user maintained.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the table is not a materialized query table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">REFRESH</td>
|
||
|
<td align="left" valign="top" headers="wq2260">REFRESH</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(9)
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates the materialized query table REFRESH
|
||
|
option:
|
||
|
<dl>
|
||
|
<dt class="bold">DEFERRED</dt>
|
||
|
<dd>The materialized query table is REFRESH DEFERRED.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the table is not a materialized query table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">REFRESH_TIME</td>
|
||
|
<td align="left" valign="top" headers="wq2260">REFRESHDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2261">TIMESTAMP
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates the timestamp of the last materialized
|
||
|
query table REFRESH:
|
||
|
<p>Contains the null value if the table is not a materialized
|
||
|
query table or if the table has never been refreshed.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">MQT_DEFINITION</td>
|
||
|
<td align="left" valign="top" headers="wq2260">MQTDEF</td>
|
||
|
<td align="left" valign="top" headers="wq2261">DBCLOB(2M) CCSID 13488
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates the query expression of the materialized
|
||
|
query table:
|
||
|
<p>Contains the null value if the table is not a materialized
|
||
|
query table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">ISOLATION</td>
|
||
|
<td align="left" valign="top" headers="wq2260">ISOLATION</td>
|
||
|
<td align="left" valign="top" headers="wq2261">CHAR(2)
|
||
|
<div class="lines">Nullable <br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates the isolation level used for the <var class="pv">select-statement</var> when refreshing the materialized query table:
|
||
|
<div class="lines">RR Repeatable Read (*RR)<br />
|
||
|
RS Read Stability (*ALL)<br />
|
||
|
CS Cursor Stability (*CS)<br />
|
||
|
UR Uncommitted Read (*CHG)<br />
|
||
|
NO None (*NONE)<br />
|
||
|
</div>
|
||
|
<p>Contains the null value if the table is not a materialized
|
||
|
query table.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2259">PARTITION_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2260">PART_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2261">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2262">Indicates whether the table is a partitioned
|
||
|
table:
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The table is not a partitioned table.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The table is a partitioned table.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2259">TABLE_DEFINER</td>
|
||
|
<td headers="wq2260">DEFINER</td>
|
||
|
<td headers="wq2261">VARCHAR(128)</td>
|
||
|
<td headers="wq2262">Name of the user that defined the table.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystrigcol"></a>
|
||
|
<h3 id="catsystrigcol"><a href="rbafzmst02.htm#ToC_1536">SYSTRIGCOL</a></h3><a id="idx3526" name="idx3526"></a><a id="idx3527" name="idx3527"></a>
|
||
|
<p>The SYSTRIGCOL view contains one row for each column either implicitly
|
||
|
or explicitly referenced in the WHEN clause or the triggered SQL statements
|
||
|
of a trigger. The following table describes the columns in the SYSTRIGCOL
|
||
|
view:</p>
|
||
|
<a name="systrigcol"></a>
|
||
|
<table id="systrigcol" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 133. SYSTRIGCOL view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2263" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2264" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2265" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2266" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">TRIGGER_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2264">TRIGSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2265">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Name of the schema containing the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">TRIGGER_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2264">TRIGNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2265">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Name of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2264">TABSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2265">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Name of the schema containing the table or
|
||
|
view that contains the column that is referenced in the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2264">TABNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2265">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Name of the table or view that contains the
|
||
|
column that is referenced in the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">COLUMN_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2264">TABCOLUMN</td>
|
||
|
<td align="left" valign="top" headers="wq2265">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Name of the column that is referenced in
|
||
|
the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2263">OBJECT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2264">BTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2265">CHAR(24)</td>
|
||
|
<td align="left" valign="top" headers="wq2266">Indicates the object type of the object that
|
||
|
contains the column referenced in the trigger:
|
||
|
<dl>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>The object is a function.
|
||
|
</dd>
|
||
|
<dt class="bold">MATERIALIZED QUERY TABLE</dt>
|
||
|
<dd>The object is a materialized query table.
|
||
|
</dd>
|
||
|
<dt class="bold">TABLE</dt>
|
||
|
<dd>The object is a table.
|
||
|
</dd>
|
||
|
<dt class="bold">VIEW</dt>
|
||
|
<dd>The object is a view.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystrigdep"></a>
|
||
|
<h3 id="catsystrigdep"><a href="rbafzmst02.htm#ToC_1537">SYSTRIGDEP</a></h3><a id="idx3528" name="idx3528"></a><a id="idx3529" name="idx3529"></a>
|
||
|
<p>The SYSTRIGDEP view contains one row for each object referenced in the
|
||
|
WHEN clause or the triggered SQL statements of a trigger. The following table
|
||
|
describes the columns in the SYSTRIGDEP view:</p>
|
||
|
<a name="systrigdep"></a>
|
||
|
<table id="systrigdep" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 134. SYSTRIGDEP view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2267" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2268" width="12%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2269" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2270" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">TRIGGER_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2268">TRIGSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2269">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2270">Name of the schema containing the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">TRIGGER_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2268">TRIGNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2269">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2270">Name of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2268">BSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2269">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2270">Name of the schema containing the object
|
||
|
referenced in the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">OBJECT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2268">BNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2269">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2270">Name of the object referenced in the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">OBJECT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2268">BTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2269">CHAR(24)</td>
|
||
|
<td align="left" valign="top" headers="wq2270">Indicates the object type of the object referenced
|
||
|
in the trigger:
|
||
|
<dl>
|
||
|
<dt class="bold">ALIAS</dt>
|
||
|
<dd>The object is an alias.
|
||
|
</dd>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>The object is a function.
|
||
|
</dd>
|
||
|
<dt class="bold">INDEX</dt>
|
||
|
<dd>The object is an index.
|
||
|
</dd>
|
||
|
<dt class="bold">MATERIALIZED QUERY TABLE</dt>
|
||
|
<dd>The object is a materialized query table.
|
||
|
</dd>
|
||
|
<dt class="bold">PACKAGE</dt>
|
||
|
<dd>The object is a package.
|
||
|
</dd>
|
||
|
<dt class="bold">PROCEDURE</dt>
|
||
|
<dd>The object is a procedure.
|
||
|
</dd>
|
||
|
<dt class="bold">SCHEMA</dt>
|
||
|
<dd>The object is a schema.
|
||
|
</dd>
|
||
|
<dt class="bold">SEQUENCE</dt>
|
||
|
<dd>The object is a sequence.
|
||
|
</dd>
|
||
|
<dt class="bold">TABLE</dt>
|
||
|
<dd>The object is a table.
|
||
|
</dd>
|
||
|
<dt class="bold">TYPE</dt>
|
||
|
<dd>The object is a distinct type.
|
||
|
</dd>
|
||
|
<dt class="bold">VIEW</dt>
|
||
|
<dd>The object is a view.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2267">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2268">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2269">VARCHAR(10000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2270">This column identifies the routine signature.
|
||
|
<p>Contains the null value if the object is not a routine.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystrigger"></a>
|
||
|
<h3 id="catsystrigger"><a href="rbafzmst02.htm#ToC_1538">SYSTRIGGERS</a></h3><a id="idx3530" name="idx3530"></a><a id="idx3531" name="idx3531"></a>
|
||
|
<p>The SYSTRIGGERS view contains one row for each trigger in an SQL schema.
|
||
|
The following table describes the columns in the SYSTRIGGERS view:</p>
|
||
|
<a name="systriggers"></a>
|
||
|
<table id="systriggers" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 135. SYSTRIGGERS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2271" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2272" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2273" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2274" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the schema containing the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">EVENT_MANIPULATION</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGEVENT</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(6)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates the event that causes the trigger
|
||
|
to fire:
|
||
|
<dl>
|
||
|
<dt class="bold">DELETE</dt>
|
||
|
<dd>Trigger fires on a DELETE.
|
||
|
</dd>
|
||
|
<dt class="bold">INSERT</dt>
|
||
|
<dd>Trigger fires on a INSERT.
|
||
|
</dd>
|
||
|
<dt class="bold">UPDATE</dt>
|
||
|
<dd>Trigger fires on a DELETE.
|
||
|
</dd>
|
||
|
<dt class="bold">READ</dt>
|
||
|
<dd>Trigger fires when a row is read. This is only valid for triggers created
|
||
|
via the ADDPFTRG command.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">EVENT_OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TABSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the schema containing
|
||
|
the subject table or view of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">EVENT_OBJECT_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TABNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the subject table or view
|
||
|
of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_ORDER</td>
|
||
|
<td align="left" valign="top" headers="wq2272">ORDERSEQNO</td>
|
||
|
<td align="left" valign="top" headers="wq2273">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2274">The ordinal position of this trigger
|
||
|
in the list of triggers for the table or view. This indicates the order in
|
||
|
which the trigger will be fired.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_CONDITION</td>
|
||
|
<td align="left" valign="top" headers="wq2272">CONDITION</td>
|
||
|
<td align="left" valign="top" headers="wq2273">DBCLOB(2097152)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Text of the WHEN clause for the trigger.
|
||
|
<p>Contains the null value if there is no WHEN clause.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_STATEMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2273">DBCLOB(2097152)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Text of the SQL statements in the trigger
|
||
|
action.
|
||
|
<p>Contains the null value if this is a trigger created via the ADDPFTRG
|
||
|
command.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_ORIENTATION</td>
|
||
|
<td align="left" valign="top" headers="wq2272">GRANULAR</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(9)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether this is a ROW or STATEMENT
|
||
|
trigger:
|
||
|
<dl>
|
||
|
<dt class="bold">ROW</dt>
|
||
|
<dd>Trigger fires for each ROW.
|
||
|
</dd>
|
||
|
<dt class="bold">STATEMENT</dt>
|
||
|
<dd>Trigger fires for each statement.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_TIMING</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGTIME</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(7)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether this is a BEFORE,
|
||
|
AFTER, or INSTEAD OF trigger:
|
||
|
<dl>
|
||
|
<dt class="bold">BEFORE</dt>
|
||
|
<dd>Trigger fires before the triggering event.
|
||
|
</dd>
|
||
|
<dt class="bold">AFTER</dt>
|
||
|
<dd>Trigger fires after the triggering event.
|
||
|
</dd>
|
||
|
<dt class="bold">INSTEAD</dt>
|
||
|
<dd>Trigger fires instead of the triggering event.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_MODE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGMODE</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(6)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates the firing mode for the trigger:
|
||
|
<dl>
|
||
|
<dt class="bold">DB2SQL</dt>
|
||
|
<dd>The trigger mode is DB2SQL.
|
||
|
</dd>
|
||
|
<dt class="bold">DB2ROW</dt>
|
||
|
<dd>The trigger mode is DB2ROW.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_REFERENCE_OLD_ROW</td>
|
||
|
<td align="left" valign="top" headers="wq2272">OLD_ROW</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the OLD ROW correlation name.
|
||
|
<p>Contains the null value if an OLD ROW correlation name was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_REFERENCE_NEW_ROW</td>
|
||
|
<td align="left" valign="top" headers="wq2272">NEW_ROW</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the NEW ROW correlation name.
|
||
|
<p>Contains the null value if a NEW ROW correlation name was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_REFERENCE_OLD_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">OLD_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the OLD TABLE correlation name.
|
||
|
<p>Contains the null value if an OLD TABLE correlation name was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ACTION_REFERENCE_NEW_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">NEW_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the NEW TABLE correlation name.
|
||
|
<p>Contains the null value if a NEW TABLE correlation name was not specified.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2272">SQL_PATH</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(3483)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">SQL path used when the trigger was created.
|
||
|
<p>Contains the null value if the trigger was created via the ADDPFTRG command.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">CREATED</td>
|
||
|
<td align="left" valign="top" headers="wq2272">CREATE_DTS</td>
|
||
|
<td align="left" valign="top" headers="wq2273">TIMESTAMP</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Timestamp when the trigger was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_PROGRAM_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGPGM</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Name of the trigger program.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_PROGRAM_LIBRARY</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRIGPGMLIB</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">System name of the schema containing the
|
||
|
trigger program.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">OPERATIVE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">OPERATIVE</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether the trigger is operative.
|
||
|
<p>A table or view that has a trigger that contains a reference to
|
||
|
that same table or view in its <var class="pv">triggered–action</var> is self-referencing.
|
||
|
If a self-referencing trigger is duplicated into another library, restored
|
||
|
into another library, moved into another library, or renamed; the trigger
|
||
|
is marked inoperative since the table references in the <var class="pv">triggered–action</var> are unchanged and still reference the original schema and table name.</p>
|
||
|
<dl>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The trigger is operative.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The trigger is inoperative.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2272">ENABLED</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether the trigger is enabled
|
||
|
(see the CL command CHGPFTRG)
|
||
|
<dl>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The trigger is enabled.
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The trigger is disabled.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">THREADSAFE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">THDSAFE</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether the trigger is thread safe.
|
||
|
<dl>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The trigger is thread safe.
|
||
|
</dd>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The trigger is not thread safe.
|
||
|
</dd>
|
||
|
<dt class="bold">UNKNOWN</dt>
|
||
|
<dd>The thread safety of the trigger is unknown.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">MULTITHREADED_JOB_ACTION</td>
|
||
|
<td align="left" valign="top" headers="wq2272">MLTTHDACN</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates the action to take when the trigger
|
||
|
program is called in a multithreaded job.
|
||
|
<dl>
|
||
|
<dt class="bold">SYSVAL</dt>
|
||
|
<dd>Use the QMLTTHDACN system value to determine the action to take.
|
||
|
</dd>
|
||
|
<dt class="bold">MSG</dt>
|
||
|
<dd>Run the trigger program in a multithreaded job, but send a diagnostic
|
||
|
message.
|
||
|
</dd>
|
||
|
<dt class="bold">NORUN</dt>
|
||
|
<dd>Do not run the trigger program in a multithreaded job.
|
||
|
</dd>
|
||
|
<dt class="bold">RUN</dt>
|
||
|
<dd>Run the trigger program in a multithreaded job.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">ALLOW_REPEATED_CHANGE</td>
|
||
|
<td align="left" valign="top" headers="wq2272">ALWREPCHG</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARCHAR(8)</td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates the condition under which an update
|
||
|
event fires the trigger.
|
||
|
<dl>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The trigger allows repeated changes to the same row.
|
||
|
</dd>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The trigger does not allow repeated changes to the same row.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">TRIGGER_UPDATE_CONDITION</td>
|
||
|
<td align="left" valign="top" headers="wq2272">TRGUPDCND</td>
|
||
|
<td align="left" valign="top" headers="wq2273">CHAR(8)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">Indicates whether an UPDATE trigger is always
|
||
|
fired on an update event or only when a column value is actually changed.
|
||
|
<dl>
|
||
|
<dt class="bold">ALWAYS</dt>
|
||
|
<dd>The trigger is always fired on an update event.
|
||
|
</dd>
|
||
|
<dt class="bold">CHANGE</dt>
|
||
|
<dd>The trigger is only fired on an update event if a column value is actually
|
||
|
changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the trigger is not an UPDATE trigger.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2271">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2272">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2273">VARGRAPHIC(2000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2274">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystrigupd"></a>
|
||
|
<h3 id="catsystrigupd"><a href="rbafzmst02.htm#ToC_1539">SYSTRIGUPD</a></h3><a id="idx3532" name="idx3532"></a><a id="idx3533" name="idx3533"></a>
|
||
|
<p>The SYSTRIGUPD view contains one row for each column identified in the
|
||
|
UPDATE column list, if any. The following table describes the columns in the
|
||
|
SYSTRIGUPD view:</p>
|
||
|
<a name="systrigupd"></a>
|
||
|
<table id="systrigupd" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 136. SYSTRIGUPD view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2275" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2276" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2277" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2278" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2275">TRIGGER_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2276">TRIGSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2277">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2278">Name of the schema containing the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2275">TRIGGER_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2276">TRIGNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2277">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2278">Name of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2275">EVENT_OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2276">TABSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2277">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2278">Name of the schema containing the subject
|
||
|
table of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2275">EVENT_OBJECT_TABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2276">TABNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2277">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2278">Name of the subject table of the trigger.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2275">TRIGGERED_UPDATE_COLUMNS</td>
|
||
|
<td align="left" valign="top" headers="wq2276">TABCOLUMN</td>
|
||
|
<td align="left" valign="top" headers="wq2277">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2278">Name of a column specified in the UPDATE
|
||
|
column list of the trigger.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsystypes"></a>
|
||
|
<h3 id="catsystypes"><a href="rbafzmst02.htm#ToC_1540">SYSTYPES</a></h3><a id="idx3534" name="idx3534"></a><a id="idx3535" name="idx3535"></a>
|
||
|
<p>The SYSTYPES table contains one row for each built-in data type and each distinct type created
|
||
|
by the CREATE DISTINCT TYPE statement. The following table describes the columns
|
||
|
in the SYSTYPES table:</p>
|
||
|
<a name="systype"></a>
|
||
|
<table id="systype" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 137. SYSTYPES table</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2279" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2280" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2281" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2282" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">USER_DEFINED_TYPE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2280">TYPESCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">Schema name of the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">USER_DEFINED_TYPE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2280">TYPENAME</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">Name of the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">USER_DEFINED_TYPE_DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2280">DEFINER</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">Name of the user that created the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">SOURCE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2280">SRCSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">The schema for the source data type of this
|
||
|
data type.
|
||
|
<p>Contains the null value if this is a built-in data type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">SOURCE_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2280">SRCTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Name of the source data type of this data
|
||
|
type.
|
||
|
<p>Contains the null value if this is a built-in data type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">SYSTEM_TYPE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2280">SYSTSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2281">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">System schema name of the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">SYSTEM_TYPE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2280">SYSTNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2281">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">System name of the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">METATYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2280">METATYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2282">Indicates the type of data type.
|
||
|
<dl>
|
||
|
<dt class="bold">S</dt>
|
||
|
<dd>System predefined data type.
|
||
|
</dd>
|
||
|
<dt class="bold">T</dt>
|
||
|
<dd>User-defined distinct type.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2280">LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2281">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2282">The length attribute of the data type; or,
|
||
|
in the case of a decimal, numeric, or nonzero precision binary column, its
|
||
|
precision:
|
||
|
<dl>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>BIGINT
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>INTEGER
|
||
|
</dd>
|
||
|
<dt class="bold">2 bytes</dt>
|
||
|
<dd>SMALLINT
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>DECIMAL
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>NUMERIC
|
||
|
</dd>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>FLOAT, FLOAT(n) where n = 25 to 53, or DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>FLOAT(n) where n = 1 to 24, or REAL
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string</dt>
|
||
|
<dd>CHARACTER
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string</dt>
|
||
|
<dd>VARCHAR or CLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of graphic string</dt>
|
||
|
<dd>GRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of graphic string</dt>
|
||
|
<dd>VARGRAPHIC or DBCLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of binary string</dt>
|
||
|
<dd>BINARY
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of binary string</dt>
|
||
|
<dd>VARBINARY or BLOB
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>DATE
|
||
|
</dd>
|
||
|
<dt class="bold">3 bytes</dt>
|
||
|
<dd>TIME
|
||
|
</dd>
|
||
|
<dt class="bold">10 bytes</dt>
|
||
|
<dd>TIMESTAMP
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of datalink URL and comment</dt>
|
||
|
<dd>DATALINK
|
||
|
</dd>
|
||
|
<dt class="bold">40 bytes</dt>
|
||
|
<dd>ROWID
|
||
|
</dd>
|
||
|
<dt class="bold">Same value as the source type</dt>
|
||
|
<dd>DISTINCT
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">NUMERIC_SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2280">SCALE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">SMALLINT<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Scale of numeric data.
|
||
|
<p>Contains the null
|
||
|
value if the data type is not decimal, numeric, or binary.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2280">CCSID</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">The CCSID value for CHAR, VARCHAR, CLOB,
|
||
|
DATE, TIME, TIMESTAMP, GRAPHIC, VARGRAPHIC, DBCLOB and DATALINK data types.
|
||
|
<p>Contains the null value if the data type is numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">STORAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2280">STORAGE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2282">The storage requirements for the column:
|
||
|
<dl>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>BIGINT
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>INTEGER
|
||
|
</dd>
|
||
|
<dt class="bold">2 bytes</dt>
|
||
|
<dd>SMALLINT
|
||
|
</dd>
|
||
|
<dt class="bold">(Precision/2) + 1</dt>
|
||
|
<dd>DECIMAL
|
||
|
</dd>
|
||
|
<dt class="bold">Precision of number</dt>
|
||
|
<dd>NUMERIC
|
||
|
</dd>
|
||
|
<dt class="bold">8 bytes</dt>
|
||
|
<dd>FLOAT, FLOAT(n) where n = 25 to 53, or DOUBLE PRECISION
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>FLOAT(n) where n = 1 to 24, or REAL
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string</dt>
|
||
|
<dd>CHAR
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string + 2</dt>
|
||
|
<dd>VARCHAR
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string + 29</dt>
|
||
|
<dd>CLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of string * 2</dt>
|
||
|
<dd>GRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string * 2 + 2</dt>
|
||
|
<dd>VARGRAPHIC
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string * 2 + 29</dt>
|
||
|
<dd>DBCLOB
|
||
|
</dd>
|
||
|
<dt class="bold">Length of binary string</dt>
|
||
|
<dd>BINARY
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of binary string + 2</dt>
|
||
|
<dd>VARBINARY
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of string + 29</dt>
|
||
|
<dd>BLOB
|
||
|
</dd>
|
||
|
<dt class="bold">4 bytes</dt>
|
||
|
<dd>DATE
|
||
|
</dd>
|
||
|
<dt class="bold">3 bytes</dt>
|
||
|
<dd>TIME
|
||
|
</dd>
|
||
|
<dt class="bold">10 bytes</dt>
|
||
|
<dd>TIMESTAMP
|
||
|
</dd>
|
||
|
<dt class="bold">Maximum length of datalink URL and comment + 24</dt>
|
||
|
<dd>DATALINK
|
||
|
</dd>
|
||
|
<dt class="bold">42 bytes</dt>
|
||
|
<dd>ROWID
|
||
|
</dd>
|
||
|
<dt class="bold">Same value as the source type</dt>
|
||
|
<dd>DISTINCT
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="wq2283"></a>
|
||
|
<div class="notetitle" id="wq2283">Note:</div>
|
||
|
<div class="notebody">This column supplies the storage requirements for all
|
||
|
data types.</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">NUMERIC_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2280">PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">The precision of all numeric data types.
|
||
|
<p></p>
|
||
|
<a name="wq2284"></a>
|
||
|
<div class="notetitle" id="wq2284">Note:</div>
|
||
|
<div class="notebody">This column supplies the precision of all numeric data types, including
|
||
|
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
|
||
|
indicates if the value in this column is in binary or decimal digits.</div>
|
||
|
<p>Contains the null value if the data type is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">CHARACTER_MAXIMUM_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2280">CHARLEN</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Maximum length of the string for binary,
|
||
|
character, and graphic string data types.
|
||
|
<p>Contains the null value if the
|
||
|
data type is not a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">CHARACTER_OCTET_LENGTH</td>
|
||
|
<td align="left" valign="top" headers="wq2280">CHARBYTE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Number of bytes for binary, character, and
|
||
|
graphic string data types.
|
||
|
<p>Contains the null value if the data type is
|
||
|
not a string.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">
|
||
|
<div class="lines">ALLOCATE<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2280">ALLOCATE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Allocated length of the string for binary,
|
||
|
varying-length character, and varying-length graphic string data types.
|
||
|
<p>Contains the null value if the data type is numeric or fixed-length.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">NUMERIC_PRECISION_RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2280">RADIX</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Indicates if the precision specified in column
|
||
|
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
|
||
|
<dl>
|
||
|
<dt class="bold">2</dt>
|
||
|
<dd>Binary; floating-point precision is specified in binary digits.
|
||
|
</dd>
|
||
|
<dt class="bold">10</dt>
|
||
|
<dd>Decimal; all other numeric types are specified in decimal digits.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the data type is not numeric.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">DATETIME_PRECISION</td>
|
||
|
<td align="left" valign="top" headers="wq2280">DATPRC</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">INTEGER<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">The fractional part of a date, time, or timestamp.
|
||
|
<dl>
|
||
|
<dt class="bold">0</dt>
|
||
|
<dd>For DATE and TIME data types
|
||
|
</dd>
|
||
|
<dt class="bold">6</dt>
|
||
|
<dd>For TIMESTAMP data types (number of microseconds).
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the data type is not date, time, or timestamp.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">CREATE_TIME</td>
|
||
|
<td align="left" valign="top" headers="wq2280">CRTTIME</td>
|
||
|
<td align="left" valign="top" headers="wq2281">TIMESTAMP
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Identifies the timestamp when the data type
|
||
|
was created.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">LONG_COMMENT</td>
|
||
|
<td align="left" valign="top" headers="wq2280">REMARKS</td>
|
||
|
<td align="left" valign="top" headers="wq2281">
|
||
|
<div class="lines">VARCHAR(2000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">A character string supplied with the COMMENT
|
||
|
statement.
|
||
|
<p>Contains the null value if there is no long comment.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2280">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2281">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2282">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number of the data type.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">
|
||
|
<div class="lines">LAST_ ALTERED<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2280">ALTEREDTS</td>
|
||
|
<td align="left" valign="top" headers="wq2281">TIMESTAMP
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Reserved. Contains the null value.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2279">NORMALIZE_DATA</td>
|
||
|
<td align="left" valign="top" headers="wq2280">NORMALIZE</td>
|
||
|
<td align="left" valign="top" headers="wq2281">VARCHAR(3)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2282">Indicates whether the parameter value should
|
||
|
be normalized or not. This attribute only applies to UTF-8 and UTF–16
|
||
|
data.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>The value should not be normalized.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>The value should be normalized.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysviewdep"></a>
|
||
|
<h3 id="catsysviewdep"><a href="rbafzmst02.htm#ToC_1541">SYSVIEWDEP</a></h3><a id="idx3536" name="idx3536"></a><a id="idx3537" name="idx3537"></a>
|
||
|
<p>The SYSVIEWDEP view records the dependencies of views on tables, including
|
||
|
the views of the SQL catalog. The following table describes the columns in
|
||
|
the SYSVIEWDEP view:</p>
|
||
|
<a name="sysvwdp"></a>
|
||
|
<table id="sysvwdp" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 138. SYSVIEWDEP view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2285" width="32%" align="left" valign="bottom">Column name</th>
|
||
|
<th id="wq2286" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2287" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2288" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">VIEW_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2286">DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the view. This is the SQL view name
|
||
|
if it exists; otherwise, it is the system view name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">VIEW_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2286">DCREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Owner of the view</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">OBJECT_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2286">ONAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the object the view is dependent
|
||
|
on.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">OBJECT_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2286">OSCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the SQL schema that contains the
|
||
|
object the view is dependent on.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">OBJECT_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2286">OTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(24)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Type of object the view was based on:
|
||
|
<dl>
|
||
|
<dt class="bold">FUNCTION</dt>
|
||
|
<dd>Function
|
||
|
</dd>
|
||
|
<dt class="bold">MATERIALIZED QUERY TABLE</dt>
|
||
|
<dd>The object is a materialized query table.
|
||
|
</dd>
|
||
|
<dt class="bold">TABLE</dt>
|
||
|
<dd>Table
|
||
|
</dd>
|
||
|
<dt class="bold">TYPE</dt>
|
||
|
<dd>Distinct Type
|
||
|
</dd>
|
||
|
<dt class="bold">VIEW</dt>
|
||
|
<dd>View
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">VIEW_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2286">DDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the schema of the view.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">SYSTEM_VIEW_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2286">SYS_VNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">System View name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">SYSTEM_VIEW_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2286">SYS_VDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2288">System View schema</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">SYSTEM_TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2286">SYS_TNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(10)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">System Table name.
|
||
|
<p>Contains the null value
|
||
|
if the object is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">SYSTEM_TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2286">SYS_DNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(10)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">System Table schema.
|
||
|
<p>Contains the null
|
||
|
value if the object is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2286">BNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the table or view the view is dependent
|
||
|
on. This is the SQL view name if it exists; otherwise, it is the system view
|
||
|
name.
|
||
|
<p>Contains the null value if the object is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">TABLE_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2286">BCREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">Owner of the table or view the view is dependent
|
||
|
on.
|
||
|
<p>Contains the null value if the object is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2286">BDBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(128)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">Name of the SQL schema that contains the
|
||
|
table or view the view is dependent on.
|
||
|
<p>Contains the null value if the object
|
||
|
is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">TABLE_TYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2286">BTYPE</td>
|
||
|
<td align="left" valign="top" headers="wq2287">CHAR(1)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">Type of object the view was based on:
|
||
|
<dl>
|
||
|
<dt class="bold">T</dt>
|
||
|
<dd>Table
|
||
|
</dd>
|
||
|
<dt class="bold">P</dt>
|
||
|
<dd>Physical file
|
||
|
</dd>
|
||
|
<dt class="bold">M</dt>
|
||
|
<dd>Materialized query table
|
||
|
</dd>
|
||
|
<dt class="bold">V</dt>
|
||
|
<dd>View
|
||
|
</dd>
|
||
|
<dt class="bold">L</dt>
|
||
|
<dd>Logical file
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Contains the null value if the object is a function or distinct type.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2286">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2287">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2288">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2285">PARM_SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2286">SIGNATURE</td>
|
||
|
<td align="left" valign="top" headers="wq2287">VARCHAR(10000)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2288">This column identifies the routine signature.
|
||
|
<p>Contains the null value if the object is not a routine.</p></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<a name="catsysviews"></a>
|
||
|
<h3 id="catsysviews"><a href="rbafzmst02.htm#ToC_1542">SYSVIEWS</a></h3><a id="idx3538" name="idx3538"></a><a id="idx3539" name="idx3539"></a>
|
||
|
<p>The SYSVIEWS view contains one row for each view in the SQL schema, including
|
||
|
the views of the SQL catalog. The following table describes the columns in
|
||
|
the SYSVIEWS view:</p>
|
||
|
<a name="sysview"></a>
|
||
|
<table id="sysview" width="100%" summary="" border="0" frame="void" rules="rows">
|
||
|
<caption>Table 139. SYSVIEWS view</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2289" width="32%" align="left" valign="bottom">Column Name</th>
|
||
|
<th id="wq2290" width="13%" align="left" valign="bottom">System Column Name</th>
|
||
|
<th id="wq2291" width="18%" align="left" valign="bottom">Data Type</th>
|
||
|
<th id="wq2292" width="35%" align="left" valign="bottom">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">TABLE_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2290">NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2291">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Name of the view. This is the SQL view name
|
||
|
if it exists; otherwise, it is the system view name.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">VIEW_OWNER</td>
|
||
|
<td align="left" valign="top" headers="wq2290">CREATOR</td>
|
||
|
<td align="left" valign="top" headers="wq2291">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Owner of the view</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">SEQNO</td>
|
||
|
<td align="left" valign="top" headers="wq2290">SEQNO</td>
|
||
|
<td align="left" valign="top" headers="wq2291">INTEGER</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Sequence number of this row; will always
|
||
|
be 1.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">CHECK_OPTION</td>
|
||
|
<td align="left" valign="top" headers="wq2290">CHECK</td>
|
||
|
<td align="left" valign="top" headers="wq2291">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">The check option used on the view
|
||
|
<dl>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>No check option was specified
|
||
|
</dd>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The local option was specified
|
||
|
</dd>
|
||
|
<dt class="bold">C</dt>
|
||
|
<dd>The cascaded option was specified
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">VIEW_DEFINITION</td>
|
||
|
<td align="left" valign="top" headers="wq2290">TEXT</td>
|
||
|
<td align="left" valign="top" headers="wq2291">
|
||
|
<div class="lines">VARCHAR(10000)<br />
|
||
|
</div>
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2292">The query expression portion of the CREATE
|
||
|
VIEW statement.
|
||
|
<p>Contains the null value if the view definition cannot be
|
||
|
contained in the column without truncation.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">IS_UPDATABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2290">UPDATES</td>
|
||
|
<td align="left" valign="top" headers="wq2291">CHAR(1)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Specifies if the view is updatable:
|
||
|
<dl>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The view is updatable
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The view is not updatable
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">TABLE_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2290">DBNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2291">VARCHAR(128)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Name of the SQL schema that contains the
|
||
|
view.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">SYSTEM_VIEW_NAME</td>
|
||
|
<td align="left" valign="top" headers="wq2290">SYS_VNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2291">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">System View name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">SYSTEM_VIEW_SCHEMA</td>
|
||
|
<td align="left" valign="top" headers="wq2290">SYS_VDNAME</td>
|
||
|
<td align="left" valign="top" headers="wq2291">CHAR(10)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">System View schema name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">IS_INSERTABLE_INTO</td>
|
||
|
<td align="left" valign="top" headers="wq2290">INSERTABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2291">VARCHAR(3)</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Identifies whether an INSERT is allowed on
|
||
|
the view.
|
||
|
<dl>
|
||
|
<dt class="bold">NO</dt>
|
||
|
<dd>An INSERT is not allowed on this view.
|
||
|
</dd>
|
||
|
<dt class="bold">YES</dt>
|
||
|
<dd>An INSERT is allowed on this view.
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">IASP_NUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2290">IASPNUMBER</td>
|
||
|
<td align="left" valign="top" headers="wq2291">SMALLINT</td>
|
||
|
<td align="left" valign="top" headers="wq2292">Specifies the independent auxiliary storage
|
||
|
pool (IASP) number.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq2289">IS_DELETABLE</td>
|
||
|
<td align="left" valign="top" headers="wq2290">DELETES</td>
|
||
|
<td align="left" valign="top" headers="wq2291">CHAR(1)
|
||
|
<div class="lines">Nullable<br />
|
||
|
</div></td>
|
||
|
<td align="left" valign="top" headers="wq2292">Specifies if the view is deletable:
|
||
|
<dl>
|
||
|
<dt class="bold">Y</dt>
|
||
|
<dd>The view is deletable
|
||
|
</dd>
|
||
|
<dt class="bold">N</dt>
|
||
|
<dd>The view is read-only
|
||
|
</dd>
|
||
|
</dl></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2289">VIEW_DEFINER</td>
|
||
|
<td headers="wq2290">DEFINER</td>
|
||
|
<td headers="wq2291">VARCHAR(128)</td>
|
||
|
<td headers="wq2292">Name of the user that defined the view.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<hr /><div class="fnnum"><a id="recln" name="recln">110</a>.</div>
|
||
|
<div class="fntext">The length is the number of bytes passed in database buffers,
|
||
|
not the internal storage length.</div>
|
||
|
<br />
|
||
|
<hr /><br />
|
||
|
[ <a href="#Top_Of_Page">Top of Page</a> | <a href="rbafzmstcatalognotes.htm">Previous Page</a> | <a href="rbafzmstcatalogodbc.htm">Next Page</a> | <a href="rbafzmst02.htm#wq1">Contents</a> |
|
||
|
<a href="rbafzmstindex.htm#index">Index</a> ]
|
||
|
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|