ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5oqryf.htm

68 lines
5.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 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="OPNQRYF (Open Query File) command" />
<meta name="abstract" content="You can query remote files using the Open Query File (OPNQRYF) command, but only if the remote files are on a target iSeries server or a target System/38." />
<meta name="description" content="You can query remote files using the Open Query File (OPNQRYF) command, but only if the remote files are on a target iSeries server or a target System/38." />
<meta name="DC.subject" content="command, OPNQRYF (Open Query File), Open Query File (OPNQRYF), command, CL, Open Query File (OPNQRYF), query file, opening, command, CL" />
<meta name="keywords" content="command, OPNQRYF (Open Query File), Open Query File (OPNQRYF), command, CL, Open Query File (OPNQRYF), query file, opening, command, CL" />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdcnsd.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5dbquery.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5qryutil.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbae5oqryf" />
<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>OPNQRYF (Open Query File) command</title>
</head>
<body id="rbae5oqryf"><a name="rbae5oqryf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="cmdname">OPNQRYF (Open Query File)</span> command</h1>
<div><p>You can query remote files using the <span class="cmdname">Open Query File (OPNQRYF)</span> command,
but only if the remote files are on a target <span class="keyword">iSeries™ server</span> or
a target <span class="keyword">System/38™</span>. </p>
<div class="section"><p>If multiple remote files are specified on one <span class="cmdname">OPNQRYF</span> command,
they must all exist on the same target server and use the same remote location
information.</p>
</div>
<div class="section"><p>If the target server is an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38</span>, a query request
is created and sent to the target server using the DDM file that the query
refers to. If the target server is other than an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38</span>, the query request
cannot be processed and an error message is created. However, the query utility
on the <span class="keyword">System/38</span> can be used
to query remote files that are other than <span class="keyword">iSeries</span> files. </p>
</div>
<div class="section"><p>If the target server is a <span class="keyword">System/38</span> and
the source is an <span class="keyword">iSeries server</span>,
or if the target server is an <span class="keyword">iSeries server</span> and
the source is a <span class="keyword">System/38</span>, <span class="cmdname">OPNQRYF</span> cannot
use group-by and join functions. An error results.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5cmdcnsd.htm" title="This topic collection describes DDM-related specifics about iSeries CL commands when they are used with DDM files. These topics discuss running the commands on the source server and do not discuss them being submitted to run on the target server by the Submit Remote Command (SBMRMTCMD) command.">DDM-related CL command considerations</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbae5dbquery.htm" title="The database interactive query function, provided by the i5/OS licensed program, supports DDM files.">i5/OS database query</a></div>
<div><a href="rbae5qryutil.htm" title="The System/38-compatible query utility (Query/38) can be used with DDM to create and use interactive or batch query applications.">System/38-compatible query utility (Query/38)</a></div>
</div>
</div>
</body>
</html>