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

67 lines
4.2 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="reference" />
<meta name="DC.Title" content="File management handling of DDM files" />
<meta name="abstract" content="Because of the way data management handles DDM files, you must be careful when specifying a member name on commands. If a member name is specified, data management first searches for a local database file containing the member specified before looking for a DDM file." />
<meta name="description" content="Because of the way data management handles DDM files, you must be careful when specifying a member name on commands. If a member name is specified, data management first searches for a local database file containing the member specified before looking for a DDM file." />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdcnsd.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="rbae5fmhandle" />
<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>File management handling of DDM files</title>
</head>
<body id="rbae5fmhandle"><a name="rbae5fmhandle"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">File management handling of DDM files</h1>
<div><p>Because of the way data management handles DDM files, you must
be careful when specifying a member name on commands. If a member name is
specified, data management first searches for a local database file containing
the member specified before looking for a DDM file.</p>
<div class="section"><p>For example, assume the following items:</p>
<ul><li>DDM file CUST021 is in library NYCLIB.</li>
<li>Database file CUST021 is in library CUBSLIB.</li>
</ul>
<p> NYCLIB is listed before CUBSLIB in the user's library list. CUBSLIB/CUST021
contains member NO1. The remote file pointed to by the DDM file contains member
NO1. If the following override is used on an <span class="cmdname">Override with Database
File (OVRDBF)</span> command:</p>
<pre>OVRDBF FILE(CUST021) MBR(NO1)</pre>
<p>Data
management finds the database file CUBSLIB/CUST021 instead of the DDM file
NYCLIB/CUST021.</p>
</div>
<div class="section"><p>To avoid this, you can do one of the following things:</p>
<ul><li>Qualify the TOFILE on the override: <pre>OVRDBF FILE(CUST021) TOFILE(NYCLIB/CUST021) MBR(NO1)</pre>
</li>
<li>Remove the library containing the database file from the library list:
<pre>RMVLIBLE LIB(CUBSLIB)</pre>
</li>
<li>Remove the override and change the remote file name in the DDM file to
contain the member name: <pre>CHGDDMF FILE(NYCLIB/CUST021)
RMTFILE(*NONSTD 'XYZ/CUSTMAST(NO1)')</pre>
</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>
</body>
</html>