|
I have used the CHGPF command with LVLCHK(*NO) and a source member to add fields to the end of the record format on-the-fly. Then after recompiling all the programs that touch the file, I change it back to LVLCHK(*YES). But I've never done it on a file with LFs built over it. Now I want to do this to a PF that has logicals over it and I'm apprehensive. The CHGLF command does not have SRCFILE and SRCMBR parms. Will the following work: 1) CHGLF LVLCHK(*NO) on all logicals. 2) Change the PF source member (and LF ones if applicable). 3) CHGPF with LVLCHK(*NO) and SRCFILE/SRCMBR. 4) CRTLF from source member with LVLCHK(*NO) for all logicals. 5) Compile all programs touching the PF or any LF. 6) CHGPF LVLCHK(*YES) 7) CHGLF LVLCHK(*YES) on all logicals. Thanks. -- Jeff Crosby Dilgard Frozen Foods, Inc. P.O. Box 13369 Ft. Wayne, IN 46868-3369 260-422-7531 The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.