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

54 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="Copy files that contain user-defined types" />
<meta name="abstract" content="You can specify CRTFILE(*YES) on the CPYF and CPYFRMQRYF commands when you copy files that contain user-defined types (UDTs). If the from-file is an SQL table, view, or index that contains a UDT, these commands create an SQL table." />
<meta name="description" content="You can specify CRTFILE(*YES) on the CPYF and CPYFRMQRYF commands when you copy files that contain user-defined types (UDTs). If the from-file is an SQL table, view, or index that contains a UDT, these commands create an SQL table." />
<meta name="DC.Relation" scheme="URI" content="rbal3copycomplex.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/cpyf.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/cpyfrmqryf.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3cpyudt" />
<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 files that contain user-defined types</title>
</head>
<body id="rbal3cpyudt"><a name="rbal3cpyudt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy files that contain user-defined types</h1>
<div><p>You can specify CRTFILE(*YES) on the CPYF and CPYFRMQRYF commands
when you copy files that contain user-defined types (UDTs). If the from-file
is an SQL table, view, or index that contains a UDT, these commands create
an SQL table.</p>
<p>You can copy UDTs to other UDTs using FMTOPT(*MAP), provided that you are
copying from and to the same (identical) UDT. You can also copy from a non-UDT
to a UDT, provided that the source type is compatible. Data mapping is not
allowed if you are copying between UDTs that are not identical. Also, data
mapping is not allowed if you are copying from a UDT to a non-UDT.</p>
<p>You cannot copy DDM files that contain user-defined types to <span class="keyword">iSeries™</span> servers.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3copycomplex.htm" title="You can copy from and to files that contain user-defined functions (UDFs), user-defined types (UDTs), DataLinks (DLs), large objects (LOBs), identity columns, or ROWIDs.">Copy complex objects</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/cpyf.htm">CPYF command</a></div>
<div><a href="../cl/cpyfrmqryf.htm">CPYFRMQRYF command</a></div>
</div>
</div>
</body>
</html>