×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Suren,
One way you can find out what objects have changed in a given library is to use the SAVCHGOBJ command, as follows:
1. create a temporary save file in QTEMP, e.g.:
CRTSAVF QTEMP/SAVF
2. issue SAVCHGOBJ for the target library, as follows:
SAVCHGOBJ OBJ(*ALL) LIB(targetlib) DEV(*SAVF) OBJTYPE(*ALL) +
OBJJRN(*YES) REFDATE('07/01/24') SAVF(QTEMP/SAVF) +
UPDHST(*NO)
NOTE: UPDHST(*NO) is important as you do not want to "lose" that "last changed" information associated with the objects in the library.
3. to see what objects were changed, issue:
DSPSAVF SAVF(QTEMP/SAVF)
If you need to process that information in a program or store it in a file, you can issue DSPSAVF SAVF(QTEMP/SAVF) OUTPUT(*PRINT) and then read the spool file, or use the QSRLSAVF API.
Hope that helps,
Mark S. Waterbury
On Thursday, July 11, 2024 at 10:00:59 AM EDT, Suren K <suren7437@xxxxxxxxx> wrote:
Hi All,
I have a requirement under a specific library, we need to identify whether
an existing object got modified or a new object got added to the library.
Other than Journal, do we have any IBMi-provided system file object that
will contain these details?
Regards,
Suren
As an Amazon Associate we earn from qualifying purchases.