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

I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


What is the purpose of FRCDTA keyword?

3 Answers   IBM,


What is journalling and commitment control?

3 Answers   IBM,


Can we have a Physical file without any member ? Please let me know

12 Answers  


What is the name of default out queue when user logs inn to syatem with valid profile?

3 Answers   IBM,


How can we change element of compile time array?Can we do so

1 Answers   TCS,


How can you delete a record from a file in RPG without using DELETE oppcode?

2 Answers   UST,


What is a record lock error?

0 Answers   Wipro,


Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 Answers  


How we will read call stack?

4 Answers  


Categories