|
Easy task, but the problem is that the Member Last Changed Date is being updated to the current date. Is there any way to accomplish this conversion, yet retain the original changed date?
You'd have to copy each member, and then go in and update the last changed date after the fact so that it points back to the original date. IBM doesn't provide an easy way to change this date.
However, Leif Svalgaard covered this in his e-book on MI programming in Chapter 8. He explained how the member information is stored under the covers, and how an MI program can modify the change date.
He even went so far as to include a CHGMBR command that served as a front end, and could change the date.
The unfortunate part is that you have to patch your program to make it run in *SYSTEM domain in order to do this. And IBM is working to make it difficult, if not impossible, to keep doing that. I don't know if the CHGMBR command will work in V5R4? It might. But almost certainly won't work in future releases. This may not matter to you, I don't know.
Anyway, Leif's book can be found at the following link: http://iseries400.org
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.