This is great, but how do you do this for all librarys and all files?
SELECT * FROM TABLE (QSYS2.OBJECT_STATISTICS('','')) AS x
Hoping that would give me everything, and different combinations of above query but nothing.
Here is what I did to get what I needed:
SELECT * FROM QSYS2.SYSTABLES
ORDER BY last_altered_timestamp
From: Jack Callahan [mailto:jjcllhn@xxxxxxxxx]
Sent: Monday, January 13, 2014 10:31 AM
Subject: RE: SQL query by object creation date
If you're on i7.1 TR7, there's a table function QSYS2.OBJECT_STATISTICS() that will provide an object creation timestamp without having to use the DSPOBJD command.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l