how to know total no of records in pf with out using sql??????
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the use of member in pf?
what is the difference between adding keys & constraints into a phisical file
Define interactive jobs and batch jobs
how to restrict upon adding the data for field reference file in DB400
how to update physical file using logucal file with example
can any one tell me what is meant by PSSR? Kindly elaborate it...
How many max. Record format a logical file have?
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?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.
I have a PF with out any data but the dependent LF is having data?
what is the difference between adding keys & constraints into a phisical file