|
James, If all your programs access the data through the logicals explicitly listing the fields then you can change the physical and programs using the logicals will still work even with LVLCHK(*YES). This method (all data access through logicals with explicitly named fields) is a good method to make it much easier to change database files. You just create a new version of the logicals and only change the programs that need to access the new field(s). I am currently working on a new project and this is how all data access is being done. Scott Mildenberger > -----Original Message----- > From: James W. Kilgore [mailto:qappdsn@attglobal.net] > Sent: Friday, February 01, 2002 1:28 AM > To: rpg400-l@midrange.com > Subject: Re: Externalizing input and output. > > > Here's another thought, if you don't want to go the SQL route, maybe > someone has already tried this: Use logical views explicitly listing > the fields desired. > One question though, if you run a CHGPF after adding new fields at the > end, do you still need LVLCHK(*NO) even though nothing in the logical > has changed?
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.