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

What will happen if we r using seton lr after return or vice
versa.

Answer Posted / naveen chandra joshi

The question asked is:
What will happen if we r using seton lr after return or vice
versa?
Answer: When we use SETON LR after Return, SETON LR will never be executed because before this operation could be performed, Return will send the control back to the called program.
When we use SETON LR before Return then the program will release all the used resources (like open files, variables, any API used, etc) and then return statement will be executed which will send the control back to the called program. I hope your question has been answered.

Regards,
Naveen Chandra Joshi
+91.9891501280

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is program status data structure?

2517


What is the difference between copybooks and subprocedures in as400?

1408


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

1243


are there any useful c runtime apis that I can call from rpg iv?

1207


What is ment by record level identifier?

1187


can I touch the array during treatments?

1218


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?

5236


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2678


How to handle duplicate error handling in RPG?

2352


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

1942


how do I declare a table or array in rpg iv?

1228


How to declare the pull button in AS/400..

2387


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2844


what is the procedure and explain about real time scenario.

2007


how do I preserve and clean the array?

1208