ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qdbbrcds.htm

275 lines
7.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Retrieve Backup Detail (QEZRTBKD) API</title>
<!-- Begin Header Records ========================================== -->
<!-- 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. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- BACKMST SCRIPT A converted by B2H R4.1 (346) (CMS) by v2kea304 at -->
<!-- RCHVMW2 on 26 April 1999 at 10:21:58 -->
<!-- This file has undergone html cleanup on 9/18/01 by JET -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>Bring Database Records (QDBBRCDS) API</h2>
<div class="box" style="width: 80%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Qualified database physical file
name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(20)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Database member name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Relative record number array</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Array of Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Number of records to bring</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Optional Parameter Group 1:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td></td>
<td align="center" valign="top" width="10%">5</td>
<td align="left" valign="top" width="50%">Error code</td>
<td align="left" valign="top" width="20%">I/O</td>
<td align="left" valign="top" width="20%">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Bring Database Records (QDBBRCDS) API asynchronously brings database
physical file records into main storage. You can use the QDBBRCDS API only with
database file type *PF. DDM files and logical files are not supported. If a
distributed file is specified, only the records on the local system are
brought. File overrides do not affect the specified file, library, or member
names.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>Library Authority</em></dt>
<dd>*EXECUTE</dd>
<dt><em>File Authority</em></dt>
<dd>*OBJOPR</dd>
<dt><em>File Lock</em></dt>
<dd>None</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Qualified database physical file name</strong></dt>
<dd>INPUT; CHAR(20)
<p>The name of the database physical file containing the specified member whose
information is to be retrieved and the library in which it is located. The
first 10 characters contain the database physical file name; the second 10
characters contain the library name.</p>
<p>You can use these special values for the library name:</p>
<table>
<tr>
<td width="15%" valign="top"><em>*CURLIB</em></td>
<td width="85%" valign="top">The job's current library</td>
</tr>
<tr>
<td valign="top"><em>*LIBL</em></td>
<td valign="top">The library list</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Database physical file member name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The name of the database physical file member for which information is to be
retrieved.</p>
<p>Special values follow:</p>
<table>
<tr>
<td width="15%" valign="top"><em>*FIRST</em></td>
<td width="85%" valign="top">The first database physical file member
found.</td>
</tr>
<tr>
<td valign="top"><em>*LAST</em></td>
<td valign="top">The last database physical file member found.</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Relative record array</strong></dt>
<dd>INPUT; CHAR(*)
<p>A array of unsigned Binary(4) variables that contain the relative record
numbers that should be brought.</p>
<p>If an invalid relative record number is specified, it is tolerated and no
error is returned. All relative record numbers prior to the invalid relative
record number in the array are processed.
<img src="delta.gif" alt="Start of change">Invalid relative record numbers in the array are ignored.
<img src="deltaend.gif" alt="End of change"></p>
</dd>
<dt><strong>Number of records in the array</strong></dt>
<dd>INPUT; BINARY(4)
<p>An unsigned Binary(4) variable that contains the number of relative record
numbers in the array. The number of relative record numbers must not exceed
1000.</p>
</dd>
</dl>
<br>
<h3>Optional Parameter Group 1</h3>
<dl>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>. If this
parameter is omitted, diagnostic and escape messages are issued to the
application.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%">
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td width="15%" valign="top">CPF24B4 E</td>
<td width="85%" valign="top">Severe error while addressing parameter list.</td>
</tr>
<tr>
<td valign="top">CPF3CF1 E</td>
<td valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C23 E</td>
<td valign="top">Object &amp;1 is not a database file.</td>
</tr>
<tr>
<td valign="top">CPF3C26 E</td>
<td valign="top">File &amp;1 has no members.</td>
</tr>
<tr>
<td valign="top">CPF3C3A E</td>
<td valign="top">Value for parameter &amp;2 for API &amp;1 not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C90 E</td>
<td valign="top">Literal value cannot be changed.</td>
</tr>
<tr>
<td valign="top">CPF8100 E</td>
<td valign="top">All CPF81xx messages could be returned. xx is from 01 to
FF.</td>
</tr>
<tr>
<td valign="top">CPF9800 E</td>
<td valign="top">All CPF98xx messages could be signaled. xx is from 01 to
FF.</td>
</tr>
</table>
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#top_Of_Page">Top</a> | <a href=
"file1.htm">Database and File APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
<br>
<hr>
API Introduced: V3R7
<hr>
</body>
</html>