1028 lines
54 KiB
HTML
1028 lines
54 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Database monitor view 1000 - SQL Information" />
|
|
<meta name="DC.subject" content="database monitor, SQL table, SQL view, SQL table, database monitor view, summary row, SQL information" />
|
|
<meta name="keywords" content="database monitor, SQL table, SQL view, SQL table, database monitor view, summary row, SQL information" />
|
|
<meta name="DC.Relation" scheme="URI" content="lofdds.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="t1000" />
|
|
<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>Database monitor view 1000 - SQL Information</title>
|
|
</head>
|
|
<body id="t1000"><a name="t1000"><!-- --></a>
|
|
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Database monitor view 1000 - SQL Information</h1>
|
|
<div><div class="example"> <pre><strong>Create View</strong> QQQ1000 as
|
|
(<strong>SELECT</strong> QQRID as Row_ID,
|
|
QQTIME as Time_Created,
|
|
QQJFLD as Join_Column,
|
|
QQRDBN as Relational_Database_Name,
|
|
QQSYS as System_Name,
|
|
QQJOB as Job_Name,
|
|
QQUSER as Job_User,
|
|
QQJNUM as Job_Number,
|
|
QQI9 as Thread_ID,
|
|
QQUCNT as Unique_Count,
|
|
QQI5 as Unique_Refresh_Counter,
|
|
QQUDEF as User_Defined,
|
|
QQSTN as Statement_Number,
|
|
QQC11 as Statement_Function,
|
|
QQC21 as Statement_Operation,
|
|
QQC12 as Statement_Type,
|
|
QQC13 as Parse_Required,
|
|
QQC103 as Package_Name,
|
|
QQC104 as Package_Library,
|
|
QQC181 as Cursor_Name,
|
|
QQC182 as Statement_Name,
|
|
QQSTIM as Start_Timestamp,
|
|
QQ1000 as Statement_Text,
|
|
QQC14 as Statement_Outcome,
|
|
QQI2 as Result_Rows,
|
|
QQC22 as Dynamic_Replan_Reason_Code,
|
|
QQC16 as Data_Conversion_Reason_Code,
|
|
QQI4 as Total_Time_Milliseconds,
|
|
QQI3 as Rows_Fetched,
|
|
QQETIM as End_Timestamp,
|
|
QQI6 as Total_Time_Microseconds,
|
|
QQI7 as SQL_Statement_Length,
|
|
QQI1 as Insert_Unique_Count,
|
|
QQI8 as SQLCode,
|
|
QQC81 as SQLState,
|
|
QVC101 as Close_Cursor_Mode,
|
|
QVC11 as Allow_Copy_Data_Value,
|
|
QVC12 as PseudoOpen,
|
|
QVC13 as PseudoClose,
|
|
QVC14 as ODP_Implementation,
|
|
QVC21 as Dynamic_Replan_SubCode,
|
|
QVC41 as Commitment_Control_Level,
|
|
QVC15 as Blocking_Type,
|
|
QVC16 as Delay_Prepare,
|
|
QVC1C as Explainable,
|
|
QVC17 as Naming_Convention,
|
|
QVC18 as Dynamic_Processing_Type,
|
|
QVC19 as LOB_Data_Optimized,
|
|
QVC1A as Program_User_Profile_Used,
|
|
QVC1B as Dynamic_User_Profile_Used,
|
|
QVC1281 as Default_Collection,
|
|
QVC1282 as Procedure_Name,
|
|
QVC1283 as Procedure_Library,
|
|
QVC1000 as SQL_Path,
|
|
QWC1000 as SQL_Path_2,
|
|
QVC5001 as SQL_Path_3,
|
|
QVC5002 as SQL_Path_4,
|
|
QVC3001 as SQL_Path_5,
|
|
QVC3002 as SQL_Path_6,
|
|
QVC3003 as SQL_Path_7,
|
|
QVC1284 as Current_Schema,
|
|
QQC18 as Binding_Type,
|
|
QQC61 as Cursor_Type,
|
|
QVC1D as Statement_Originator,
|
|
QQC15 as Hard_Close_Reason_Code,
|
|
QQC23 as Hard_Close_Subcode,
|
|
QVC42 as Date_Format,
|
|
QWC11 as Date_Separator,
|
|
QVC43 as Time_Format,
|
|
QWC12 as Time_Separator,
|
|
QWC13 as Decimal_Point,
|
|
QVC104 as Sort_Sequence_Table,
|
|
QVC105 as Sort_Sequence_Library,
|
|
QVC44 as Language_ID,
|
|
QVC23 as Country_ID,
|
|
QQIA as First_N_Rows_Value,
|
|
QQF1 as Optimize_For_N_Rows_Value,
|
|
QVC22 as SQL_Access_Plan_Reason_Code,
|
|
QVC24 as Access_Plan_Not_Saved_Reason_Code,
|
|
QVC81 as Transaction_Context_ID,
|
|
QVP152 as Activation_Group_Mark,
|
|
QVP153 as Open_Cursor_Threshold,
|
|
QVP154 as Open_Cursor_Close_Count,
|
|
QVP155 as Commitment_Control_Lock_Limit,
|
|
QWC15 as Allow_SQL_Mixed_Constants,
|
|
QWC16 as Suppress_SQL_Warnings,
|
|
QWC17 as Translate_ASCII,
|
|
QWC18 as System_Wide_Statement_Cache,
|
|
QVP159 as LOB_Locator_Threshold,
|
|
QVP156 as Max_Decimal_Precision,
|
|
QVP157 as Max_Decimal_Scale,
|
|
QVP158 as Min_Decimal_Divide_Scale ,
|
|
QWC19 as Unicode_Normalization,
|
|
QQ1000L as Statement_Text_Long,
|
|
QVP15B as Old_Access_Plan_Length,
|
|
QVP15C as New_Access_Plan_Length,
|
|
QVP151 as Fast_Delete_Count,
|
|
QQF2 as Statement_Max_Compression,
|
|
QVC102 as Current_User_Profile,
|
|
QVC1E as Expression_Evaluator_Used,
|
|
QVP15A as Host_Server_Delta,
|
|
QQC301 as NTS_Lock_Space_Id,
|
|
QQC183 as IP_Address,
|
|
QQSMINT2 as IP_Port_Number,
|
|
QVC3004 as NTS_Transaction_Id,
|
|
QQSMINT3 as NTS_Format_Id_Length,
|
|
QQSMINT4 as NTS_Transatction_ID_SubLength,
|
|
QVRCNT as Unique_Refresh_Counter2,
|
|
QVP15F as Times_Run,
|
|
QVP15E as Full_Opens
|
|
<strong>FROM</strong> DbMonLib/DbMonTable
|
|
<strong>WHERE</strong> QQRID=1000) </pre>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="hsides" border="1" rules="rows"><caption>Table 1. QQQ1000 - SQL Information</caption><thead align="left"><tr><th align="left" valign="bottom" width="34.12698412698413%" id="d0e55">View Column Name</th>
|
|
<th align="left" valign="bottom" width="10.515873015873016%" id="d0e57">Table Column Name</th>
|
|
<th align="left" valign="bottom" width="55.35714285714286%" id="d0e59">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Row_ID</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQRID</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Row identification</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Time_Created</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQTIME</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Time row was created</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Join_Column</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQJFLD</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Join column (unique per job)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Relational_Database_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQRDBN</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Relational database name</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">System_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQSYS</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">System name</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Job_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQJOB</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Job name</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Job_User</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQUSER</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Job user</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Job_Number</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQJNUM</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Job number</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Thread_ID</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI9</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Thread identifier</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Unique_Count</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQUCNT</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Unique count (unique per query)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Unique_Refresh_Counter</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI5</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Unique refresh counter</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">User_Defined</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQUDEF</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">User defined column</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Number</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQSTN</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Statement number (unique per statement)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Function</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC11</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Statement function: <ul><li>S - Select</li>
|
|
<li>U - Update</li>
|
|
<li>I - Insert</li>
|
|
<li>D - Delete</li>
|
|
<li>L - Data definition language</li>
|
|
<li>O - Other</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Operation</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC21</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">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>
|
|
<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>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Operation (continued)</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC21</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 "><ul><li>IN - Insert</li>
|
|
<li>JR - Server job reused</li>
|
|
<li>LK - Lock</li>
|
|
<li>LO - Label on</li>
|
|
<li>MT - More text (Deprecated 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>
|
|
<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="34.12698412698413%" headers="d0e55 ">Statement_Type</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC12</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Statement type: <ul><li>D - Dynamic statement</li>
|
|
<li>S - Static statement</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Parse_Required</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC13</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Parse required (Y/N)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Package_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC103</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Name of the package or name of the program
|
|
that contains the current SQL statement</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Package_Library</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC104</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Name of the library containing the package</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Cursor_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC181</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Name of the cursor corresponding to this
|
|
SQL statement, if applicable</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC182</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Name of statement for SQL statement, if applicable</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Start_Timestamp</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQSTIM</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Time this statement entered</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Text</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQ1000</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">First 1000 bytes of statement text</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Outcome</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC14</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Statement outcome <ul><li>S - Successful</li>
|
|
<li>U - Unsuccessful</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Result_Rows</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI2</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Number of result rows returned</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Dynamic_Replan_Reason_Code</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC22</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Dynamic replan (access plan rebuilt) <ul><li>NA - No replan.</li>
|
|
<li>NR - SQL QDT rebuilt for new release.</li>
|
|
<li>A1 - A table or member is not the same object as the one referenced when
|
|
the access plan was last built. Some reasons why they might 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>A2 - 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>A3 - 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>A4 - The number of rows in the table member has changed by more than 10%
|
|
since the access plan was last built.</li>
|
|
<li>A5 - A new index exists over one of the tables in the query.</li>
|
|
<li>A6 - An index that was used for this access plan no longer exists or is
|
|
no longer valid.</li>
|
|
<li>A7 - <span class="keyword">i5/OS™</span> Query requires
|
|
the access plan to be rebuilt because of system programming changes.</li>
|
|
<li>A8 - The CCSID of the current job is different than the CCSID of the job
|
|
that last created the access plan.</li>
|
|
<li>A9 - 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 valign="top" width="34.12698412698413%" headers="d0e55 ">Dynamic_Replan_Reason_Code (continued)</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC22</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 "><ul><li>AA - The sort sequence table specified is different than the sort sequence
|
|
table that was used when this access plan was created.</li>
|
|
<li>AB - Storage pool changed or DEGREE parameter of CHGQRYA command changed.</li>
|
|
<li>AC - The system feature DB2<sup>®</sup> Multisystem has been installed or removed.</li>
|
|
<li>AD - The value of the degree query attribute has changed.</li>
|
|
<li>AE - A view is either being opened by a high level language or a view
|
|
is being materialized.</li>
|
|
<li>AF - A user-defined type or user-defined function is not the same object
|
|
as the one referred to in the access plan, or, the SQL Path is not the same
|
|
as when the access plan was built.</li>
|
|
<li>B0 - The options specified have changed as a result of the query options
|
|
file.</li>
|
|
<li>B1 - The access plan was generated with a commitment control level that
|
|
is different in the current job.</li>
|
|
<li>B2 - The access plan was generated with a static cursor answer set size
|
|
that is different than the previous access plan.</li>
|
|
<li>B3 - 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>B4 - The query was reoptimized because referential or check constraints
|
|
have changed. </li>
|
|
<li>B5 - The query was reoptimized because Materialized query tables have
|
|
changed.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Data_Conversion_Reason_Code</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC16</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">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>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Data_Conversion_Reason_Code (continued)</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 "> </td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 "><ul><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="34.12698412698413%" headers="d0e55 ">Total_Time_Milliseconds</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI4</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Total time for this statement, in milliseconds.
|
|
For fetches, this includes all fetches for this OPEN of the cursor.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Rows_Fetched</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI3</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Total rows fetched for cursor</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">End_Timestamp</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQETIM</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Time SQL request completed</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Total_Time_Microseconds</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI6</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Total time for this statement, in microseconds.
|
|
For fetches, this includes all fetches for this OPEN of the cursor.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Statement_Length</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQI7</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Length of SQL Statement</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Insert_Unique_Count</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQI1</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Unique query count for the QDT associated with the INSERT. QQUCNT contains
|
|
the unique query count for the QDT associated with the WHERE part of the statement.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">SQLCode</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQI8</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">SQL return code</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">SQLState</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QQC81</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">SQLSTATE</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Close_Cursor_Mode</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC101</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Close Cursor. Possible values are: <ul><li>*ENDJOB - SQL cursors are closed when the job ends.</li>
|
|
<li>*ENDMOD - SQL cursors are closed when the module ends</li>
|
|
<li>*ENDPGM - SQL cursors are closed when the program ends.</li>
|
|
<li>*ENDSQL - SQL cursors are closed when the first SQL program on the call
|
|
stack ends.</li>
|
|
<li>*ENDACTGRP - SQL cursors are closed when the activation group ends.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Allow_Copy_Data_Value</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC11</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">ALWCPYDTA setting (Y/N/O) <ul><li>Y - A copy of the data may be used.</li>
|
|
<li>N - Cannot use a copy of the data.</li>
|
|
<li>O - The optimizer can choose to use a copy of the data for performance.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">PseudoOpen</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC12</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Pseudo Open (Y/N) for SQL operations that
|
|
can trigger opens. <ul><li>OP - Open</li>
|
|
<li>IN - Insert</li>
|
|
<li>UP - Update</li>
|
|
<li>DL - Delete</li>
|
|
<li>SI - Select Into</li>
|
|
<li>SV - Set</li>
|
|
<li>VI - Values into</li>
|
|
</ul>
|
|
For all operations it can be blank.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">PseudoClose</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC13</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Pseudo Close (Y/N) for SQL operations that
|
|
can trigger a close. <ul><li>CL - Close</li>
|
|
<li>IN - Insert</li>
|
|
<li>UP - Update</li>
|
|
<li>DL - Delete</li>
|
|
<li>SI - Select Into</li>
|
|
<li>SV - Set</li>
|
|
<li>VI - Values into</li>
|
|
</ul>
|
|
For all operations it can be blank.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">ODP_Implementation</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC14</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">ODP implementation <ul><li>R - Reusable ODP </li>
|
|
<li>N - Nonreusable ODP </li>
|
|
<li>' ' - Column not used</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Dynamic_Replan_SubCode</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC21</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Dynamic replan, subtype reason code</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Commitment_Control_Level</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC41</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Commitment control level. Possible values
|
|
are: <ul><li>CS - Cursor stability</li>
|
|
<li>CSKL - Cursor stability. Keep exclusive locks.</li>
|
|
<li>NC - No commit</li>
|
|
<li>RR - Repeatable read</li>
|
|
<li>RREL - Repeatable read. Keep exclusive locks.</li>
|
|
<li>RS - Read stability</li>
|
|
<li>RSEL - Read stability. Keep exclusive locks.</li>
|
|
<li>UR - Uncommitted read</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Blocking_Type</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC15</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Type of blocking . Possible value are: <ul><li>S - Single row, ALWBLK(*READ)</li>
|
|
<li>F - Force one row, ALWBLK(*NONE)</li>
|
|
<li>L - Limited block, ALWBLK(*ALLREAD)</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Delay_Prepare</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC16</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Delay prepare (Y/N)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Explainable</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1C</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">The SQL statement is explainable (Y/N).</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Naming_Convention</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC17</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Naming convention. Possibles values: <ul><li>N - System naming convention</li>
|
|
<li>S - SQL naming convention</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Dynamic_Processing_Type</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC18</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Type of dynamic processing. <ul><li>E - Extended dynamic</li>
|
|
<li>S - System wide cache</li>
|
|
<li>L - Local prepared statement</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">LOB_Data_Optimized</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC19</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Optimize LOB data types (Y/N)</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Program_User_Profile_Used</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1A</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">User profile used when compiled programs
|
|
are executed. Possible values are: <ul><li>N = User Profile is determined by naming conventions. For *SQL, USRPRF(*OWNER)
|
|
is used. For *SYS, USRPRF(*USER) is used.</li>
|
|
<li>U = USRPRF(*USER) is used.</li>
|
|
<li>O = USRPRF(*OWNER) is used.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Dynamic_User_Profile_Used</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1B</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">User profile used for dynamic SQL statements. <ul><li>U = USRPRF(*USER) is used.</li>
|
|
<li>O = USRPRF(*OWNER) is used.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Default_Collection</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1281</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Name of the default collection.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Procedure_Name</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1282</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Procedure name on CALL to SQL.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Procedure_Library</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1283</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Procedure library on CALL to SQL.</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1000</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Path used to find procedures, functions,
|
|
and user defined types for static SQL statements.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_2</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC1000</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
1001-2000 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_3</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC5001</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
2001-2500 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_4</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC5002</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
2501-3000 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_5</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC3001</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
3001-3300 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_6</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC3002</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
3301-3600 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Path_7</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC3003</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Continuation of SQL path, if needed. Contains bytes
|
|
3601-3900 of the SQL path.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Current_Schema</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1284</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL Current Schema</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Binding_Type</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC18</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Binding type: <ul><li>C - Column-wise binding</li>
|
|
<li>R - Row-wise binding</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Cursor_Type</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC61</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Cursor Type: <ul><li>NSA - Non-scrollable, asensitive, forward only</li>
|
|
<li>NSI - Non-scrollable, sensitive, forward only</li>
|
|
<li>NSS - Non-scrollable, insensitive, forward only</li>
|
|
<li>SCA - scrollable, asensitive</li>
|
|
<li>SCI - scrollable, sensitive</li>
|
|
<li>SCS - scrollable, insensitive</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Originator</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1D</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL statement originator: <ul><li>U - User</li>
|
|
<li>S - System</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Hard_Close_Reason_Code</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC15</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL cursor hardclose reason. Possible reasons are: <ul><li>1 - Internal Error</li>
|
|
<li>2 - Exclusive Lock</li>
|
|
<li>3 - Interactive SQL Reuse Restriction</li>
|
|
<li>4 - Host variable Reuse Restriction</li>
|
|
<li>5 - Temporary Result Restriction</li>
|
|
<li>6 - Cursor Restriction</li>
|
|
<li>7 - Cursor Hard Close Requested</li>
|
|
<li>8 - Internal Error</li>
|
|
<li>9 - Cursor Threshold</li>
|
|
<li>A - Refresh Error</li>
|
|
<li>B - Reuse Cursor Error</li>
|
|
<li>C - DRDA AS
|
|
Cursor Closed</li>
|
|
<li>D - DRDA AR
|
|
Not WITH HOLD</li>
|
|
<li>E - Repeatable Read</li>
|
|
<li>F - Lock Conflict Or QSQPRCED Threshold - Library</li>
|
|
<li>G - Lock Conflict Or QSQPRCED Threshold - File</li>
|
|
<li>H - Execute Immediate Access Plan Space</li>
|
|
<li>I - QSQCSRTH Dummy Cursor Threshold</li>
|
|
<li>J - File Override Change</li>
|
|
<li>K - Program Invocation Change</li>
|
|
<li>L - File Open Options Change</li>
|
|
<li>M - Statement Reuse Restriction</li>
|
|
<li>N - Internal Error</li>
|
|
<li>O - Library List Changed</li>
|
|
<li>P - Exit Processing</li>
|
|
<li>Q - SET SESSION USER statement</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Hard_Close_Subcode</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC23</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL cursor hardclose reason subcode</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Date_Format</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC42</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Date Format. Possible values are: <ul><li>ISO</li>
|
|
<li>USA</li>
|
|
<li>EUR</li>
|
|
<li>JIS</li>
|
|
<li>JUL</li>
|
|
<li>MDY</li>
|
|
<li>DMY</li>
|
|
<li>YMD</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Date_Separator</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QWC11</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Date Separator. Possible values are: <ul><li>"/"</li>
|
|
<li>"."</li>
|
|
<li>","</li>
|
|
<li>"-"</li>
|
|
<li>" "</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Time_Format</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC43</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Time Format. Possible values are: <ul><li>ISO</li>
|
|
<li>USA</li>
|
|
<li>EUR</li>
|
|
<li>JIS</li>
|
|
<li>HMS</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Time_Separator</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QWC12</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Time Separator. Possible values are: <ul><li>":"</li>
|
|
<li>"."</li>
|
|
<li>","</li>
|
|
<li>" "</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Decimal_Point</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QWC13</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Decimal Point. Possible values are: <ul><li>"."</li>
|
|
<li>","</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Sort_Sequence_Table</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC104</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Sort Sequence Table</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Sort_Sequence_Library</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC105</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Sort Sequence Library</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Language_ID</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC44</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Language ID</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="34.12698412698413%" headers="d0e55 ">Country_ID</td>
|
|
<td align="left" valign="top" width="10.515873015873016%" headers="d0e57 ">QVC23</td>
|
|
<td align="left" valign="top" width="55.35714285714286%" headers="d0e59 ">Country ID</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">First_N_Rows_Value</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQIA</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Value specified on the FIRST n ROWS clause.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Optimize_For_N_Rows _Value</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQF1</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Value specified on the OPTIMIZE FOR n ROWS clause.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Access_Plan_Reason_Code</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC22</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL access plan rebuild reason code. Possible reasons
|
|
are: <ul><li>A1 - A table or member is not the same object as the one referenced when
|
|
the access plan was last built. Some reasons they might 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>A2 - 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>A3 - 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>A4 - The number of rows in the table has changed by more than 10% since
|
|
the access plan was last built.</li>
|
|
<li>A5 - A new index exists over one of the tables in the query</li>
|
|
<li>A6 - An index that was used for this access plan no longer exists or is
|
|
no longer valid.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">SQL_Access_Plan_Reason_Code (continued)</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 "> </td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 "><ul><li>A7 - <span class="keyword">i5/OS</span> Query requires
|
|
the access plan to be rebuilt because of system programming changes.</li>
|
|
<li>A8 - The CCSID of the current job is different than the CCSID of the job
|
|
that last created the access plan.</li>
|
|
<li>A9 - 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>
|
|
<li>AA - The sort sequence table specified is different than the sort sequence
|
|
table that was used when this access plan was created.</li>
|
|
<li>AB - Storage pool changed or DEGREE parameter of CHGQRYA command changed.</li>
|
|
<li>AC - The system feature DB2 Multisystem has been installed or removed.</li>
|
|
<li>AD - The value of the degree query attribute has changed.</li>
|
|
<li>AE - A view is either being opened by a high level language or a view
|
|
is being materialized.</li>
|
|
<li>AF - A user-defined type or user-defined function is not the same object
|
|
as the one referred to in the access plan, or, the SQL Path is not the same
|
|
as when the access plan was built.</li>
|
|
<li>B0 - The options specified have changed as a result of the query options
|
|
file.</li>
|
|
<li>B1 - The access plan was generated with a commitment control level that
|
|
is different in the current job.</li>
|
|
<li>B2 - The access plan was generated with a static cursor answer set size
|
|
that is different than the previous access plan.</li>
|
|
<li>B3 - 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>B4 - The query was reoptimized because referential or check constraints
|
|
have changed. </li>
|
|
<li>B5 - The query was reoptimized because Materialized query tables have
|
|
changed. </li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Access_Plan_Not_Saved_Reason_Code</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC24</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Access plan not saved reason code. Possible reasons
|
|
are: <ul><li>A1 - Failed to get a LSUP lock on associated space of program or package.</li>
|
|
<li>A2 - Failed to get an immediate LEAR space location lock on first byte
|
|
of associated space of program.</li>
|
|
<li>A3 - Failed to get an immediate LENR space location lock on first byte
|
|
of associated space of program.</li>
|
|
<li>A5 - Failed to get an immediate LEAR space location lock on first byte
|
|
of ILE associated space of a program.</li>
|
|
<li>A6 - Error trying to extend space of an ILE program.</li>
|
|
<li>A7 - No room in program.</li>
|
|
<li>A8 - No room in program associated space.</li>
|
|
<li>A9 - No room in program associated space.</li>
|
|
<li>AA - No need to save. Save already done in another job.</li>
|
|
<li>AB - Query optimizer cannot lock the QDT.</li>
|
|
<li>B1 - Saved at the end of the program associated space.</li>
|
|
<li>B2 - Saved at the end of the program associated space.</li>
|
|
<li>B3 - Saved in place.</li>
|
|
<li>B4 - Saved in place.</li>
|
|
<li>B5 - Saved at the end of the program associated space.</li>
|
|
<li>B6 - Saved in place.</li>
|
|
<li>B7 - Saved at the end of the program associated space.</li>
|
|
<li>B8 - Saved at the end of the program associated space.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Transaction_Context_ID</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC81</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Transaction context ID.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Activation_Group_Mark</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP152</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Activation Group Mark</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Open_Cursor_Threshold</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP153</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Open cursor threshold</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Open_Cursor_Close_Count</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP154</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Open cursor close count</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Commitment_Control_Lock_Limit</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP155</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Commitment control lock limit</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Allow_SQL_Mixed_Constants</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC15</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Using SQL mixed constants (Y/N)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Suppress_SQL_Warnings</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC16</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Suppress SQL warning messages (Y/N)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Translate_ASCII</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC17</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Translate ASCII to job (Y/N)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">System_Wide_Statement_Cache</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC18</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Using system-wide SQL statement cache (Y/N)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">LOB_Locator_Threshold</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP159</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">LOB locator threshold</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Max_Decimal_Precision</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP156</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Maximum decimal precision (63/31)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Max_Decimal_Scale</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP157</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Maximum decimal scale</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Min_Decimal_Divide_Scale</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP158</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Minimum decimal divide scale</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Unicode_Normalization</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QWC19</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Unicode data normalization requested (Y/N)</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Text_Long</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQ1000L</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Complete statement text</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Old_Access_Plan_Length</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP15B</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Length of old access plan</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">New_Access_Plan_Length</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP15C</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Length of new access plan</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Fast_Delete_Count</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP151</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL fast count delete count. Possible values are:<ul><li>0 = *OPTIMIZE or *DEFAULT</li>
|
|
<li>1-999,999,999,999 = User specified value</li>
|
|
<li>'FFFFFFFFFFFFFFFF'x = *NONE</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Statement_Max_Compression</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQF2</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">SQL statement maximum compression. Possible values are:<ul><li>1 - *DEFAULT</li>
|
|
<li>1 - User specified queries</li>
|
|
<li>2 - All queries, user and system</li>
|
|
<li>3 - System generated internal queries</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Current_User_Profile</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC102</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Current user profile name</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Expression_Evaluator_Used</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC1E</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Expression Evaluator Used (Y/N) </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Host_Server_Delta</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP15A</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Time not spent within Host Server</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">NTS_Lock_Space_Id</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC301</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">NTS Lock Space Identifier </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">IP_Address</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQC183</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">IP Address</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">IP_Port_Number</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQSMINT2</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">IP Port Number </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">NTS_Transaction_Id</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVC3004</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">NTS Transaction Identifier </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">NTS_Format_Id_Length</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQSMINT3</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">NTS Format Identified length </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">NTS_Transaction_ID_SubLength </td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QQSMINT4</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">NTS Transaction Identifier sub-length </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Unique_Refresh_Counter2</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVRCNT</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Unique refresh counter </td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Times_Run</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP15F</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Number of times this Statement was run. If Null, then
|
|
the statement was run once.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="34.12698412698413%" headers="d0e55 ">Full_Opens</td>
|
|
<td valign="top" width="10.515873015873016%" headers="d0e57 ">QVP15E</td>
|
|
<td valign="top" width="55.35714285714286%" headers="d0e59 ">Number of runs that were processed as full opens. If
|
|
Null, then the refresh count (qvrcnt) should be used to determine if the open
|
|
was a full open (0) or a pseudo open (>0)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="lofdds.htm" title="The following examples show the different optional SQL view format that you can create with the SQL shown. The column descriptions are explained in the tables following each example. These views are not shipped with the server, and you must create them, if you choose to do so. These views are optional and are not required for analyzing monitor data.">Optional database monitor SQL view format</a></div>
|
|
</div>
|
|
</div>
|
|
<img src="./deltaend.gif" alt="End of change" /></body>
|
|
</html> |