Although others have suggested DSPOBJD and that might seem nice, consider that members are not objects [manifest to the user nor DSPOBJD] at the library level. Although the first data change should be reflected in the *FILE, to be sure all database members were included, I would also prefer to use the DSPFD to get either *MBR or *MBRLIST output for its change information. Regardless...
What is really desired here is the "changed object list" for the library. I described something about an actual usage of the COL in the APAR text for SE17466 which can be found at:
The MATCTX instruction provides the ability to provide selection for objects modified since a specified modification date\timestamp. I infer the "programming note" can be handled best, by passing the last full save date for the library. This would likely be just what the SAVCHGOBJ does to generate its list of objects. Unlike DSPOBJD, the MATCTX does return internal object types like the object type *MEM [aka x/0D50].
Richard Schoen wrote:
I'm putting together a process to back up changed libraries.
What's the fastest way to identify if at least one object in a library
has changed within the last 24hrs so I can back it up.
One option is SAVCHGOBJ, but I want to spin through al list of all
libraries and identify any where at least 1 object has changed.
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact