ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajq_5.4.0.1/qaqqqryi.htm

376 lines
18 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="External table description (QAQQQRYI) - Summary Row for SQL Information" />
<meta name="DC.subject" content="summary rows, SQL information, summary row" />
<meta name="keywords" content="summary rows, SQL information, summary row" />
<meta name="DC.Relation" scheme="URI" content="rzajqmrdm.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="qaqqqryi" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>External table description (QAQQQRYI) - Summary Row for SQL Information</title>
</head>
<body id="qaqqqryi"><a name="qaqqqryi"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">External table description (QAQQQRYI) - Summary Row for SQL Information</h1>
<div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="hsides" border="1" rules="rows"><caption>Table 1. QAQQQRYI - Summary Row for SQL Information</caption><thead align="left"><tr><th align="left" valign="bottom" width="25%" id="d0e27">Column Name</th>
<th align="left" valign="bottom" width="75%" id="d0e29">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQKEY</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Join column (unique per query) used to link
rows for a single query together</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQTIME</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Time row was created</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQJOB</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Job name </td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQUSER</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Job user</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQJNUM</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Job number</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQTHID</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Thread Id</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQUDEF</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">User defined column</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQPLIB</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Name of the library containing the program
or package</td>
</tr>
<tr><td valign="top" width="25%" headers="d0e27 ">QQCNAM</td>
<td valign="top" width="75%" headers="d0e29 ">Cursor name</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQPNAM</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Name of the package or name of the program
that contains the current SQL statement</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQSNAM</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Name of the statement for SQL statement,
if applicable</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCNT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement usage count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQAVGT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Average runtime (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQMINT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Minimum runtime (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQMAXT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Maximum runtime (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQOPNT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Open time for most expensive execution (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQFETT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Fetch time for most expensive execution (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCLST</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Close time for most expensive execution (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQOTHT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Other time for most expensive execution (ms)</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQLTU</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Time statement last used</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQMETU</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Most expensive time used</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQAPRT</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Access plan rebuild time</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQFULO</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Number of full opens</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQPSUO</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Number of pseudo-opens</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQTOTR</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Total rows in table if non-join</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQRROW</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Number of result rows returned</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQRROW</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement function <p>S - Select<br />
U - Update<br />
I - Insert<br />
D - Delete<br />
L - Data definition language<br />
O - Other</p>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQSTOP</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement operation <ul><li>AD - Allocate descriptor</li>
<li>AL - Alter table</li>
<li>AP - Alter procedure</li>
<li>AQ - Alter sequence</li>
<li>CA - Call</li>
<li>CC - Create collection</li>
<li>CD - Create type</li>
<li>CF - Create function</li>
<li>CG - Create trigger</li>
<li>CI - Create index</li>
<li>CL - Close</li>
<li>CM - Commit</li>
<li>CN - Connect</li>
<li>CO - Comment on</li>
<li>CP - Create procedure</li>
<li>CQ - Create sequence</li>
<li>CS - Create alias/synonym</li>
<li>CT - Create table</li>
<li>CV - Create view</li>
<li>DA - Deallocate descriptor</li>
<li>DE - Describe</li>
<li>DI - Disconnect</li>
<li>DL - Delete</li>
</ul>
</td>
</tr>
<tr><td valign="top" width="25%" headers="d0e27 ">QQSTOP (continued)</td>
<td valign="top" width="75%" headers="d0e29 "><ul><li>DM - Describe parameter marker</li>
<li>DP - Declare procedure</li>
<li>DR - Drop</li>
<li>DT - Describe table</li>
<li>EI - Execute immediate</li>
<li>EX - Execute</li>
<li>FE - Fetch</li>
<li>FL - Free locator</li>
<li>GR - Grant</li>
<li>GS - Get descriptor</li>
<li>HC - Hard close</li>
<li>HL - Hold locator</li>
<li>IN - Insert</li>
<li>JR - Server job reused</li>
<li>LK - Lock</li>
<li>LO - Label on</li>
<li>MT - More text (Depreciated in V5R4)</li>
<li>OP - Open</li>
<li>PD - Prepare and describe</li>
<li>PR - Prepare</li>
<li>RB - Rollback to savepoint</li>
<li>RE - Release</li>
<li>RF - Refresh Table</li>
<li>RG - Resignal</li>
<li>RO - Rollback</li>
<li>RS - Release Savepoint</li>
<li>RT - Rename table</li>
<li>RV - Revoke</li>
<li>SA - Savepoint</li>
<li>SC - Set connection</li>
<li>SD - Set descriptor</li>
<li>SE - Set encryption password</li>
<li>SN - Set session user</li>
<li>SI - Select into</li>
<li>SO - Set current degree</li>
<li>SP - Set path</li>
<li>SR - Set result set</li>
<li>SS - Set current schema</li>
<li>ST - Set transaction</li>
<li>SV - Set variable</li>
<li>UP - Update</li>
<li>VI - Values into</li>
<li>X0 - Unknown statement</li>
</ul>
</td>
</tr>
<tr><td valign="top" width="25%" headers="d0e27 ">QQSTOP (continued)</td>
<td valign="top" width="75%" headers="d0e29 "><ul><li>X1 - Unknown statement</li>
<li>X2 - DRDA<sup>®</sup> (AS)
Unknown statement</li>
<li>X3 - Unknown statement</li>
<li>X9 - Internal error</li>
<li>XA - X/Open API</li>
<li>ZD - Host server only activity</li>
</ul>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQODPI</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">ODP implementation <p> R - Reusable ODP (ISV)<br />
N - Non-reusable ODP (V2)</p>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQHVI</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Host variable implementation <p>I - Interface supplied values (ISV)<br />
V - Host variables treated as constants (V2)<br />
U - Table management row positioning (UP)</p>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQAPR</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Access plan rebuilt <ul><li><strong>A1</strong> - A table or member is not the same object as the one referenced
when the access plan was last built. Some reasons they may be different are: <ul><li>Object was deleted and recreated.</li>
<li>Object was saved and restored.</li>
<li>Library list was changed.</li>
<li>Object was renamed.</li>
<li>Object was moved.</li>
<li>Object was overridden to a different object.</li>
<li>This is the first run of this query after the object containing the query
has been restored.</li>
</ul>
</li>
<li><strong>A2</strong> - Access plan was built to use a reusable Open Data Path (ODP)
and the optimizer chose to use a non-reusable ODP for this call.</li>
<li><strong>A3</strong> - Access plan was built to use a non-reusable Open Data Path
(ODP) and the optimizer chose to use a reusable ODP for this call.</li>
<li><strong>A4</strong> - The number of rows in the table has changed by more than 10%
since the access plan was last built.</li>
<li><strong>A5</strong> - A new index exists over one of the tables in the query.</li>
<li><strong>A6</strong> - An index that was used for this access plan no longer exists
or is no longer valid.</li>
<li><strong>A7</strong> - <span class="keyword">i5/OS™</span> Query
requires the access plan to be rebuilt because of system programming changes.</li>
<li><strong>A8</strong> - The CCSID of the current job is different than the CCSID of
the job that last created the access plan.</li>
<li><strong>A9</strong> - The value of one or more of the following is different for
the current job than it was for the job that last created this access plan: <ul><li>date format</li>
<li>date separator</li>
<li>time format</li>
<li>time separator</li>
</ul>
</li>
</ul>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQAPR (continued)</td>
<td align="left" valign="top" width="75%" headers="d0e29 "><ul><li><strong>AA</strong> - The sort sequence table specified is different than the sort
sequence table that was used when this access plan was created.</li>
<li><strong>AB</strong> - Storage pool changed or DEGREE parameter of <span class="cmdname">CHGQRYA</span> command
changed.</li>
<li><strong>AC</strong> - The system feature DB2<sup>®</sup> multisystem has been installed or removed.</li>
<li><strong>AD</strong> - The value of the degree query attribute has changed.</li>
<li><strong>AE</strong> - A view is either being opened by a high level language or
a view is being materialized.</li>
<li><strong>AF</strong> - A sequence object or user-defined type or function is not
the same object as the one referred to in the access plan; or, the SQL path
used to generate the access plan is different than the current SQL path.</li>
<li><strong>B0</strong> - The options specified have changed as a result of the query
options file QAQQINI.</li>
<li><strong>B1</strong> - The access plan was generated with a commitment control level
that is different in the current job.</li>
<li><strong>B2</strong> - The access plan was generated with a static cursor answer
set size that is different than the previous access plan.</li>
<li><strong>B3</strong> - The query was reoptimized because this is the first run of
the query after a prepare. That is, it is the first run with real actual parameter
marker values.</li>
<li><strong>B4</strong> - The query was reoptimized because referential or check constraints
have changed.</li>
<li> <strong>B5</strong> - The query was reoptimized because Materialized Query Tables
have changed. </li>
</ul>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQDACV</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Data conversion <ul><li>N - No.</li>
<li>0 - Not applicable.</li>
<li>1 - Lengths do not match. </li>
<li>2 - Numeric types do not match.</li>
<li>3 - C host variable is NUL-terminated.</li>
<li>4 - Host variable or column is variable length and the other is not variable
length.</li>
<li>5 - Host variable or column is not variable length and the other is variable
length.</li>
<li>6 - Host variable or column is variable length and the other is not variable
length.</li>
<li>7 - CCSID conversion.</li>
<li>8 - DRDA and
NULL capable, variable length, contained in a partial row, derived expression,
or blocked fetch with not enough host variables.</li>
<li>9 - Target table of an insert is not an SQL table.</li>
<li>10 - Host variable is too short to hold a TIME or TIMESTAMP value being
retrieved. </li>
<li>11 - Host variable is DATE, TIME, or TIMESTAMP and value being retrieved
is a character string.</li>
<li>12 - Too many host variables specified and records are blocked.</li>
<li>13 - DRDA used
for a blocked FETCH and the number of host variables specified in the INTO
clause is less than the number of result values in the select list.</li>
<li>14 - LOB locator used and the commitment control level was not *ALL.</li>
</ul>
</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCTS</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement table scan usage count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCIU</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement index usage count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCIC</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement index creation count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCSO</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement sort usage count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCTF</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement temporary table count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCIA</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement index advised count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQCAPR</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Statement access plan rebuild count</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQARSS</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Average result set size</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC11</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC12</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC21</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC22</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQI1</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQI2</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC301</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC302</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
<tr><td align="left" valign="top" width="25%" headers="d0e27 ">QQC1000</td>
<td align="left" valign="top" width="75%" headers="d0e29 ">Reserved</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqmrdm.htm" title="The following DDS statements are used to create the memory resident database monitor physical and logical files.">Memory Resident Database Monitor: DDS</a></div>
</div>
</div>
</body>
</html>