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 !
ASKED: April 6, 2009  4:41 PM
UPDATED: April 6, 2009  7:19 PM

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.

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

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