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

402 lines
10 KiB
HTML

<!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 File Override Information (QDMRTVFO) 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. -->
<!-- File SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--File Edited March 2001 -->
<!-- This file has undergone html cleanup on 10/04/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>Retrieve File Override Information (QDMRTVFO) 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%">Returned override information</td>
<td align="left" valign="top" width="20%">Output</td>
<td align="left" valign="top" width="20%">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Length of override information</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Format name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(8)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">File name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">5</td>
<td align="left" valign="top">Error code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *EXCLUDE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Retrieve File Override Information (QDMRTVFO) API returns the name of
the file, library, member and final type of override that result from
processing TOFILE or MBR overrides for the user specified file name. Overrides
will be processed in the following sequence:</p>
<ul>
<li>Any call level overrides up to and including the level of the activation
group's oldest procedure</li>
<li>Any activation group level overrides</li>
<li>Any remaining call level overrides</li>
<li>Overrides at the job level</li>
</ul>
<br>
<!-- Please NOTE: DO NOT DELETE THIS SECTION if this API has no authorities and locks. -->
<!-- Instead, use the commented out coding below to indicate NONE. -->
<h3>Authorities and Locks</h3>
<!-- Use this if there are no authorities and locks. -->
<p>None.</p>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Returned override information</strong></dt>
<dd>OUTPUT; CHAR(*)
<p>The structure in which to return information for file overrides processed.
It can be smaller than the format requested as long as the next parameter,
length of override information, specifies the length correctly. When this
variable is smaller than the format, the API returns only the data the variable
can hold.</p>
</dd>
<dt><strong>Length of override information</strong></dt>
<dd>INPUT; BINARY(4)
<p>Variable that contains the length of the user provided output area. The
minimum length is 8 bytes. If you specify a length that is longer than the
returned override information, the results will be unpredictable.</p>
</dd>
<dt><strong>Format name</strong></dt>
<dd>INPUT; CHAR(8)
<p>The content and format of the information returned for each file. The
possible format names are:</p>
<table>
<tr>
<td width="15%" valign="top"><em>OVRL0100</em></td>
<td width="85%" valign="top">File override information.</td>
</tr>
</table>
<br>
<p>For more information, see <a href="#HDROVRL1">OVRL0100 Format</a></p>
</dd>
<dt><strong>File name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The name of the file to return override information.</p>
</dd>
<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>.</p>
</dd>
</dl>
<br>
<h3><a name="HDROVRL1">OVRL0100 Format</a></h3>
<table border width="80%">
<tr>
<th align="center" valign="bottom" colspan="2">Offset</th>
<th align="left" valign="bottom" rowspan="2">Type</th>
<th align="left" valign="bottom" rowspan="2">Field</th>
</tr>
<tr>
<th align="center" valign="bottom">Dec</th>
<th align="center" valign="bottom">Hex</th>
</tr>
<tr>
<td align="center" valign="top" width="10%">0</td>
<td align="center" valign="top" width="10%">0</td>
<td align="left" valign="top" width="20%">BINARY(4)</td>
<td align="left" valign="top" width="60%">Bytes returned</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="center" valign="top">4</td>
<td align="left" valign="top">BINARY(4)</td>
<td align="left" valign="top">Bytes available</td>
</tr>
<tr>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8</td>
<td align="left" valign="top">CHAR(10)</td>
<td align="left" valign="top">File name used</td>
</tr>
<tr>
<td align="center" valign="top">18</td>
<td align="center" valign="top">12</td>
<td align="left" valign="top">CHAR(10)</td>
<td align="left" valign="top">Library name used</td>
</tr>
<tr>
<td align="center" valign="top">28</td>
<td align="center" valign="top">1C</td>
<td align="left" valign="top">CHAR(10)</td>
<td align="left" valign="top">Member name used</td>
</tr>
<tr>
<td align="center" valign="top">38</td>
<td align="center" valign="top">26</td>
<td align="left" valign="top">CHAR(10)</td>
<td align="left" valign="top">Final override type</td>
</tr>
</table>
<br>
<br>
<h3>Field Descriptions</h3>
<p><strong>Bytes available.</strong> The number of bytes of data available to
be returned. All available data is returned if enough space is provided.</p>
<p><strong>Bytes returned.</strong> The number of bytes of data returned.</p>
<p><strong>File name used.</strong> The file name that results from processing
file overrides for the user provided file name. This field will be set to
blanks in the following cases:</p>
<ul>
<li>There are no overrides for the file name specified.</li>
<li>Overrides exist but the TOFILE parameter was not specified.</li>
</ul>
<p><strong>Final override type.</strong> This field will contain the final
override type applied to the file.<br>
This field will be set to the final type of override command specified as
follows:</p>
<table width="100%">
<tr>
<td width="15%" valign="top"><em>BSC</em></td>
<td width="85%" valign="top">Binary synchronous communications (BSC)</td>
</tr>
<tr>
<td valign="top"><em>CMN</em></td>
<td valign="top">Communications</td>
</tr>
<tr>
<td valign="top"><em>DB</em></td>
<td valign="top">Database</td>
</tr>
<tr>
<td valign="top"><em>DDM</em></td>
<td valign="top">Distributed data management</td>
</tr>
<tr>
<td valign="top"><em>DKT</em></td>
<td valign="top">Diskette</td>
</tr>
<tr>
<td valign="top"><em>DSP</em></td>
<td valign="top">Display</td>
</tr>
<tr>
<td valign="top"><em>ICF</em></td>
<td valign="top">Intersystem communications function</td>
</tr>
<tr>
<td valign="top"><em>MXD</em></td>
<td valign="top">Mixed</td>
</tr>
<tr>
<td valign="top"><em>PRT</em></td>
<td valign="top">Printer</td>
</tr>
<tr>
<td valign="top"><em>SAV</em></td>
<td valign="top">Save</td>
</tr>
<tr>
<td valign="top"><em>TAP</em></td>
<td valign="top">Tape</td>
</tr>
</table>
<br>
<p>This field will be set to blanks in the following cases:</p>
<ul>
<li>There are no overrides for the file name specified.</li>
<li>There are overrides but neither TOFILE nor MBR parameters were
specified.</li>
</ul>
<p><strong>Library name used.</strong> The library name which results from
processing file overrides for the user provided file name including the values
*LIBL and *CURLIB.</p>
<p>This field will be set to blanks in the following cases:</p>
<ul>
<li>There are no overrides for the file name specified.</li>
<li>Overrides exist but TOFILE was not specified.</li>
</ul>
<p>This will be set to *LIBL if the file name is being overridden and library
name is not.</p>
<p><strong>Member name used.</strong> The member name which results from
processing file overrides for the user provided file name including the values
*FIRST, *LAST and *ALL. This field will be set to *FIRST when the final
override type is Data Base and the member is not being overridden.</p>
<p>This field will be set to blanks in the following cases:</p>
<ul>
<li>There are no overrides for the file name specified.</li>
<li>Override type is not DB.</li>
<li>Override type is DB, but neither TOFILE nor MBR were specified.</li>
</ul>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="3">
<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">CPF3C24 E</td>
<td valign="top">Length of the receiver variable is not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C90 E</td>
<td valign="top">Literal value cannot be changed.</td>
</tr>
</table>
<br>
<hr>
API introduced: V3R1
<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>
</body>
</html>