ibm-information-center/dist/eclipse/plugins/i5OS.ic.db2_5.4.0.1/rbafzmsteds.htm

69 lines
4.0 KiB
HTML
Raw 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-19" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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="keywords" content="END DECLARE SECTION statement,
END DECLARE SECTION, SQL statements, DECLARE statements" />
<title>END DECLARE SECTION</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="eds"></a>
<h2 id="eds"><a href="rbafzmst02.htm#ToC_1051">END DECLARE SECTION</a></h2><a id="idx2535" name="idx2535"></a><a id="idx2536" name="idx2536"></a><a id="idx2537" name="idx2537"></a><a id="idx2538" name="idx2538"></a>
<a name="edecl"></a>
<p id="edecl"> The END DECLARE SECTION statement marks the end of an SQL declare
section.</p>
<a name="wq1480"></a>
<h3 id="wq1480"><a href="rbafzmst02.htm#ToC_1052">Invocation</a></h3>
<p>This statement can only be embedded in an application program. It is not
an executable statement. It must not be specified in RPG, Java&trade;,
or REXX.</p>
<a name="wq1481"></a>
<h3 id="wq1481"><a href="rbafzmst02.htm#ToC_1053">Authorization</a></h3>
<p>None required.</p>
<a name="wq1482"></a>
<h3 id="wq1482"><a href="rbafzmst02.htm#ToC_1054">Syntax</a></h3>
<a href="rbafzmsteds.htm#synseds"><img src="c.gif" alt="Click to skip syntax diagram" /></a>
<pre class="cgraphic"><span><img src="c.gif" alt="Read syntax diagram" longdesc="rbafzmstsyn337.htm"
border="0" /></span><a href="#skipsyn-336"><img src="c.gif" alt="Skip visual syntax diagram"
border="0" /></a>>>-END DECLARE SECTION----------------------------------------->&lt;
</pre>
<a name="skipsyn-336" id="skipsyn-336"></a>
<a name="synseds"></a>
<h3 id="synseds"><a href="rbafzmst02.htm#ToC_1055">Description</a></h3>
<p>The END DECLARE SECTION statement can be coded in the application program
wherever declarations can appear in accordance with the rules of the host
language. It is used to indicate the end of an SQL declare section. An SQL
declare section starts with a BEGIN DECLARE SECTION statement. For more information
about the BEGIN DECLARE SECTION statement, see<a href="rbafzmstbegdcl.htm#begdcl">BEGIN DECLARE SECTION</a>.</p>
<p>The BEGIN DECLARE SECTION and the END DECLARE SECTION statements must be
paired and cannot be nested.</p>
<a name="wq1483"></a>
<h3 id="wq1483"><a href="rbafzmst02.htm#ToC_1056">Examples</a></h3>
<p>See <a href="rbafzmstbegdcl.htm#begdcl">BEGIN DECLARE SECTION</a> for examples using the END DECLARE SECTION statement. <a id="idx2539" name="idx2539"></a> <a id="idx2540" name="idx2540"></a></p>
<hr /><br />
[ <a href="#Top_Of_Page">Top of Page</a> | <a href="rbafzmstdropst.htm">Previous Page</a> | <a href="rbafzmsthexeqt.htm">Next Page</a> | <a href="rbafzmst02.htm#wq1">Contents</a> |
<a href="rbafzmstindex.htm#index">Index</a> ]
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>