63 lines
4.3 KiB
HTML
63 lines
4.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="reference" />
|
||
|
<meta name="DC.Title" content="Valid SQL statements in an SQL package" />
|
||
|
<meta name="abstract" content="Programs that connect to another server can use any of the SQL statements except the SET TRANSACTION statement." />
|
||
|
<meta name="description" content="Programs that connect to another server can use any of the SQL statements except the SET TRANSACTION statement." />
|
||
|
<meta name="DC.subject" content="distributed relational database, valid SQL statements, precompiler diagnostic messages, packages, statement in, statements, SQL packages, SET TRANSACTION statement, not allowed in package, precompiler, diagnostic messages" />
|
||
|
<meta name="keywords" content="distributed relational database, valid SQL statements, precompiler diagnostic messages, packages, statement in, statements, SQL packages, SET TRANSACTION statement, not allowed in package, precompiler, diagnostic messages" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafypacksupport.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../db2/rbafzmstdiftab.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="rbafysqlpack1" />
|
||
|
<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>Valid SQL statements in an SQL package</title>
|
||
|
</head>
|
||
|
<body id="rbafysqlpack1"><a name="rbafysqlpack1"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Valid SQL statements in an SQL package</h1>
|
||
|
<div><p>Programs that connect to another server can use any of the SQL
|
||
|
statements except the SET TRANSACTION statement.</p>
|
||
|
<div class="section"><p>Programs compiled using <span class="keyword">DB2<sup>®</sup> UDB for iSeries™</span> that
|
||
|
refer to a system that is not <span class="keyword">DB2 UDB for iSeries</span> can
|
||
|
use executable SQL statements supported by that remote system. The precompiler
|
||
|
will continue to issue diagnostic messages for statements it does not understand.
|
||
|
These statements are sent to the remote system during the creation of the
|
||
|
SQL package. The run-time support will return a SQLCODE of -84 or -525 when
|
||
|
the statement cannot be run on the current application server. For example,
|
||
|
multiple-row FETCH, blocked INSERT, and scrollable cursor support are allowed
|
||
|
only in distributed programs where both the application requester and application
|
||
|
server are <span class="keyword">i5/OS™</span> at Version
|
||
|
2 Release 2 or later, with the following exception. A non-iSeries application
|
||
|
requester can issue read-only, insensitive scrollable cursor operations on
|
||
|
a V5R3 iSeries application
|
||
|
server. A further restriction in the use of multiple-row FETCH, blocked INSERT,
|
||
|
and scrollable cursors is that the transmission of BLOB, CLOB and DBCLOB data
|
||
|
is not allowed when using those functions. </p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafypacksupport.htm" title="The operating system supports an object called an SQL package. The object type is *SQLPKG.">SQL package support</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../db2/rbafzmstdiftab.htm">Considerations for Using Distributed Relational Database</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|