|
Brian, If Logicals exist over the target file, then: CHGLF MAINT(*REBLD), copy the file and then CHGLF MAINT(*IMMED). If the physical file is keyed and you do not care about the record sequence, then: change the From Record value from *START to 1. That will copy records in relative record sequence rather that key sequence which improves the speed. Don Tully Tully Consulting LLC -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Brian Piotrowski Sent: Sunday, November 06, 2005 8:51 AM To: Midrange Systems Technical Discussion Subject: Copying Large PF Files - Quickest Way? Hi All, What is the quickest way to copy a PF from one source to another? I have two physical files that are about 2.5 - 3.5 million records that I would like to copy. However, if I do the standard cpyf command, it takes hours to copy the files. Is there any easy (and quick!) way to do this operation that won't tie up my server (and my time) for hours? Thanks! Brian. -=-=-=-=-=-=-=-=-=-=-=-=-=- Brian Piotrowski Specialist - I.T. Simcoe Parts Service, Inc. PH: 705-435-7814 FX: 705-435-6746 -=-=-=-=-=-=-=-=-=-=-=-=-=- -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.