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

67 lines
4.6 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="task" />
<meta name="DC.Title" content="Query remote servers using DB2 Universal Database for iSeries query management function" />
<meta name="abstract" content="The DB2 Universal Database for iSeries query management function provides almost the same support as Interactive SQL for querying a remote server and returning the results in an output file to the local server." />
<meta name="description" content="The DB2 Universal Database for iSeries query management function provides almost the same support as Interactive SQL for querying a remote server and returning the results in an output file to the local server." />
<meta name="DC.subject" content="moving data, using DB2 UDB for, iSeries, DB2 UDB for, moving data between, server" />
<meta name="keywords" content="moving data, using DB2 UDB for, iSeries, DB2 UDB for, moving data between, server" />
<meta name="DC.Relation" scheme="URI" content="rbal1mvdat.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/ovrdbf.htm" />
<meta name="DC.Relation" scheme="URI" content="../books/sc415703.pdf" />
<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="rbal1queryremote" />
<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>Query remote servers using DB2 Universal Database for iSeries query management function</title>
</head>
<body id="rbal1queryremote"><a name="rbal1queryremote"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Query remote servers using DB2 Universal Database for <span class="keyword">iSeries</span> query management function</h1>
<div><p>The DB2
Universal Database™ for <span class="keyword">iSeries™</span> query
management function provides almost the same support as Interactive SQL for
querying a remote server and returning the results in an output file to the
local server.</p>
<div class="section"> <p>Both Interactive SQL and the query management function can perform
data manipulation operations (INSERT, DELETE, SELECT, and so on) for files
or tables without the requirement that the table (or file) already exist in
a collection (it can exist in a library). Also, query management uses SQL
CREATE TABLE statements to provide data definition when a new table is created
on the server as a result of the query. Tables created from a query management
function follow the same guidelines and restrictions that apply to a table
created using SQL.</p>
<p>However, the query management function does not allow
you to specify a member when you want to add the results to a file or table.
The results of a query function are placed in the first file member unless
you use the <span class="cmdname">Override with Database File (OVRDBF)</span> command
to specify a different member before starting the query management function.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1mvdat.htm" title="A number of situations occur in enterprise operations that might require moving data from one iSeries server to another.">Move data from one iSeries server to another</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../books/sc415703.pdf " target="_blank">Query Management Programming PDF</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/ovrdbf.htm">Override with Database File (OVRDBF) command</a></div>
</div>
</div>
</body>
</html>