191 lines
11 KiB
HTML
191 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_SQL2 format ZDAQ0200" />
|
|
<meta name="abstract" content="The following table shows parameter fields and their descriptions for the exit program called at exit point QIBM_QZDA_SQL2 with the ZDAQ0200 format." />
|
|
<meta name="description" content="The following table shows parameter fields and their descriptions for the exit program called at exit point QIBM_QZDA_SQL2 with the ZDAQ0200 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="exitpointtable1" />
|
|
<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_SQL2 format ZDAQ0200</title>
|
|
</head>
|
|
<body id="exitpointtable1"><a name="exitpointtable1"><!-- --></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_SQL2 format ZDAQ0200</h1>
|
|
<div><p>The following table shows parameter fields and their descriptions
|
|
for the exit program called at exit point QIBM_QZDA_SQL2 with the ZDAQ0200
|
|
format.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Exit point QIBM_QZDA_SQL2 format ZDAQ0200</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 ">The value is *SQLSRV for this exit point.</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 ">Requested function</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">The function being performed. <p>This field
|
|
contains one of the following: </p>
|
|
<ul><li>X'1800' - Prepare</li>
|
|
<li>X'1803' - Prepare and describe</li>
|
|
<li>X'1804' - Open/describe</li>
|
|
<li>X'1805' - Execute</li>
|
|
<li>X'1806' - Execute immediate</li>
|
|
<li>X'1809' - Connect</li>
|
|
<li>X'180C' - Stream fetch</li>
|
|
<li>X'180D' - Prepare and execute</li>
|
|
<li>X'180E' - Open and fetch</li>
|
|
<li>X'180F' - Create package</li>
|
|
<li>X'1810' - Clear package</li>
|
|
<li>X'1811' - Delete package</li>
|
|
<li>X'1812' - Execute or open</li>
|
|
<li>X'1815' - Return package information</li>
|
|
</ul>
|
|
</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 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 dyanmic
|
|
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>0 - Connected to local RDB</li>
|
|
<li>1 - 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>'A' - Commit *ALL</li>
|
|
<li>'C' - Commit *CHANGE</li>
|
|
<li>'N' - Commit *NONE</li>
|
|
<li>'S' - 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(10)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Default SQL collection</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Name of the default SQL collection used by
|
|
the iSeries™ Database
|
|
Server.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">105</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">69</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(129)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">Reserved</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Reserved for future parameters.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">234</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">EA</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">BINARY(4)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">SQL statement text length</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Length of SQL statement text in the field
|
|
that follows. The length can be a maximum of 32K.</td>
|
|
</tr>
|
|
<tr><td align="center" valign="top" width="10%" headers="d0e23 d0e32 ">238</td>
|
|
<td align="center" valign="top" width="10%" headers="d0e23 d0e34 ">EE</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e25 ">CHAR(*)</td>
|
|
<td align="left" valign="top" width="20%" headers="d0e27 ">SQL statement text</td>
|
|
<td align="left" valign="top" width="40%" headers="d0e29 ">Entire 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_INIT exit point is defined to run an exit program
|
|
at server initiation. If a program is defined for this exit point, it is called
|
|
each time the database server is initiated.</p>
|
|
</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> |