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

66 lines
4.1 KiB
HTML
Raw Permalink 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="Examples: CRTDDMF command" />
<meta name="abstract" content="These examples display different uses for the CRTDDMF command." />
<meta name="description" content="These examples display different uses for the CRTDDMF command." />
<meta name="DC.Relation" scheme="URI" content="rbae5ddm_crtddmf.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="rbae5crtddmfex" />
<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>Examples: CRTDDMF command</title>
</head>
<body id="rbae5crtddmfex"><a name="rbae5crtddmfex"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Examples: <span class="cmdname">CRTDDMF</span> command</h1>
<div><p>These examples display different uses for the <span class="cmdname">CRTDDMF</span> command.</p>
<div class="section"><h4 class="sectiontitle">Example: Create a DDM file to access a file
on a <span class="keyword">System/38™</span></h4> <pre>CRTDDMF FILE(SOURCE/SALES) RMTFILE(*NONSTD 'SALES.REMOTE')
RMTLOCNAME(NEWYORK)</pre>
<p>This command creates a DDM file named
SALES and stores it in the SOURCE library on the source server. This DDM file
uses the remote location NEWYORK to access a remote file named SALES stored
in the REMOTE library on a <span class="keyword">System/38</span> in
New York.</p>
</div>
<div class="section"><h4 class="sectiontitle">Example: Create a DDM file to access a file member on an <span class="keyword">iSeries™ server</span></h4><pre>CRTDDMF FILE(SOURCE/SALES) RMTLOCNAME(NEWYORK)
RMTFILE(*NONSTD 'REMOTE/SALES(APRIL)')</pre>
<p>This command creates
a DDM file similar to the one in the previous example, except that now it
accesses the member named APRIL in the remote SALES file stored in the REMOTE
library on an <span class="keyword">iSeries server</span>.</p>
</div>
<div class="section"><h4 class="sectiontitle">Example: Create a DDM file to access a file on a <span class="keyword">System/36™</span></h4><pre>CRTDDMF FILE(OTHER/SALES) RMTFILE(*NONSTD 'PAYROLL')
RMTLOCNAME(DENVER) LVLCHK(*NO)</pre>
<p>This command creates a DDM
file named SALES, and stores it in the library OTHER on the source server.
The remote location DENVER is used by the DDM file to access a remote file
named PAYROLL on a <span class="keyword">System/36</span> in
Denver. No level checking is performed between the PAYROLL file and the application
programs that access it. Because the ACCMTH parameter was not specified, the
access method for the target server is selected by the source <span class="keyword">iSeries server</span> when
the DDM file is opened to access the remote file.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5ddm_crtddmf.htm" title="The Create DDM File (CRTDDMF) command creates a DDM file on the local (source) server.">CRTDDMF (Create DDM File) command</a></div>
</div>
</div>
</body>
</html>