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

57 lines
5.0 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="concept" />
<meta name="DC.Title" content="Copy source file data" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta name="DC.subject" content="source file, copying data, data, copying source file, Copy Source File (CPYSRCF) command, CPYSRCF (Copy Source File) command, Copy Source File (CPYSRCF) command, command, CL, CPYSRCF (Copy Source File), Copy Source File (CPYSRCF), Copy File (CPYF) command, writing data to and from source file members, CPYF (Copy File) command, writing data to and from source file members, CPYF (Copy File), writing data to and from source file members, Copy File (CPYF), file, copying" />
<meta name="keywords" content="source file, copying data, data, copying source file, Copy Source File (CPYSRCF) command, CPYSRCF (Copy Source File) command, Copy Source File (CPYSRCF) command, command, CL, CPYSRCF (Copy Source File), Copy Source File (CPYSRCF), Copy File (CPYF) command, writing data to and from source file members, CPYF (Copy File) command, writing data to and from source file members, CPYF (Copy File), writing data to and from source file members, Copy File (CPYF), file, copying" />
<meta name="DC.Relation" scheme="URI" content="rbafosrcwrk.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoucsrf.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafocpyfi.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafossqnb.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="rbafosrccpy" />
<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 source file data</title>
</head>
<body id="rbafosrccpy"><a name="rbafosrccpy"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy source file data</h1>
<div><p>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.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafoucsrf.htm">Copy to and from source files using the Copy Source File (CPYSRCF) command</a></strong><br />
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.</li>
<li class="ulchildlink"><strong><a href="rbafocpyfi.htm">Use the Copy File (CPYF) command for copying to and from files</a></strong><br />
The Copy File (CPYF) command provides additional functions over the Copy Source File (CPYSRCF) command in copying to and from source files.</li>
<li class="ulchildlink"><strong><a href="rbafossqnb.htm">Source sequence numbers used in copies</a></strong><br />
When you copy to a database source file, you can use the SRCOPT parameter to update sequence numbers and initialize dates to zeros.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafosrcwrk.htm" title="These topics describe how to enter and maintain data using various methods.">Work with source files</a></div>
</div>
</div>
</body>
</html>