How to see records in ALL Files to an OutFile

80 pts.
Tags:
AS/400 output files
AS/400 Query
I have a programmer that wants to see all Files in a specific library that have 0 records. I know I can do a dspfd on all files in a specific library but I can't display it to an outfile. I wanted to run a query over the outfile. Can someone offer any suggestions on which command or program I could use? Thanks so much !

Answer Wiki

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

Yes, you can send DSPFD to an outfile.
Use *MBRLIST for the type
and you’ll want to limit it to FILEATR *PF

Then you’ll have fields like
Current number of records MLNRCD
Number of deleted records MLNDTR

At least you can in V6R1
Phil

Discuss This Question: 1  Reply

 
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.
  • Alison883
    Phil Thanks so much for the correct command, it worked perfectly. I knew there had to be a way but I just couldn't get it right.
    80 pointsBadges:
    report

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.

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

Following

Share this item with your network: