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 |
How to create a user defined (general) data area?
How to create an Access path in Synon/2E ?
Dear All, I have one confusion related to my platform. I am working with Wipro from last two year however still I am looking for AS400 platform kindly show me the way out of it. And please share with me the hardware knowledge that how I grow myself in hardware (AS/400) also.
What are the two types of read performed on data queues?
What is library list ?
Is qgpl a user library or system library?
What is an authorization list?
what are members?
How Many Specs Are There In Rpg & Which Are They?
How to convert a spool file to PDF file in AS400?
Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%
what is command in SFTP which is equivalent to SDUP command in FTP?