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...


Can AnyOne tell me how to read join logical file in rpg from starting to end?

Answers were Sorted based on User's Feedback



Can AnyOne tell me how to read join logical file in rpg from starting to end?..

Answer / uday bagdi

1) You can use primary file key field in join logical file. If your join logical file has key field then use *LOVAL SETLL. and read that file in loop.(This condition read records from start to end)
2) if your logical file not a key filed then use RRN like
1 SETLL and read that file in loop. (This condition read records from start to end)

Is This Answer Correct ?    4 Yes 0 No

Can AnyOne tell me how to read join logical file in rpg from starting to end?..

Answer / karan

Thanks Uday it works

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF

5 Answers  


how do I declare a minor?

0 Answers   IBM,


How to print Superscript / Subscript from RPG400

1 Answers  


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?

2 Answers   HSBC,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


Why Rpg/400 is Famous?

2 Answers   IBM,


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?

4 Answers   IBM,


What is the significance of UDATE?

5 Answers   IBM,


Categories