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
When it is desirable to describe files Internally?
What is ment by record level identifier?
Explain mdt?
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.
how do you use commitment control in rpg?
what is the rpg system?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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?
what is the difference between do while and do until?
How Chain operation copies the record's data to the input buffer for the program?
How to declare the pull button in AS/400..
What is the difference between iter and do?
How can we know running job is batch or interactive?
what do you mean by an input subfile, what are the keywords required?
do you use message subfiles? What are the necessary keywords required coding a message subfile?