ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3copdev.htm

53 lines
3.5 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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 device source files to database source files" />
<meta name="abstract" content="When you copy from a device source file to a database source file, the server adds sequence number fields and date fields at the start of the records." />
<meta name="description" content="When you copy from a device source file to a database source file, the server adds sequence number fields and date fields at the start of the records." />
<meta name="DC.Relation" scheme="URI" content="rbal3sequence.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3copdev" />
<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 device source files to database source files</title>
</head>
<body id="rbal3copdev"><a name="rbal3copdev"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy device source files to database source files</h1>
<div><p>When you copy from a device source file to a database source file,
the server adds sequence number fields and date fields at the start of the
records.</p>
<p> The server assigns the first record a sequence number of 1.00, the next
2.00, and so on, increasing in increments of 1.00. If more than 9999 records
are copied, the sequence number wraps back to 1.00 and continues to increment
unless you specify the SRCOPT and SRCSEQ parameters on the copy command.</p>
<p>If several copies to the same file are made with MBROPT(*ADD), you will
have duplicate sequence numbers in the file. You can correct this using the <a href="../cl/rgzpfm.htm">Reorganize Physical File
Member (RGZPFM)</a> command.</p>
<p>Date fields are initialized to zeros.</p>
<p>When copying to or from a device, it is more efficient to use a device
data file than a device source file. The copy function automatically adds
or removes sequence number fields and date fields source sequence number and
date fields as necessary.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3sequence.htm" title="You can perform additions or changes to sequence number fields and date fields sequence number and date fields when you are copying files.">Add or changing source file sequence number and date fields (SRCOPT and SRCSEQ Parameters)</a></div>
</div>
</div>
</body>
</html>