|
Even if the production logical files are in different libraries than the based on physical files, you can still get copies in two different test libraries. The trick is to first CRTDUPOBJ the physical file to the test physical file library, CRTDUPOBJ the logical file to the same test physical file library, and then MOVOBJ the logical file from the test physical file library to the test logical file library. We have a utility that does all of this for us. Try the following: CRTDUPOBJ PFNME PRODPFLIB *FILE TESTPFLIB DATA(*YES) CRTDUPOBJ LFNAME PRODLFLIB *FILE TESTPFLIB DATA(*YES) MOVOB TESTPFLIB/LFNAME *FILE TESTLFLIB Charles L.Massoglia, President Massoglia Technical Consulting, Inc. cmassoglia@voyager.net In MI 517-676-9700 or in NC 919-363-9395 ----- Original Message ----- From: "David Wright" <dwright@celsinc.com> To: <midrange-l@midrange.com> Sent: Monday, 18 February, 2002 17:31 Subject: RE: Logical Files > Unfortunately, the logicals and physicals are not always in the same > library... And that is where I have been having trouble. > > I may write a CL to move all of my physicals into the same library for my > TST environment... > Then I can CRTDUPOBJ all of my logicals into the same library... > > Maybe that will work :) > > Thanks for the ideas.... > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > 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.