|
>If you have to recompile >physical files, you will lose all the data there, so have to incorporate a >process to copy the data from the old layout to the new one, and also kill >all the logicals first & recompile them when all done. Not since V3R2 and V3R7+. Starting with those releases, CHGPF has a keyword SRCFILE() which makes the whole process automagic. You just point it to the new (ie changed) DDS and it remaps the data and takes care of the logicals too. It just needs exclusinve access to the file during the process. It issues a warning first if data could be lost -- e.g., a field is shortened or a field name has been dropped. I think I remember hearing there are some scenarios where the LF's aren't completely handled automatically, but that has never been the case in my experience. The thing has been working like a charm for me for years now. Doug +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.