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

87 lines
6.8 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="OVRDBF (Override with Database File) command" />
<meta name="abstract" content="The Override with Database File (OVRDBF) command can be used with DDM to override (replace) a local database file named in the program with a DDM file; the DDM file causes the associated remote file to be used by the program instead of the local database file." />
<meta name="description" content="The Override with Database File (OVRDBF) command can be used with DDM to override (replace) a local database file named in the program with a DDM file; the DDM file causes the associated remote file to be used by the program instead of the local database file." />
<meta name="DC.subject" content="command, DDM-related, CL command considerations, OVRDBF (Override with Database File), command, OVRDBF (Override with Database File), Override with Database File (OVRDBF), command, CL, Override with Database File (OVRDBF), database file, overriding with, overriding with, database file" />
<meta name="keywords" content="command, DDM-related, CL command considerations, OVRDBF (Override with Database File), command, OVRDBF (Override with Database File), Override with Database File (OVRDBF), command, CL, Override with Database File (OVRDBF), database file, overriding with, overriding with, database file" />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdcnsd.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5addcons.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5expmbrs.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="rbae5ovrdbf" />
<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>OVRDBF (Override with Database File) command</title>
</head>
<body id="rbae5ovrdbf"><a name="rbae5ovrdbf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="cmdname">OVRDBF (Override with Database File)</span> command</h1>
<div><p>The <span class="cmdname">Override with Database File (OVRDBF)</span> command
can be used with DDM to override (replace) a local database file named in
the program with a DDM file; the DDM file causes the associated remote file
to be used by the program instead of the local database file.</p>
<div class="section"><p>If a DDM file is specified on the TOFILE parameter and if other
parameters are specified that change a file's attributes, the result is that
the remote file actually used by the program is used with its attributes changed
by the parameter values specified on the <span class="cmdname">OVRDBF</span> command.</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>, existing programs
that use the <span class="cmdname">OVRDBF</span> command to access remote files work
the same as when they access local files. All the <span class="cmdname">OVRDBF</span> parameters
are processed the same on source and target <span class="keyword">iSeries server</span>s.</p>
</div>
<div class="section"><p>If end-of-file delay (EOFDLY) is used, it is recommended to end
a job with an end-of-file record because if the source job gets canceled,
the target job does not get notified. The user must also end the target job.</p>
</div>
<div class="section"><p>If the target server is neither an <span class="keyword">iSeries server</span> nor
a <span class="keyword">System/38</span>: </p>
<ul><li>The following parameters are still valid: TOFILE, POSITION, RCDFMTLCK,
WAITFILE, WAITRCD, LVLCHK, EXPCHK, INHWRT, SECURE, SHARE, and SEQONLY. <ul><li>The TOFILE parameter is always processed on the source server. When a
DDM file name is specified on this parameter, the program uses the associated
remote file instead of the local database file specified in the program.</li>
<li>The RCDFMTLCK parameter, if specified, is valid only if both
of the following are true of the remote file used: only one type of lock condition
can be requested for the remote file, and the record format name in the remote
file must be the same as the name of the DDM file.</li>
<li>The WAITFILE and WAITRCD parameters have no effect on remote file processing.</li>
</ul>
</li>
<li>The MBR parameter causes an error if it is specified with a member name
that is different than the name of the file containing the member.</li>
<li>The FRCRATIO and NBRRCDS parameters, if specified, are ignored.</li>
<li>The FMTSLR parameter, if specified, causes an error when the file being
opened is a DDM file.</li>
<li>The SEQONLY parameter causes records to be blocked on the source side.
Records might be lost if the source job is canceled before a block is full.</li>
</ul>
</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="rbae5addcons.htm" title="This topic describes additional considerations for the SBMRMTCMD command.">Additional considerations: SBMRMTCMD command</a></div>
<div><a href="rbae5expmbrs.htm" title="These examples show how access to a DDM file becomes an indirect reference (by using DDM) to a member of a file on a remote iSeries server. These examples are iSeries server-to-iSeries server examples.">Example: Access DDM remote members (iSeries server only)</a></div>
</div>
</div>
</body>
</html>