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

59 lines
3.6 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="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="Prevent position errors when copying files" />
<meta name="abstract" content="When the copy file function cannot locate the first record to copy in the from-file member, a position error occurs." />
<meta name="description" content="When the copy file function cannot locate the first record to copy in the from-file member, a position error occurs." />
<meta name="DC.Relation" scheme="URI" content="rbal3preerr.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3prepos" />
<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>Prevent position errors when copying files</title>
</head>
<body id="rbal3prepos"><a name="rbal3prepos"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prevent position errors when copying files</h1>
<div><p>When the copy file function cannot locate the first record to copy
in the from-file member, a position error occurs.</p>
<div class="p">This can happen when using the <a href="../cl/cpyf.htm">CPYF</a>, <a href="../cl/cpysrcf.htm">CPYSRCF</a>,
or <a href="../cl/cpytotap.htm">CPYTOTAP</a> commands.
If any of the following conditions are true, you might receive a position
error for the from-file member: <ul><li>You specified the FROMKEY parameter, and all records in the member are
less than the FROMKEY value or the member is empty.</li>
<li>You specified the FROMRCD parameter beyond the end of the member or the
member is empty.</li>
<li>The value of the from-file member position (the POSITION parameter of
the <a href="../cl/ovrdbf.htm">OVRDBF</a> command)
is beyond the end of the member, is not valid for the access path of the from-file,
or the member is empty.</li>
</ul>
</div>
<p>If a member position error occurs, the member cannot be added to the to-file,
and no information about the member is added to the print lists.</p>
<p>If a member position error occurs during a copy operation that involves
multiple members, the copy operation will continue with the next member.</p>
<p>If a member position error occurs for all members, a print list is not
produced, and the to-file cannot be created.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3preerr.htm" title="You can prevent many copy errors when you plan for certain conditions and situations ahead of time.">Prevent errors when copying files</a></div>
</div>
</div>
</body>
</html>