how to know total no of records in pf with out using sql??????

Answers were Sorted based on User's Feedback



how to know total no of records in pf with out using sql??????..

Answer / vijay verma

By using dspfd command you can find out total on record.

dspfd (libname/filename)


here u can find out total no of records.

Is This Answer Correct ?    39 Yes 1 No

how to know total no of records in pf with out using sql??????..

Answer / sree

In addition to the above answer, there are 2 more ways in
knowing the total number of records.

1. Through the RPG program, Open Feedback Information of
File Information data structure (INFSR) will give the count
of records in the physical file.

2. Through CL command, Retrieve Member Description (RTVMBRD)
will give the no.of non-deleted records through NBRCURRCD
variable.

Is This Answer Correct ?    24 Yes 0 No

how to know total no of records in pf with out using sql??????..

Answer / kumar vikas

RUNQRY QRYFILE((lib/pfname)) OUTFORM(*SUMMARY)

it will count total number of records in pf.. remember, total number of records and not the fields.

Is This Answer Correct ?    13 Yes 0 No

Post New Answer

More DB400 Interview Questions

what is exception and how many types of exception

1 Answers   Active Brains,


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


How to find the list of source physical files in a library?? Is there any way to get a list??

5 Answers   Infosys,


what is use of self join and which cases you will use this join

1 Answers   TCS,


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

0 Answers  






how can we write LF using flatfile.

9 Answers  


Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?

0 Answers  


What is FORMAT keyword and its use?

0 Answers  


what is multiple member pf

1 Answers   Active Brains,


How many maximum record format a logical file have?

0 Answers  


one physical file can have how many max of logical files? what is the primary file?

3 Answers   Four soft,


What is the interactive job? What is the batch job?

0 Answers  


Categories