I created a CL to do just that.
Created a file to hold output and the ran a query (query400) against that file, with output to print.
The query brakes out the date (last year used) so I can select on year.
CLRPFM FILE(QS36F/QS36FALL)
DSPOBJD OBJ(QS36F/*ALL) OBJTYPE(*ALL) DETAIL(*FULL) +
OUTPUT(*OUTFILE) OUTFILE(QS36F/QS36FALL)
RUNQRY QRY(#QUERY/LASTDATUSD)
I have this set to run at end of year to review programs, etc that have not been used in 5 years.
You can arrange the sort in any sequence you would like.
We found a surprising about of programs (one time only) that has not been used the first time we ran this.
William moore
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Monday, April 08, 2013 8:30 AM
To: 'Midrange Systems Technical Discussion'
Subject: Query/400 list of objects by date
Is there a OS/400 or TAATOOL utility to display all *QRYDFN objects by date?
For example I know my co-worked JonDoe wrote a query in his library for last month's EOM run on March 31, but don't recall the query name.
Kind of like PDM F15 option to sort members by date?
I can do DSPOBJD ObjType(*QRYDFN) to an *outfile. Anything with a single command??
Thanks
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit
http://www.symanteccloud.com ______________________________________________________________________
--
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.