James,

Do it the same way that the SAVCHGOBJ command does it, by using the library's changed object list.

See:
    https://www.mcpressonline.com/programming/rpg/uncover-the-secret-of-the-changed-object-list-col


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:

    https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/qsrlsavf.htm

HTH,

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?

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.