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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

1116


how do you use commitment control in rpg?

1285


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1923


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1226


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

2073


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1895


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1193


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

2016


can you debug ile rpg program using isdb?

1271


What is the difference between iter and do?

1212


what is the procedure and explain about real time scenario.

1959


what is the necessary keyword needed to scroll subfile records?

1161


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1243


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

3002


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

5143