ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafocopytable.htm

78 lines
4.9 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="concept" />
<meta name="DC.Title" content="Copy a file" />
<meta name="abstract" content="You can copy a file using the copy a table operation in iSeries Navigator or using the Copy File (CPYF) command." />
<meta name="description" content="You can copy a file using the copy a table operation in iSeries Navigator or using the Copy File (CPYF) command." />
<meta name="DC.subject" content="copy, table, file, command, CL, Copy File (CPYF), CPYF (Copy File)" />
<meta name="keywords" content="copy, table, file, command, CL, Copy File (CPYF), CPYF (Copy File)" />
<meta name="DC.Relation" scheme="URI" content="rbafofileop.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/cpyf.htm" />
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbafocopytable" />
<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>Copy a file</title>
</head>
<body id="rbafocopytable"><a name="rbafocopytable"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy a file</h1>
<div><p>You can copy a file using the copy a table operation in <span class="keyword">iSeries™ Navigator</span> or using the Copy File (CPYF)
command.</p>
<div class="section" id="rbafocopytable__rbafocpyton"><a name="rbafocopytable__rbafocpyton"><!-- --></a><h4 class="sectiontitle">Copy a file (table) using iSeries Navigator</h4><div class="p">Copying
a table to a different schema creates two instances of the same table. To
copy a table to a different schema, follow these steps:<ol><li>From iSeries Navigator,
expand the system you want to use.</li>
<li>Expand <span class="uicontrol">Databases</span>.</li>
<li>Expand the database and schema that you want to work with.</li>
<li>Click the <span class="uicontrol">Tables</span> container.</li>
<li>Right-click the table and click <span class="uicontrol">Copy</span>.</li>
<li>Right-click the schema you want to copy the table to and click <span class="uicontrol">Paste</span>.</li>
</ol>
</div>
<p>Distributed data management (DDM) is used by iSeries Navigator
to actually move or copy the table. If the operating system on the source
system is running Version 4 Release 4 or later and if the operating system
on the target system is running Version 4 Release 2 or later, the operation
is performed using DDM over TCP/IP. Otherwise the operation is performed using
DDM over SNA. For a move or copy operation using DDM over SNA, the names by
which iSeries Access
knows the systems must be the same as the remote location names specified
in the APPC or APPN device descriptions used by DDM. For a move or copy operation
using DDM over TCP/IP, TCP communications must be enabled between the systems.
For TCP/IP, it is important to note that TCP/IP must be enabled between the
systems as they are known to iSeries Access.</p>
</div>
<div class="section" id="rbafocopytable__rbafocpyf"><a name="rbafocopytable__rbafocpyf"><!-- --></a><h4 class="sectiontitle">Copy a file using the Copy File (CPYF) command</h4><p>The
Copy File (CPYF) command copies all or part of a database or external device
file to a database or external device file.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafofileop.htm" title="These topics describe two basic operations for managing database files: copying a file and moving a file.">Basic operations for managing database files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/cpyf.htm">Copy File (CPYF) command</a></div>
</div>
</div>
</body>
</html>