×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This is great, but how do you do this for all librarys and all files?

I tried:

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



-----Original Message-----
From: Jack Callahan [mailto:jjcllhn@xxxxxxxxx]
Sent: Monday, January 13, 2014 10:31 AM
To: midrange-l@xxxxxxxxxxxx
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.

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.Object_Statistics%20table%20function%20ease%20of%20use
--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.



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-2026 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.