|
Joel, CHGPF will do all the steps except recompiling programs. It recompiles the PF, moves the data, and rebuilds the logicals. It still takes almost as much time but is a little faster than you doing it yourself. Plus, it doesn't forget any steps! Using CHGPF greatly simplifies making database changes. Scott Mildenberger > -----Original Message----- > From: Joel R. Cochran [mailto:jrc@masi-brac.com] > Sent: Tuesday, February 12, 2002 8:20 AM > To: 'rpg400-l@midrange.com' > Subject: RE: Subject: RE: PF with lotsa LFs > > > More than likely I don't know enough about the CHGPF command. > The way I > understand it (and the way my last corporation taught it) - > if you want to > change a PF, in order to recompile it you have to move the > data out and > delete all the logicals. Then you move the data back, > re-compile all the > LFs. Then you have to recompile all the programs that refer > to any of those > files (not necessarily in that order). We had several PFs > with more than a > hundred LFs and it became verbotten to do a physical file > change because of > the danger of missing something. If there is a better way > then I would love > to learn it although I don't have the same problem at this > job, but I hope > you can see why I hold that opinion. >
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.