67 lines
4.5 KiB
HTML
67 lines
4.5 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="Example: DDM file that opens a specific member" />
|
||
|
<meta name="abstract" content="A specific file member can be specified in the RMTFILE parameter, which is used only on the Create DDM File (CRTDDMF) and Change DDM File (CHGDDMF) commands, by using the *NONSTD value followed by the file, library, and member name." />
|
||
|
<meta name="description" content="A specific file member can be specified in the RMTFILE parameter, which is used only on the Create DDM File (CRTDDMF) and Change DDM File (CHGDDMF) commands, by using the *NONSTD value followed by the file, library, and member name." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbae5mbraccess.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="rbae5exspec" />
|
||
|
<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>Example: DDM file that opens a specific member</title>
|
||
|
</head>
|
||
|
<body id="rbae5exspec"><a name="rbae5exspec"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Example: DDM file that opens a specific member</h1>
|
||
|
<div><p>A specific file member can be specified in the RMTFILE parameter,
|
||
|
which is used only on the <span class="cmdname">Create DDM File (CRTDDMF)</span> and <span class="cmdname">Change
|
||
|
DDM File (CHGDDMF)</span> commands, by using the *NONSTD value followed
|
||
|
by the file, library, and member name.</p>
|
||
|
<div class="section"><p>This allows an application program to process a member other than
|
||
|
the first member (*FIRST) without using file overrides. However, if the program
|
||
|
requires redirection to more than one member, overrides should be used. Also,
|
||
|
programs that already use overrides to specify members of local files should
|
||
|
continue to do so, even if overrides to remote files are also used; otherwise,
|
||
|
programs that worked locally would no longer do so. If the RMTFILE parameter
|
||
|
contains a member name and an override with a different member name is in
|
||
|
effect, the file open requests fails.</p>
|
||
|
</div>
|
||
|
<div class="section"> <div class="note"><span class="notetitle">Note:</span> If you press F4 (Prompt) on the Create DDM File or Change
|
||
|
DDM File display, and specify the *NONSTD value with the remote
|
||
|
file name abcde, the server converts abcde to 'ABCDE' (all uppercase) and
|
||
|
the request is processed. However, if there is a slash or parenthesis in the
|
||
|
remote file name, the server puts single quotation marks around the name but
|
||
|
does not convert it to uppercase. Therefore, if you are using the *NONSTD
|
||
|
value for the remote file name and the target server requires uppercase file
|
||
|
names, type the remote file name in uppercase characters even when using F4
|
||
|
(Prompt).<pre>CRTDDMF FILE(DDMLIB/RMTCAR) RMTFILE(*NONSTD
|
||
|
'SALES/CAR(JULY)') RMTLOCNAME(CHICAGO)</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section"><p>When a program opens the DDM file named RMTCAR on the source server
|
||
|
DDMLIB library, the target <span class="keyword">iSeries™ server</span> opens
|
||
|
the member JULY in the file SALES/CAR.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5mbraccess.htm" title="Members are supported for database I/O operations only if the target server is an iSeries server or a System/38. Members are not supported if the target server is neither an iSeries server nor a System/38.">Access members with DDM</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|