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

Answers were Sorted based on User's Feedback



how to get no of records in file in rpg with out cl cmd..

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

how to get no of records in file in rpg with out cl cmd..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

How to create a user defined (general) data area?

1 Answers  


How to create an Access path in Synon/2E ?

1 Answers  


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.

1 Answers   Wipro,


What are the two types of read performed on data queues?

1 Answers  


What is library list ?

1 Answers  


Is qgpl a user library or system library?

1 Answers  


What is an authorization list?

1 Answers  


what are members?

0 Answers   IBM,


How Many Specs Are There In Rpg & Which Are They?

0 Answers   IBM,


How to convert a spool file to PDF file in AS400?

0 Answers  


Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%

1 Answers  


what is command in SFTP which is equivalent to SDUP command in FTP?

2 Answers  


Categories