how to get no of records in file in rpg with out cl cmd
Answers were Sorted based on User's Feedback
Answer / shobhit
With the help of INFDS(File information data structure) we
can know the no of records in file.
Ex.
D NUM_RCDS 156 159I O * Num of records
| Is This Answer Correct ? | 44 Yes | 0 No |
Answer / 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 |
Diff B/w ref and reffld?
What is the benefit of using Externally Described files over Internally Described?
What is SDA used for?
Is qgpl a user library or system library?
What is binder language ?
Can we debug the MSGW JOBS?
what is message file?
how does union file maintains record formats?
Can fields be concatenated INa logical file level?
what does the opcode free do?
what does check opcode is used?
how to insert the data in pf by using cl program