how to get no of records in file in rpg with out cl cmd
Answer Posted / shobhit
Read the file from beginning and increase the counter by
one till end of file. At the last the counter value will be
the no of records in file.
| Is This Answer Correct ? | 5 Yes | 15 No |
Post New Answer View All Answers
what is message subfile?
how many specifications are there in rpg/400? What are they?
can error messages as a result of a comp, range or values keyword be overridden?
What is the difference between crtdupobj and copyf?
how to declare a constant variable in the freeformat?
what is scan and xlate?
what is a physical file?
define the purpose/use for sflrna?
what is the maximum number of files allowed in rpg?
what are the important factors in error message subfile ?
how do you know that records are locked?
how can you specify no duplicate key?
what is sflpag and sflsiz ?
Difference Between Ca & Cf?
what does defn do?