ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1coexist.htm

76 lines
5.0 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="DB2 Universal Database for iSeries coexistence" />
<meta name="abstract" content="When you write and maintain programs for a distributed relational database using the SQL language, you need to consider the other servers in the distributed relational database network." />
<meta name="description" content="When you write and maintain programs for a distributed relational database using the SQL language, you need to consider the other servers in the distributed relational database network." />
<meta name="DC.subject" content=", UDB Query Manager and SQL Development Kit, DB2, coexistence across DRDA platforms" />
<meta name="keywords" content=", UDB Query Manager and SQL Development Kit, DB2, coexistence across DRDA platforms" />
<meta name="DC.Relation" scheme="URI" content="rbal1sdd.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="rbal1coexist" />
<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>DB2 Universal Database for iSeries coexistence</title>
</head>
<body id="rbal1coexist"><a name="rbal1coexist"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="keyword">DB2 Universal Database for iSeries</span> coexistence</h1>
<div><p>When you write and maintain programs for a distributed relational
database using the SQL language, you need to consider the other servers in
the distributed relational database network.</p>
<div class="section"><p>The program you are writing or maintaining might have to be compatible
with the following items: </p>
<ul><li>Other <span class="keyword">iSeries™ server</span>s</li>
<li>Previous <span class="keyword">iSeries server</span> releases</li>
<li>Servers that are not <span class="keyword">iSeries server</span>s</li>
</ul>
</div>
<div class="section"><p>Remember that the SQL statements in a distributed SQL program
run on the application server (AS). Even though the program runs on the application
requester (AR), the SQL statements are in the SQL package to be run on the
AS. Those statements must be supported by the AS and be compatible with the
collections, tables, and views that exist on the AS. Also, the users who run
the program on the AR must be authorized to the SQL package and other SQL
objects on the AS.</p>
</div>
<div class="section"><p>You can convert a non-distributed embedded SQL program to a distributed
embedded SQL program by creating the program again using the CRTSQLxxx command
and specifying the relational database name (RDB parameter) for an AS. This
compiles the program again using the distributed relational database support
in DB2
Universal Database™ for iSeries and creates the SQL package needed on the
AS.</p>
</div>
<div class="section"><p>You can write <span class="keyword">DB2<sup>®</sup> UDB for iSeries</span> programs
that run on application servers that are not <span class="keyword">iSeries server</span>s
and these other platforms might support more or fewer SQL functions. Statements
that are not supported on the <span class="keyword">DB2 UDB for iSeries</span> AR
can be used and compiled on the server when the AS supports the function.
SQL programs written to run on an <span class="keyword">iSeries server</span> AS
only provide the level of support described in this topic collection. See
the support documentation for the other systems to determine the level of
function they provide.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1sdd.htm" title="During the precompile process of a distributed DB2 Universal Database for iSeries application, the i5/OS licensed program might build SQL packages to be run on an application server (AS).">SQL specific to distributed relational database and SQL CALL</a></div>
</div>
</div>
</body>
</html>