55 lines
3.8 KiB
HTML
55 lines
3.8 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="Program" />
|
||
|
<meta name="abstract" content="A program is the object that you can run that is created as a result of the compilation process for non-ILE compilations or as a result of the bind process for ILE compilations." />
|
||
|
<meta name="description" content="A program is the object that you can run that is created as a result of the compilation process for non-ILE compilations or as a result of the bind process for ILE compilations." />
|
||
|
<meta name="DC.subject" content="application, program objects, program, definition, Integrated Language Environment (ILE) object, non-ILE object, access plan, in a program, Integrated Language Environment (ILE)" />
|
||
|
<meta name="keywords" content="application, program objects, program, definition, Integrated Language Environment (ILE) object, non-ILE object, access plan, in a program, Integrated Language Environment (ILE)" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafyapplprogobjects.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="rbafysqlpcprogram" />
|
||
|
<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>Program</title>
|
||
|
</head>
|
||
|
<body id="rbafysqlpcprogram"><a name="rbafysqlpcprogram"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Program</h1>
|
||
|
<div><p>A <dfn class="term">program</dfn> is the object that you can run that is created
|
||
|
as a result of the compilation process for non-ILE compilations or as a result
|
||
|
of the bind process for ILE compilations.</p>
|
||
|
<p>An access plan is a set of internal structures and information that tells
|
||
|
SQL how to run an embedded SQL statement most effectively. It is created only
|
||
|
when the program has successfully created. Access plans are not created during
|
||
|
program creation for SQL statements if the statements: </p>
|
||
|
<ul><li>Refer to a table or view that cannot be found</li>
|
||
|
<li>Refer to a table or view to which you are not authorized</li>
|
||
|
</ul>
|
||
|
<p>The access plans for such statements are created when the program is run.
|
||
|
If, at that time, the table or view still cannot be found or you are still
|
||
|
not authorized, a negative SQLCODE is returned. Access plans are stored and
|
||
|
maintained in the program object for nondistributed SQL programs and in the
|
||
|
SQL package for distributed SQL programs.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafyapplprogobjects.htm" title="The process of creating a DB2 UDB for iSeries application program may result in the creation of several objects. This section briefly describes the process of creating a DB2 UDB for iSeries application.">Application program objects</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|