80 lines
5.3 KiB
HTML
80 lines
5.3 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="SQL call level interface" />
|
||
|
<meta name="abstract" content="DB2 UDB call level interface (CLI) is a callable Structured Query Language (SQL) programming interface that is supported in all DB2 environments except for DB2 Universal Database for z/OS and DB2 Server for VSE and VM." />
|
||
|
<meta name="description" content="DB2 UDB call level interface (CLI) is a callable Structured Query Language (SQL) programming interface that is supported in all DB2 environments except for DB2 Universal Database for z/OS and DB2 Server for VSE and VM." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadpwhatsnew.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadpprintthis.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadpbackground.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadphdovv.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadphdapi.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadphdhed.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadpsqlapd.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzadphdxmp.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="rzadpkickoff" />
|
||
|
<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>SQL call level interface</title>
|
||
|
</head>
|
||
|
<body id="rzadpkickoff"><a name="rzadpkickoff"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">SQL call level interface</h1>
|
||
|
<div><p>DB2<sup>®</sup> UDB
|
||
|
call level interface (CLI) is a callable Structured Query Language (SQL) programming
|
||
|
interface that is supported in all DB2 environments except for DB2 Universal
|
||
|
Database for z/OS<sup>®</sup> and DB2 Server
|
||
|
for VSE and VM.</p>
|
||
|
<p>A <em>callable SQL interface</em> is a WinSock
|
||
|
application programming interface (API) for database access that uses function
|
||
|
calls to start dynamic SQL statements.</p>
|
||
|
<p>DB2 UDB
|
||
|
CLI is an alternative to embedded dynamic SQL. The important difference between
|
||
|
embedded dynamic SQL and DB2 UDB CLI is how the SQL statements are started. On
|
||
|
the <span class="keyword">iSeries™</span> server, this interface
|
||
|
is available to any of the ILE languages.</p>
|
||
|
<p>DB2 UDB
|
||
|
CLI also provides full Level 1 Microsoft<sup>®</sup> Open Database Connectivity
|
||
|
(ODBC) support, plus many Level 2 functions. For the most part, ODBC is a
|
||
|
superset of the ANS and ISO SQL CLI standard.</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> By using the code examples, you agree to the terms of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzadpwhatsnew.htm">What's new for V5R4</a></strong><br />
|
||
|
This topic highlights numerous changes to the SQL call level interface for V5R4.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadpprintthis.htm">Printable PDF</a></strong><br />
|
||
|
Use this to view and print a PDF of this information.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadpbackground.htm">Get started with DB2 UDB CLI</a></strong><br />
|
||
|
Learn about the basics of the DB2 UDB CLI, how it compares to embedded
|
||
|
SQL, and how to select the best interface for your programming needs.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadphdovv.htm">Write a DB2 UDB CLI application</a></strong><br />
|
||
|
Find out how you code your applications to use the DB2 CLI functions.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadphdapi.htm">DB2 UDB CLI functions</a></strong><br />
|
||
|
This topic provides a description of each CLI function.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadphdhed.htm">DB2 UDB CLI include file</a></strong><br />
|
||
|
The only include file used in DB2 UDB CLI is <samp class="codeph">sqlcli.h</samp>.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadpsqlapd.htm">Run DB2 UDB CLI in server mode</a></strong><br />
|
||
|
This topic is about why and how you should run your DB2 UDB CLI applications
|
||
|
in server mode.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzadphdxmp.htm">Examples: DB2 UDB CLI applications</a></strong><br />
|
||
|
This topic provides complete examples of DB2 UDB CLI applications.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|