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 the difference between normal upddta to pf and updating using dfu program?

1264


Difference Between Ca & Cf?

1042


what is the use of unique keyword and what level it is defined?

1519


In RPG How to read a records from a file without using read opcodes?

1478


define data structure?

1661


how to run other job when one job is active?

957


what is a query can be run in which mode?

1251


Space & Skip Are Which Level Keywords?

1139


what does vldcmdkey means?

1308


how can u check no of records in a file?

1086


define the purpose of the *bcat function?

1446


the maximum number of subfiles that can be active for a single file is ____ .

1763


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2507


is there any way to dynamically merge other html scripts into a given html?

1022


What is the as400 called now?

937