|
Now my knowledge is still in the NEW phase, however, from what I understand CHGPF will save you from have to recompile any logical files. So he would be saving in that step. Michael Schutte Work 614-492-7419 email michael_schutte@xxxxxxxxxxxx Scott Klement <rpg400-l@scottkl ement.com> To Sent by: RPG programming on the AS400 / rpg400-l-bounces@ iSeries <rpg400-l@xxxxxxxxxxxx> midrange.com cc Subject 04/04/2006 02:58 RE: Changing a PF PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@midrang e.com> Phil, When you change the DDS source for a PF, and then use CHGPF referencing the updated source member, it will update the file to use the changes in the DDS. So if you edit the DDS and add a field, you can use CHGPF, and it'll add the field to the file. AFIAK, using CHGPF this way is nearly identical to renaming the file, creating a new one with CRTPF and copying the data back. If there's a performance difference between the methods, I doubt that it's significant. The bigger problem is recompiling all of the programs that use teh external definition, and the time that that'll take. On Tue, 4 Apr 2006, Phil Kestenbaum wrote: > > Yes but I don't see how you can add a field to the file using CHGPF. > -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-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.