Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is message subfile?

1810


how many specifications are there in rpg/400? What are they?

2104


can error messages as a result of a comp, range or values keyword be overridden?

2022


What is the difference between crtdupobj and copyf?

1249


how to declare a constant variable in the freeformat?

1472


what is scan and xlate?

1918


what is a physical file?

1906


define the purpose/use for sflrna?

1744


what is the maximum number of files allowed in rpg?

1719


what are the important factors in error message subfile ?

1067


how do you know that records are locked?

2035


how can you specify no duplicate key?

1214


what is sflpag and sflsiz ?

3588


Difference Between Ca & Cf?

1143


what does defn do?

1138