195 lines
11 KiB
HTML
195 lines
11 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="Parameter fields for exit point QIBM_QZDA_SQL1 format ZDAQ0100" />
|
|
<meta name="abstract" content="The following table shows parameter fields and their descriptions for the exit program called at exit point QIBM_QZDA_SQL1 using the ZDAQ0100 format." />
|
|
<meta name="description" content="The following table shows parameter fields and their descriptions for the exit program called at exit point QIBM_QZDA_SQL1 using the ZDAQ0100 format." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikexitpgmparmformat.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="exitpointtable5" />
|
|
<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>Parameter fields for exit point QIBM_QZDA_SQL1 format ZDAQ0100</title>
|
|
</head>
|
|
<body id="exitpointtable5"><a name="exitpointtable5"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Parameter fields for exit point QIBM_QZDA_SQL1 format ZDAQ0100</h1>
|
|
<div><p>The following table shows parameter fields and their descriptions
|
|
for the exit program called at exit point QIBM_QZDA_SQL1 using the ZDAQ0100
|
|
format.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Exit point QIBM_QZDA_SQL1 format ZDAQ0100</caption><thead align="left"><tr><th colspan="2" align="center" valign="bottom" id="d0e23">Offset</th>
|
|
<th rowspan="2" align="left" valign="bottom" width="20%" id="d0e25">Type</th>
|
|
<th rowspan="2" align="left" valign="bottom" width="20%" id="d0e27">Field</th>
|
|
<th rowspan="2" align="left" valign="bottom" width="40%" id="d0e29">Description</th>
|
|
</tr>
|
|
<tr><th align="center" valign="bottom" width="10%" id="d0e32">Dec</th>
|
|
<th align="center" valign="bottom" width="10%" id="d0e34">Hex</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">0</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">0</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(10)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">User profile name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">The name of the user profile that is calling
|
|
the server.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">10</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">A</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(10)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Server identifier</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">For this exit point the value is *SQLSRV.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">20</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">14</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(8)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Format name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">The user exit format name being used. For
|
|
QIBM_QZDA_SQL1 the format name is ZDAQ0100.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">28</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">1C</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 "><p>Requested<br />
|
|
function</p>
|
|
</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">The function being performed. <div class="p">This field
|
|
contains one of the following: <ul><li><strong>X'1800'</strong> - Prepare</li>
|
|
<li><strong>X'1803'</strong> - Prepare and describe</li>
|
|
<li><strong>X'1804'</strong> - Open/Describe</li>
|
|
<li><strong>X'1805'</strong> - Execute</li>
|
|
<li><strong>X'1806'</strong> - Execute immediate</li>
|
|
<li><strong>X'1809'</strong> - Connect</li>
|
|
<li><strong>X'180D'</strong> - Prepare and execute or prepare and open</li>
|
|
<li><strong>X'180E'</strong> - Open and fetch</li>
|
|
<li><strong>X'180F'</strong> - Create package</li>
|
|
<li><strong>X'1810'</strong> - Clear package</li>
|
|
<li><strong>X'1811'</strong> - Delete package</li>
|
|
<li><strong>X'1812'</strong> - Execute or open</li>
|
|
<li><strong>X'1815'</strong> - Return package information</li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">32</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">20</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(18)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Statement name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Name of the statement used for the prepare
|
|
or execute functions.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">50</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">32</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(18)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Cursor name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Name of the cursor used for the open function.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">68</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">44</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(2)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Prepare option</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Option used for the prepare function.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">70</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">46</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(2)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Open attributes</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Option used for the open function.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">72</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">48</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(10)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Extended dynamic package name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Name of the extended dynamic SQL package.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">82</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">52</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(10)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Package library name</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Name of the library for extended dynamic
|
|
SQL package.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">92</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">5C</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">BINARY(2)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">DRDA<sup>®</sup> indicator</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 "> <ul><li><strong>0</strong> - Connected to local RDB</li>
|
|
<li><strong>1</strong> - Connected to remote RDB</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">94</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">5E</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(1)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Commitment control level</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 "><ul><li><strong>'A'</strong> - Commit *ALL</li>
|
|
<li><strong>'C'</strong> - Commit *CHANGE</li>
|
|
<li><strong>'N'</strong> - Commit *NONE</li>
|
|
<li><strong>'S'</strong> - Commit *CS (cursor stability)</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">95</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">5F</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(512)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">First 512 bytes of the SQL statement text</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">First 512 bytes of the SQL statement</td>
|
|
</tr>
|
|
<tr><td colspan="5" align="left" valign="top" headers="d0e23 d0e25 d0e27 d0e29 d0e32 d0e34 "><div class="note"><span class="notetitle">Note:</span> This format
|
|
is defined by member EZDAEP in files H, QRPGSRC, QRPGLESRC, QCBLSRC and QCBLLESRC
|
|
in library QSYSINC.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="section"><p>The QIBM_QZDA_ROI1 exit point is defined to run an exit program
|
|
for the requests that retrieve information about certain objects for the database
|
|
server. It is also used for SQL catalog functions.</p>
|
|
</div>
|
|
<div class="section"><p>This exit point has two formats defined.</p>
|
|
</div>
|
|
<div class="section"> <dl><dt class="dlterm">Objects for which format ZDAR0100 is used to retrieve information:</dt>
|
|
<dd> <ul><li>Field (or column)</li>
|
|
<li>File (or table)</li>
|
|
<li>File member</li>
|
|
<li>Index</li>
|
|
<li>Library (or collection)</li>
|
|
<li>Record format</li>
|
|
<li>Relational database (or RDB)</li>
|
|
<li>Special columns</li>
|
|
<li>SQL package</li>
|
|
<li>SQL package statement</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="section"> <dl><dt class="dlterm">Objects for which format ZDAR0200 is used to retrieve information:</dt>
|
|
<dd> <ul><li>Foreign keys</li>
|
|
<li>Primary keys</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikexitpgmparmformat.htm" title="The exit points for native database and retrieving object information have two formats that are defined: QIBM_QZDA_SQL1 and QIBM_QZDA_SQL2. Depending on the type of function that is requested, one of the formats is used.">Exit program parameter formats</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |