 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CPYF and CRTDUPOBJ</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cpyf-and-crtdupobj/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-and-crtdupobj/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 02:14:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: ramvishakramesh</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-and-crtdupobj/#comment-105188</link>
		<dc:creator>ramvishakramesh</dc:creator>
		<pubDate>Wed, 21 Mar 2012 06:21:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-105188</guid>
		<description><![CDATA[CPYF – works only with file – Many options like copy from which record number, copy upto which record, the record format in case of multiformat logical file is a parameter, Copy from record key,copy to record key, number of records to be copied, can also mention some condition like include records which satisfy these condition, can specify whether To file contains a compressed form of from file.(Deleted records that existed in the from file will to be copied if compressed *yes is mentioned. IF *No, then both deleted and non deleted records are copied. TRIGGER will not be copied using this command, We have to use ADDPFTRG to add trigger. 
CRTDUPOBJ -  Used to copy single obj or group of objects. We can duplicate data, constraints and triggers. When a logical file is copied into another library, two cases determine the basing for the file:                                                                                                      
  1.  If both the logical file and its based-on physical file are originally in the same library, a duplicate of the physical file must be created in the new library before a duplicate of the logical file is created.  After these two duplicates are created, the new logical file is based on the new physical file.    
  2.  If the logical file and its based-on physical file are originally in different libraries, it is not necessary to duplicate the physical file before duplicating the logical file. Then the LF will be based on the original PF. Even if the pf is copied to new library, still the duplicated LF will be based on the original PF, not the duplicated PF.]]></description>
		<content:encoded><![CDATA[<p>CPYF – works only with file – Many options like copy from which record number, copy upto which record, the record format in case of multiformat logical file is a parameter, Copy from record key,copy to record key, number of records to be copied, can also mention some condition like include records which satisfy these condition, can specify whether To file contains a compressed form of from file.(Deleted records that existed in the from file will to be copied if compressed *yes is mentioned. IF *No, then both deleted and non deleted records are copied. TRIGGER will not be copied using this command, We have to use ADDPFTRG to add trigger.<br />
CRTDUPOBJ &#8211;  Used to copy single obj or group of objects. We can duplicate data, constraints and triggers. When a logical file is copied into another library, two cases determine the basing for the file:<br />
  1.  If both the logical file and its based-on physical file are originally in the same library, a duplicate of the physical file must be created in the new library before a duplicate of the logical file is created.  After these two duplicates are created, the new logical file is based on the new physical file.<br />
  2.  If the logical file and its based-on physical file are originally in different libraries, it is not necessary to duplicate the physical file before duplicating the logical file. Then the LF will be based on the original PF. Even if the pf is copied to new library, still the duplicated LF will be based on the original PF, not the duplicated PF.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.012 seconds using memcached
Object Caching 267/270 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 03:19:04 -->