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

77 lines
6.7 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="iSeries Access Family copy command considerations" />
<meta name="abstract" content="The iSeries CL command Copy from Personal Computer Document (CPYFRMPCD) used in iSeries Access Family can be used to copy data from a document located either on an iSeries server to a database file member located on the same iSeries server or on a remote iSeries server using DDM." />
<meta name="description" content="The iSeries CL command Copy from Personal Computer Document (CPYFRMPCD) used in iSeries Access Family can be used to copy data from a document located either on an iSeries server to a database file member located on the same iSeries server or on a remote iSeries server using DDM." />
<meta name="DC.subject" content=", Client Access, copy command function, command, CPYFRMPCD (Copy from PC Document), Copy from PC Document (CPYFRMPCD), command, CL, CPYFRMPCD (Copy from PC Document), PC document, copying from, copying, from PC document, CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), Copy to PC Document (CPYTOPCD), copying to, to PC document, CPYFRMPCD (Copy From PC Document), CPYTOPCD (Copy To PC Document), CPYFRMPCD (Copy from PC Document), Copy from PC Document (CPYFRMPCD), Copy from PC Document (CPYFRMPCD), PC document, copying from, from PC document, CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), to PC document, FROMFILE parameter" />
<meta name="keywords" content=", Client Access, copy command function, command, CPYFRMPCD (Copy from PC Document), Copy from PC Document (CPYFRMPCD), command, CL, CPYFRMPCD (Copy from PC Document), PC document, copying from, copying, from PC document, CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), Copy to PC Document (CPYTOPCD), copying to, to PC document, CPYFRMPCD (Copy From PC Document), CPYTOPCD (Copy To PC Document), CPYFRMPCD (Copy from PC Document), Copy from PC Document (CPYFRMPCD), Copy from PC Document (CPYFRMPCD), PC document, copying from, from PC document, CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), CPYTOPCD (Copy to PC Document), Copy to PC Document (CPYTOPCD), to PC document, FROMFILE parameter" />
<meta name="DC.Relation" scheme="URI" content="rbae5apc.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="rbae5famcopy" />
<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>iSeries Access Family copy command
considerations</title>
</head>
<body id="rbae5famcopy"><a name="rbae5famcopy"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="keyword">iSeries Access Family</span> copy command
considerations</h1>
<div><p>The <span class="keyword">iSeries™</span> CL command <span class="cmdname">Copy
from Personal Computer Document (CPYFRMPCD)</span> used in <span class="keyword">iSeries Access Family</span> can
be used to copy data <em>from</em> a document located either on an <span class="keyword">iSeries server</span> <em>to</em> a database file member
located on the same <span class="keyword">iSeries server</span> or
on a remote <span class="keyword">iSeries server</span> using
DDM.</p>
<div class="section"><div class="p">The CL command <span class="cmdname">Copy to Personal Computer Document (CPYTOPCD)</span> can
be used to copy data <em>from</em> a database file member on a local <span class="keyword">iSeries server</span> or a remote <span class="keyword">iSeries server</span> (using
DDM) <em>to</em> a document on the local <span class="keyword">iSeries server</span>.
The remote file can be on a target <span class="keyword">iSeries server</span> or
a non-<span class="keyword">iSeries server</span>. To use these
commands, specify the name of a DDM file on the: <ul><li>TOFILE parameter in the <span class="cmdname">Copy from PC Document (CPYFRMPCD)</span> command,
to copy a personal computer document to an <span class="keyword">iSeries</span> physical
file.</li>
<li>FROMFILE parameter in the <span class="cmdname">Copy to PC Document (CPYTOPCD)</span> command,
to copy a member from an <span class="keyword">iSeries</span> database
file to a personal computer document in a folder.</li>
</ul>
The following restrictions apply to the CL copy commands for <span class="keyword">iSeries Access Family</span>: <ul><li>For the <span class="cmdname">CPYFRMPCD</span> command, a remote file cannot be
created on the target server (whether it is an <span class="keyword">iSeries server</span> or
a non-<span class="keyword">iSeries server</span>). The remote
file must already exist before the personal computer document data can be
copied to it. However, if the target is an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38™</span>, a new member can
be created for the remote file before the personal computer document data
is copied to that file member.</li>
<li>The <span class="cmdname">CPYFRMPCD</span> and <span class="cmdname">CPYTOPCD</span> commands
are <span class="keyword">iSeries</span> CL commands and
cannot be entered at the DOS prompt from the personal computer.</li>
</ul>
</div>
</div>
<div class="section"><p>For more information on the <span class="cmdname">CPYTOPCD</span> and the <span class="cmdname">CPYFRMPCD</span> commands,
see the online help information.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5apc.htm" title="The iSeries Access Family supports DDM for accessing remote files, with limitations.">iSeries Access Family considerations for DDM</a></div>
</div>
</div>
</body>
</html>