83 lines
5.2 KiB
HTML
83 lines
5.2 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="Restrictions on the CPYFRMIMPF command" />
|
||
|
<meta name="abstract" content="There are certain restrictions that apply to the CPYFRMIMPF command." />
|
||
|
<meta name="description" content="There are certain restrictions that apply to the CPYFRMIMPF command." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal3usingcpyfrm.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal3usingcpyfrm.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/cpyfrmimpf.htm" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbal3restc" />
|
||
|
<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>Restrictions on the CPYFRMIMPF command</title>
|
||
|
</head>
|
||
|
<body id="rbal3restc"><a name="rbal3restc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Restrictions on the CPYFRMIMPF command</h1>
|
||
|
<div><p>There are certain restrictions that apply to the CPYFRMIMPF command.</p>
|
||
|
<ul><li>The data type of the from-file must be one of two types: <ul><li>A source physical file</li>
|
||
|
<li>A physical file with one field with a data type of CHARACTER, IGC OPEN,
|
||
|
IGC EITHER, IGC ONLY, GRAPHIC, fixed or variable length</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>The copied records might have the same relative record numbers in the
|
||
|
to-file as in the from-file.</li>
|
||
|
<li>Create the to-file before copying.</li>
|
||
|
<li>RCDDEL *ALL finds the first occurrence of CRLF, LFCR, CR, or LF. This
|
||
|
value will be used as the RCDDEL throughout the rest of the program.</li>
|
||
|
<li>The to-file and from-file cannot be the same file. <ul><li>If a record from the from-file cannot be imported, the process continues
|
||
|
based on the Errors Allowed (ERRLVL) parameter. When ERRLVL(*NOMAX) is defaulted
|
||
|
or specified while the ERRRCDFILE parameter is being used, incorrect error
|
||
|
records might be written to the ERRRCDFILE. This occurs for two reasons: record
|
||
|
blocking is performed from ERRLVL(*NOMAX) or because the copy might be using
|
||
|
multiple tasks to perform the request. To avoid having the incorrect records
|
||
|
appearing in the error record file, follow either of the following two suggestions:
|
||
|
use the ERRLVL(*NOMAX) parameter only after knowing the data can be copied
|
||
|
correctly or specify a numeric value rather than *NOMAX. When specifying a
|
||
|
numeric value, all the error records will be written to the ERRRCDFILE until
|
||
|
the ERRLVL number is exceeded or the end of file is reached. <div class="note"><span class="notetitle">Note:</span> Note that
|
||
|
you will need to specify a high enough number in order for the CPYFRMIMPF
|
||
|
to make it through the entire file.</div>
|
||
|
</li>
|
||
|
<li>If the from-file is a source file, the server does not copy the first
|
||
|
12 bytes of the record (Sequence field and Date field). If the to-file is
|
||
|
a source file, the server sets the first 12 bytes of the to-file's data (Sequence
|
||
|
field and Date field) to zeros.</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>You can use this command on files that contain user-defined types (UDTs),
|
||
|
user-defined functions (UDFs), identity columns, ROWIDs, and large objects
|
||
|
(LOBs). You cannot use this command on files that contain DataLinks (DLs).</p>
|
||
|
<p>Using the CPYFRMIMPF command with a JOBCCSID of 65535 might produce inaccurate
|
||
|
or unpredictable results.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3usingcpyfrm.htm" title="The Copy From Import File (CPYFRMIMPF) command maps or parses the data from ("import") an import file to the to-file.">Use the Copy From Import File (CPYFRMIMPF) command to copy between different servers</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rbal3usingcpyfrm.htm" title="The Copy From Import File (CPYFRMIMPF) command maps or parses the data from ("import") an import file to the to-file.">Use the Copy From Import File (CPYFRMIMPF) command to copy between different servers</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../cl/cpyfrmimpf.htm">CPYFRMIMPF command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|