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

66 lines
4.4 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="RNMOBJ (Rename Object) command" />
<meta name="abstract" content="The Rename Object (RNMOBJ) command can be used to rename a remote file." />
<meta name="description" content="The Rename Object (RNMOBJ) command can be used to rename a remote file." />
<meta name="DC.subject" content="command, DDM-related, CL command considerations, RNMOBJ (Rename Object), command, Rename Object (RNMOBJ), command, CL, Rename Object (RNMOBJ), object, renaming, RNMOBJ (Rename Object)" />
<meta name="keywords" content="command, DDM-related, CL command considerations, RNMOBJ (Rename Object), command, Rename Object (RNMOBJ), command, CL, Rename Object (RNMOBJ), object, renaming, RNMOBJ (Rename Object)" />
<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="rbae5rnmobj" />
<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>RNMOBJ (Rename Object) command</title>
</head>
<body id="rbae5rnmobj"><a name="rbae5rnmobj"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="cmdname">RNMOBJ (Rename Object)</span> command</h1>
<div><p>The <span class="cmdname">Rename Object (RNMOBJ)</span> command can be used
to rename a remote file.</p>
<div class="section"><p>The following items should be considered when using the SYSTEM
parameter values:</p>
<ul><li>When you specify *LCL, local objects are renamed. This might
include DDM files.</li>
<li>When you specify *RMT, this value applies only to OBJTYPE(*FILE). The
DDM file containing the remote file to be renamed is specified on the OBJ
parameter. <p>The DDM file containing the new name for the remote file is
specified on the NEWOBJ parameter. Both DDM files must already exist in the
same library (on the source server). The two DDM files must refer to the same
target servers and contain the same remote location information. Neither the
two local DDM files nor the RMTFILE names in the two DDM files are changed.
Specify *LCL to rename the DDM file or use the <span class="cmdname">Change DDM File (CHGDDMF)</span> command
to change the RMTFILE name in a DDM file.</p>
</li>
<li>When you specify *FILETYPE, this value applies only to OBJTYPE(*FILE).
If the file specified in the OBJ parameter is a DDM file, the rules when specifying
*RMT apply. If the file is not a DDM file, the rules when specifying *LCL
apply.</li>
</ul>
</div>
<div class="section"><p>When renaming remote files for <span class="keyword">iSeries™</span> and <span class="keyword">System/38™</span> targets, if library names have
been specified in the RMTFILE parameter for the two DDM files, the library
names must be the same but the file names must be different.</p>
</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>