<?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="Read database records" /> <meta name="abstract" content="The iSeries system provides a number of ways to read database records." /> <meta name="description" content="The iSeries system provides a number of ways to read database records." /> <meta name="DC.subject" content="record, reading, database, physical file" /> <meta name="keywords" content="record, reading, database, physical file" /> <meta name="DC.Relation" scheme="URI" content="rbafobasicop.htm" /> <meta name="DC.Relation" scheme="URI" content="rbafordbra.htm" /> <meta name="DC.Relation" scheme="URI" content="rbafordbrk.htm" /> <meta name="DC.Relation" scheme="URI" content="rbafoefdel.htm" /> <meta name="DC.Relation" scheme="URI" content="rbafoefrelr.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="rbaforddbf" /> <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>Read database records</title> </head> <body id="rbaforddbf"><a name="rbaforddbf"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Read database records</h1> <div><p>The <span class="keyword">iSeries™</span> system provides a number of ways to read database records.</p> <div class="note"><span class="notetitle">Note:</span> Some high-level languages do not support all of the read operations available on the system. See your high-level language topic collection for more information about reading database records.</div> </div> <div> <ul class="ullinks"> <li class="ulchildlink"><strong><a href="rbafordbra.htm">Read database records using an arrival sequence access path</a></strong><br /> These read operations are allowed if the file was defined with an arrival sequence access path or with a keyed sequence access path with the ignore-keyed-sequence-access-path option specified on the Open Database File (OPNDBF) or the Open Query File (OPNQRYF) command.</li> <li class="ulchildlink"><strong><a href="rbafordbrk.htm">Read database records using a keyed sequence access path</a></strong><br /> These read operations can be used with a keyed sequence access path to get database records.</li> <li class="ulchildlink"><strong><a href="rbafoefdel.htm">Wait for more records when end of file is reached</a></strong><br /> End-of-file delay is a method of continuing to read sequentially from a database file (logical or physical) after an end-of-file condition occurs.</li> <li class="ulchildlink"><strong><a href="rbafoefrelr.htm">Release locked records</a></strong><br /> The system automatically releases a locked record when the record is updated or deleted, or when you read another record in the file. However, you might want to release a locked record without performing these operations.</li> </ul> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rbafobasicop.htm" title="These topics describe basic database file operations, including the read, update, write and delete operations.">Basic database file operations in programs</a></div> </div> </div> </body> </html>