DSPFD and DSPDBR

255 pts.
Tags:
AS/400
DSPDBR
DSPFD
RPG

Hi, Difference in the no of physical file count in a library using the DSPFD command and DSPDBR.

DSPFD FILE(/) TYPE(*MBR) OUTPUT(*OUTFILE) OUTFILE(/File1) OUTMBR(*FIRST *ADD)

When I try to take the count of this outfile for type ='P' the value is 1000(For eg).

But when I store the results of DSPDBR in outfile. the is count is 350(For eg).

In both the outfile, I am selecting only the type = 'P'. Why is there a difference in the count?

ASKED: December 16, 2013  10:30 AM
UPDATED: December 20, 2013  2:58 AM

Answer Wiki

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

Discuss This Question: 2  Replies

 
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
  • TomLiotta
    You're listing two different things. With DSPFD, your listing members (*MBR). With DSPDBR, you're listing files. One file can have hundreds or thousands of members. -- Tom
    125,585 pointsBadges:
    report
  • Prashanth123
    Thanks Tom. DSPFD is a very useful command. It has got a lot of functions.
    255 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