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 ?    25 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 THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?

4 Answers  


what is general and type of general

1 Answers   Active Brains,


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

3 Answers  


What is the interactive job?

0 Answers  


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

0 Answers  


How to know logical file belongs to which physical file without source?

1 Answers  


I have a pf, it contains 5 members, how to access particular member data from logical file?

0 Answers  


Q.1 how to implement the commitment control. 2.how to control commitment control from external program.

7 Answers   IBM,


I have a PF with out any data but the dependent LF is having data?

1 Answers   HCL,


can any one pls tell me some differences between a LF and command OPNQRYF?

3 Answers   Accenture, Cognizant, eFunds,


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,


Categories