ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafoopen.htm

57 lines
4.8 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="concept" />
<meta name="DC.Title" content="Open a database file" />
<meta name="abstract" content="These topics describe how to use the Open Query File (OPNQRYF) and Open Database File (OPNDBF) commands to open database file members in a program. Examples, performance considerations, and guidelines for writing a high-level language program are included. Typical errors that might occur are also discussed." />
<meta name="description" content="These topics describe how to use the Open Query File (OPNQRYF) and Open Database File (OPNDBF) commands to open database file members in a program. Examples, performance considerations, and guidelines for writing a high-level language program are included. Typical errors that might occur are also discussed." />
<meta name="DC.subject" content="database file, opening, commands to use, file, Open Database File (OPNDBF) command, command, CL, OPNDBF (Open Database File), Open Database File (OPNDBF), command, CL, OPNQRYF (Open Query File)" />
<meta name="keywords" content="database file, opening, commands to use, file, Open Database File (OPNDBF) command, command, CL, OPNDBF (Open Database File), Open Database File (OPNDBF), command, CL, OPNQRYF (Open Query File)" />
<meta name="DC.Relation" scheme="URI" content="rbafoprocess.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoodbfm.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoopndbf.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoopnqf.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="rbafoopen" />
<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>Open a database file</title>
</head>
<body id="rbafoopen"><a name="rbafoopen"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Open a database file</h1>
<div><p>These topics describe how to use the Open Query File (OPNQRYF)
and Open Database File (OPNDBF) commands to open database file members in
a program. Examples, performance considerations, and guidelines for writing
a high-level language program are included. Typical errors that
might occur are also discussed.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafoodbfm.htm">Open a database file member</a></strong><br />
You can open a database file member with statements in your high-level language program. You can also use the control language (CL) open commands: Open Database File (OPNDBF) and Open Query File (OPNQRYF).</li>
<li class="ulchildlink"><strong><a href="rbafoopndbf.htm">Use Open Database File (OPNDBF) command</a></strong><br />
Usually, when you use the Open Database File (OPNDBF) command, you use the defaults for the command parameter values. Sometimes you might want to specify particular values, instead of using the default values. Listed here are the parameters you can specify.</li>
<li class="ulchildlink"><strong><a href="rbafoopnqf.htm">Use Open Query File (OPNQRYF) command</a></strong><br />
The Open Query File (OPNQRYF) command is a control language (CL) command that allows you to perform many data processing functions on database files. These topics discuss how to create a query using the OPNQRYF command, how to specify parameters for its major functions, and how to use it with your high-level language program.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafoprocess.htm" title="These topics discuss how to make your database files process more efficiently on the i5/OS operating system, how to open, manipulate, and close database files, and how to monitor and manage error messages related to your database files.">Process database files</a></div>
</div>
</div>
</body>
</html>