AS400/Report 400- how to display last used date for report ?

5 pts.
Tags:
AS/400 Reports
We have an application that used REPORT400 to defined all reports for the application.

Is there any command to find out which reports are no longer in used (based on last used date)?



Software/Hardware used:
AS400, REPORT400 Rel.10.5
ASKED: August 19, 2009  11:36 AM
UPDATED: August 19, 2009  1:28 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can create a temporary file of source member information from a source file using the cl command dspfd with *mbrlist as information type to an output file. You can then query on output file and see the last used date, which is one of the fields available in the IBM created QWHFDML format, which is created by the dspfd command.
Hope it helps.
Display File Description (DSPFD)

Type choices, press Enter.

File . . . . . . . . . . . . . . > QDDSSRC Name, generic*, *ALL
Library . . . . . . . . . . . > DEVLIB Name, *LIBL, *CURLIB…
Type of information . . . . . . > *MBRLIST *ALL, *BASATR, *ATR…
+ for more values
Output . . . . . . . . . . . . . > *OUTFILE *, *PRINT, *OUTFILE
File attributes . . . . . . . . *ALL *ALL, *DSPF, *PRTF, *DKTF…
+ for more values
File to receive output . . . . . > TEMPDDS Name
Library . . . . . . . . . . . > TJHLIB Name, *LIBL, *CURLIB
Output member options:
Member to receive output . . . *FIRST Name, *FIRST
Replace or add records . . . . *REPLACE *REPLACE, *ADD

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following