ibm-information-center/dist/eclipse/plugins/i5OS.ic.sqlp_5.4.0.1/rbafypack1.htm

67 lines
4.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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 packages" />
<meta name="abstract" content="An SQL package is an object that contains the control structure produced when the SQL statements in an application program are bound to a remote relational database management system (DBMS)." />
<meta name="description" content="An SQL package is an object that contains the control structure produced when the SQL statements in an application program are bound to a remote relational database management system (DBMS)." />
<meta name="DC.subject" content="package, definition, bind to an application, QSQPRCED" />
<meta name="keywords" content="package, definition, bind to an application, QSQPRCED" />
<meta name="DC.Relation" scheme="URI" content="rbafysqlobjects.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafydrda.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qsqprced.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="rbafypack1" />
<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 packages</title>
</head>
<body id="rbafypack1"><a name="rbafypack1"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SQL packages</h1>
<div><p>An <dfn class="term">SQL package</dfn> is an object that contains the control
structure produced when the SQL statements in an application program are bound
to a remote relational database management system (DBMS).</p>
<p>The DBMS uses the control structure to process SQL statements encountered
while running the application program.</p>
<p>SQL packages are created when a relational database name (RDB parameter)
is specified on a Create SQL (CRTSQL<var class="varname">xxx</var>) command and a
program object is created. Packages can also be created using the CRTSQLPKG
command. </p>
<p>SQL packages can also be created using the QSQPRCED API. The references
to SQL Packages within this topic collection refer exclusively to Distributed
Program SQL packages. QSQPRCED uses SQL Packages to provide Extended Dynamic
SQL support. </p>
<div class="note"><span class="notetitle">Note:</span> The <var class="varname">xxx</var> in this command refers to the host language
indicators: CI for the ILE C language, CPPI for the ILE C++ for <span class="keyword">iSeries™</span> language,
CBL for the <span class="keyword">COBOL</span> for <span class="keyword">iSeries</span> language, CBLI for the ILE COBOL
language, PLI for the <span class="keyword">iSeries</span> PL/I
language, <span class="keyword">RPG</span> for the
RPG/400 language, and RPGI for the ILE RPG language.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafysqlobjects.htm" title="SQL objects are schemas, journals, catalogs, tables, aliases, views, indexes, constraints, triggers, sequences, stored procedures, user-defined functions, user-defined types, and SQL packages. SQL creates and maintains these objects as system objects.">SQL objects</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbafydrda.htm" title="A distributed relational database consists of a set of SQL objects that are spread across interconnected computer systems.">Distributed relational database function and SQL</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apis/qsqprced.htm">QSQPRCED</a></div>
</div>
</div>
</body>
</html>