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 |
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.
can we concate fileds in physical file? If yes how can we do?
what is general and type of general
can any one tell me what is meant by PSSR? Kindly elaborate it...
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
What is the difference between access path and open data path?
How to insert more than one record to a pf at a time?(Bulk insert to a pf)
How to retrieve a physical file after deleting that?
What is open data path?
how to restrict upon adding the data for field reference file in DB400
How to find the list of source physical files in a library?? Is there any way to get a list??
How to know the perticular record in pf with out reading?