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

Diff B/w ref and reffld?

1 Answers  


What is the benefit of using Externally Described files over Internally Described?

19 Answers   IBM, Patni,


What is SDA used for?

7 Answers  


Is qgpl a user library or system library?

1 Answers  


What is binder language ?

0 Answers  


Can we debug the MSGW JOBS?

0 Answers  


what is message file?

0 Answers   IBM,


how does union file maintains record formats?

0 Answers   IBM,


Can fields be concatenated INa logical file level?

1 Answers  


what does the opcode free do?

1 Answers   IBM,


what does check opcode is used?

1 Answers   IBM,


how to insert the data in pf by using cl program

2 Answers   TCS,


Categories