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

57 lines
4.1 KiB
HTML
Raw 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 to and from source files using the Copy Source File (CPYSRCF) command" />
<meta name="abstract" content="The Copy Source File (CPYSRCF) command is designed to operate with database source files. Although it is similar in function to the Copy File (CPYF) command, the CPYSRCF command provides defaults that are normally used for copying a source file." />
<meta name="description" content="The Copy Source File (CPYSRCF) command is designed to operate with database source files. Although it is similar in function to the Copy File (CPYF) command, the CPYSRCF command provides defaults that are normally used for copying a source file." />
<meta name="DC.subject" content="Copy Source File (CPYSRCF) command, copying, source file, file, writing data to and from source file members, command, CL, CPYSRCF (Copy Source File)" />
<meta name="keywords" content="Copy Source File (CPYSRCF) command, copying, source file, file, writing data to and from source file members, command, CL, CPYSRCF (Copy Source File)" />
<meta name="DC.Relation" scheme="URI" content="rbafosrccpy.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/cpysrcf.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="rbafoucsrf" />
<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 to and from source files using the Copy Source File (CPYSRCF)
command </title>
</head>
<body id="rbafoucsrf"><a name="rbafoucsrf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy to and from source files using the Copy Source File (CPYSRCF)
command </h1>
<div><p>The Copy Source File (CPYSRCF) command is designed to operate with
database source files. Although it is similar in function to the Copy File
(CPYF) command, the CPYSRCF command provides defaults that are normally used
for copying a source file.</p>
<p>For example, it has a default that assumes the TOMBR parameter is the same
as the FROMMBR parameter and that any TOMBR records are always replaced. The
CPYSRCF command also supports a unique printing format when TOFILE(*PRINT)
is specified. Therefore, when you are copying database source files, you might
want to use the CPYSRCF command.</p>
<p>The CPYSRCF command automatically converts the data from the from-file
CCSID to the to-file CCSID.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafosrccpy.htm" title="The Copy Source File (CPYSRCF) and Copy File (CPYF) commands can be used to write data to and from source file members. When you are copying from a database source file to another database source file that has an insert trigger associated with it, the trigger program is called for each record copied.">Copy source file data</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/cpysrcf.htm">Copy Source File (CPYSRCF) command</a></div>
</div>
</div>
</body>
</html>