139 lines
11 KiB
HTML
139 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="concept" />
|
|||
|
<meta name="DC.Title" content="Categories of DB2 UDB CLIs" />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="rzadphdapi.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="rzadpclilist" />
|
|||
|
<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>Categories of DB2 UDB CLIs</title>
|
|||
|
</head>
|
|||
|
<body id="rzadpclilist"><a name="rzadpclilist"><!-- --></a>
|
|||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|||
|
<h1 class="topictitle1">Categories of DB2 UDB CLIs</h1>
|
|||
|
<div><div class="p">The following call level interface APIs are available for
|
|||
|
database access on iSeries™. Each of the DB2<sup>®</sup> UDB CLI function descriptions is presented
|
|||
|
in a consistent format.<ul><li><strong>Connect</strong> <ul><li><a href="rzadpfnconn.htm#rzadpfnconn">SQLConnect - Connect to a data source</a> </li>
|
|||
|
<li><a href="rzadpfndatas.htm#rzadpfndatas">SQLDataSources - Get list of data sources</a> </li>
|
|||
|
<li><a href="rzadpfndconn.htm#rzadpfndconn">SQLDisconnect - Disconnect from a data source</a> </li>
|
|||
|
<li><a href="rzadpfndvcon.htm#rzadpfndvcon">SQLDriverConnect - (Expanded) Connect to a data source</a> </li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li><strong>Diagnostics</strong> <ul><li><a href="rzadpfnerror.htm#rzadpfnerror">SQLError - Retrieve error information</a> </li>
|
|||
|
<li><a href="rzadpfndfld.htm#rzadpfndfld">SQLGetDiagField - Return diagnostic information (extensible)</a> </li>
|
|||
|
<li><a href="rzadpfndrec.htm#rzadpfndrec">SQLGetDiagRec - Return diagnostic information (concise)</a> </li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li><strong>MetaData</strong> <ul><li><a href="rzadpfncoln.htm#rzadpfncoln">SQLColumns - Get column information for a table</a> </li>
|
|||
|
<li><a href="rzadpfncolnpriv.htm#rzadpfncolnpriv">SQLColumnPrivileges - Get privileges associated with the columns of a table</a></li>
|
|||
|
<li><a href="rzadpfnfkey.htm#rzadpfnfkey">SQLForeignKeys - Get the list of foreign key columns</a> </li>
|
|||
|
<li><a href="rzadpfnginfo.htm#rzadpfnginfo">SQLGetInfo - Get general information</a> </li>
|
|||
|
<li><a href="rzadpfngtype.htm#rzadpfngtype">SQLGetTypeInfo - Get data type information</a> </li>
|
|||
|
<li><a href="rzadpfncolx.htm#rzadpfncolx">SQLLanguages - Get SQL dialect or conformance information</a> </li>
|
|||
|
<li><a href="rzadpfnpkey.htm#rzadpfnpkey">SQLPrimaryKeys - Get primary key columns of a table</a> </li>
|
|||
|
<li><a href="rzadpfnprcco.htm#rzadpfnprcco">SQLProcedureColumns - Get input/output parameter information for a procedure</a> </li>
|
|||
|
<li><a href="rzadpfnprcs.htm#rzadpfnprcs">SQLProcedures - Get list of procedure names</a> </li>
|
|||
|
<li><a href="rzadpfnspcol.htm#rzadpfnspcol">SQLSpecialColumns - Get special (row identifier) columns</a> </li>
|
|||
|
<li><a href="rzadpfnstats.htm#rzadpfnstats">SQLStatistics - Get index and statistics information for a base table</a> </li>
|
|||
|
<li><a href="rzadpfntablpriv.htm#rzadpfntablpriv">SQLTablePrivileges – Get privileges associated with a table</a></li>
|
|||
|
<li><a href="rzadpfntabls.htm#rzadpfntabls">SQLTables - Get table information</a> </li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li><strong>Process SQL statements</strong> <ul><li><a href="rzadpfnbindc.htm#rzadpfnbindc">SQLBindCol - Bind a column to an application variable</a></li>
|
|||
|
<li><a href="rzadpfnbndfc.htm#rzadpfnbndfc">SQLBindFileToCol - Bind LOB file reference to LOB column</a></li>
|
|||
|
<li><a href="rzadpfnbndfp.htm#rzadpfnbndfp">SQLBindFileToParam - Bind LOB file reference to LOB parameter</a></li>
|
|||
|
<li><a href="rzadpfnbndpa.htm#rzadpfnbndpa">SQLBindParam - Bind a buffer to a parameter marker</a></li>
|
|||
|
<li><a href="rzadpfnbndpm.htm#rzadpfnbndpm">SQLBindParameter - Bind a parameter marker to a buffer</a></li>
|
|||
|
<li><a href="rzadpfncan.htm#rzadpfncan">SQLCancel - Cancel statement</a> </li>
|
|||
|
<li><a href="rzadpclscur.htm#rzadpclscur">SQLCloseCursor - Close cursor statement</a> </li>
|
|||
|
<li><a href="rzadpfncolat.htm#rzadpfncolat">SQLColAttributes - Obtain column attributes</a> </li>
|
|||
|
<li><a href="rzadpfndecol.htm#rzadpfndecol">SQLDescribeCol - Describe column attributes</a> </li>
|
|||
|
<li><a href="rzadpfndescprm.htm#rzadpfndescprm">SQLDescribeParam - Return description of a parameter marker</a> </li>
|
|||
|
<li><a href="rzadpfnendtr.htm#rzadpfnendtr">SQLEndTran - Commit or roll back a transaction</a> </li>
|
|||
|
<li><a href="rzadpfnexecd.htm#rzadpfnexecd">SQLExecDirect - Execute a statement directly</a> </li>
|
|||
|
<li><a href="rzadpfnexec.htm#rzadpfnexec">SQLExecute - Execute a statement</a> </li>
|
|||
|
<li><a href="rzadpfnexfet.htm#rzadpfnexfet">SQLExtendedFetch - Fetch array of rows</a> </li>
|
|||
|
<li><a href="rzadpfnfetch.htm#rzadpfnfetch">SQLFetch - Fetch next row</a> </li>
|
|||
|
<li><a href="rzadpfetchsc.htm#rzadpfetchsc">SQLFetchScroll - Fetch from a scrollable cursor</a> </li>
|
|||
|
<li><a href="rzadpfngcurn.htm#rzadpfngcurn">SQLGetCursorName - Get cursor name</a> </li>
|
|||
|
<li><a href="rzadpfngdata.htm#rzadpfngdata">SQLGetData - Get data from a column</a> </li>
|
|||
|
<li><a href="rzadpgdesfld.htm#rzadpgdesfld">SQLGetDescField - Get descriptor field</a> </li>
|
|||
|
<li><a href="rzadpgdesrec.htm#rzadpgdesrec">SQLGetDescRec - Get descriptor record</a> </li>
|
|||
|
<li><a href="rzadpfnmrset.htm#rzadpfnmrset">SQLMoreResults - Determine whether there are more result sets</a> </li>
|
|||
|
<li><a href="rzadpfnnsql.htm#rzadpfnnsql">SQLNativeSql - Get native SQL text</a> </li>
|
|||
|
<li><a href="rzadpfnnxtres.htm#rzadpfnnxtres">SQLNextResult - Process the next result set</a></li>
|
|||
|
<li><a href="rzadpfnnump.htm#rzadpfnnump">SQLNumParams - Get number of parameters in an SQL statement</a> </li>
|
|||
|
<li><a href="rzadpfnnrcol.htm#rzadpfnnrcol">SQLNumResultCols - Get number of result columns</a> </li>
|
|||
|
<li><a href="rzadpfnparad.htm#rzadpfnparad">SQLParamData - Get next parameter for which a data value is needed</a> </li>
|
|||
|
<li><a href="rzadpfnpopt.htm#rzadpfnpopt">SQLParamOptions - Specify an input array for a parameter</a> </li>
|
|||
|
<li><a href="rzadpfnprep.htm#rzadpfnprep">SQLPrepare - Prepare a statement</a> </li>
|
|||
|
<li><a href="rzadpfnpdata.htm#rzadpfnpdata">SQLPutData - Pass data value for a parameter</a> </li>
|
|||
|
<li><a href="rzadpfnrowc.htm#rzadpfnrowc">SQLRowCount - Get row count</a> </li>
|
|||
|
<li><a href="rzadpfnscurn.htm#rzadpfnscurn">SQLSetCursorName - Set cursor name</a> </li>
|
|||
|
<li><a href="rzadpfntrans.htm#rzadpfntrans">SQLTransact - Commit or roll back transaction</a> </li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li><strong>Work with attributes </strong> <ul><li><a href="rzadpfngcol.htm#rzadpfngcol">SQLGetCol - Retrieve one column of a row of the result set</a> </li>
|
|||
|
<li><a href="rzadpfngcona.htm#rzadpfngcona">SQLGetConnectAttr - Get the value of a connection attribute</a> </li>
|
|||
|
<li><a href="rzadpfngcono.htm#rzadpfngcono">SQLGetConnectOption - Return current setting of a connect Option</a> </li>
|
|||
|
<li><a href="rzadpfngcurn.htm#rzadpfngcurn">SQLGetCursorName - Get cursor name</a> </li>
|
|||
|
<li><a href="rzadpfngdata.htm#rzadpfngdata">SQLGetData - Get data from a column</a> </li>
|
|||
|
<li><a href="rzadpgdesfld.htm#rzadpgdesfld">SQLGetDescField - Get descriptor field</a> </li>
|
|||
|
<li><a href="rzadpgdesrec.htm#rzadpgdesrec">SQLGetDescRec - Get descriptor record</a> </li>
|
|||
|
<li><a href="rzadpfngenva.htm#rzadpfngenva">SQLGetEnvAttr - Return current setting of an environment Attribute</a> </li>
|
|||
|
<li><a href="rzadpfngfunc.htm#rzadpfngfunc">SQLGetFunctions - Get functions</a> </li>
|
|||
|
<li><a href="rzadpfnginfo.htm#rzadpfnginfo">SQLGetInfo - Get general information</a> </li>
|
|||
|
<li><a href="rzadpfngtlen.htm#rzadpfngtlen">SQLGetLength - Retrieve length of a string value</a> </li>
|
|||
|
<li><a href="rzadpfngtpos.htm#rzadpfngtpos">SQLGetPosition - Return starting position of string</a> </li>
|
|||
|
<li><a href="rzadpfngstma.htm#rzadpfngstma">SQLGetStmtAttr - Get the value of a statement attribute</a> </li>
|
|||
|
<li><a href="rzadpfngstmo.htm#rzadpfngstmo">SQLGetStmtOption - Return current setting of a statement option</a> </li>
|
|||
|
<li><a href="rzadpfngtsbs.htm#rzadpfngtsbs">SQLGetSubString - Retrieve portion of a string value</a> </li>
|
|||
|
<li><a href="rzadpfngtype.htm#rzadpfngtype">SQLGetTypeInfo - Get data type information</a> </li>
|
|||
|
<li><a href="rzadpfnsconx.htm#rzadpfnsconx">SQLSetConnectAttr - Set a connection attribute</a> </li>
|
|||
|
<li><a href="rzadpfnscono.htm#rzadpfnscono">SQLSetConnectOption - Set connection option</a> </li>
|
|||
|
<li><a href="rzadpfnscurn.htm#rzadpfnscurn">SQLSetCursorName - Set cursor name</a> </li>
|
|||
|
<li><a href="rzadpsetdesc.htm#rzadpsetdesc">SQLSetDescField - Set a descriptor field</a> </li>
|
|||
|
<li><a href="rzadpsetrec.htm#rzadpsetrec">SQLSetDescRec - Set a descriptor record</a> </li>
|
|||
|
<li><a href="rzadpfnsenva.htm#rzadpfnsenva">SQLSetEnvAttr - Set environment attribute</a> </li>
|
|||
|
<li><a href="rzadpfnspara.htm#rzadpfnspara">SQLSetParam - Set parameter</a> </li>
|
|||
|
<li><a href="rzadpfnsstma.htm#rzadpfnsstma">SQLSetStmtAttr - Set a statement attribute</a> </li>
|
|||
|
<li><a href="rzadpfnsstmo.htm#rzadpfnsstmo">SQLSetStmtOption - Set statement option</a> </li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li><strong>Work with handles </strong> <ul><li><a href="rzadpfnacon.htm#rzadpfnacon">SQLAllocConnect - Allocate connection handle</a> </li>
|
|||
|
<li><a href="rzadpfnaenv.htm#rzadpfnaenv">SQLAllocEnv - Allocate environment handle</a> </li>
|
|||
|
<li><a href="rzadpfnahdl.htm#rzadpfnahdl">SQLAllocHandle - Allocate handle</a> </li>
|
|||
|
<li><a href="rzadpfnastmt.htm#rzadpfnastmt">SQLAllocStmt - Allocate a statement handle</a> </li>
|
|||
|
<li><a href="rzadpcpydesc.htm#rzadpcpydesc">SQLCopyDesc - Copy description statement</a> </li>
|
|||
|
<li><a href="rzadpfnfconn.htm#rzadpfnfconn">SQLFreeConnect - Free connection handle</a></li>
|
|||
|
<li><a href="rzadpfnfenv.htm#rzadpfnfenv">SQLFreeEnv - Free environment handle</a></li>
|
|||
|
<li><a href="rzadpfnfhdl.htm#rzadpfnfhdl">SQLFreeHandle - Free a handle</a></li>
|
|||
|
<li><a href="rzadpfnfstmt.htm#rzadpfnfstmt">SQLFreeStmt - Free (or reset) a statement handle</a></li>
|
|||
|
<li><a href="rzadpfnrelv.htm#rzadpfnrelv">SQLReleaseEnv - Release all environment resources</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<div class="familylinks">
|
|||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzadphdapi.htm" title="This topic provides a description of each CLI function.">DB2 UDB CLI functions</a></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|