Do it the same way that the SAVCHGOBJ command does it, by using the library's changed object list.
Or, just create a data area to track the last date/time you checked, and then issue a SAVCHGOBJ from that date/time, to a temporary save file (e.g. QTEMP/SAVF) and update that data area with the current date/time.
Then you can use DSPSAVF or the QSRLSAVF API to interrogate what was saved (changed). See:
Mark S. Waterbury
On Thursday, April 8, 2021, 4:26:10 PM EDT, James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Does anybody know of an easy way, without going through every object and
every file member individually, for a CL program to determine whether
anything has changed in a library?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2021 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.