what is the difference between seton lr and retrn?

Answer Posted / ravi kumar shukla

If you specify SETON LR, all the files used in program will be closed.

If you specify RETRN, all the files used in program will remain open.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what does check opcode is used?

972


what is the use of data structures?

637


How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?

709


under given circumstances, my cgi should link to another site. How to implement this?

578


what opcode could be used to test an alphanumeric field for all numeric values?

1073






a multiple format logical file is also known as?

597


How can we read file using curser? how to define a curser?

831


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

5951


how to toggle between single line and multi - line display of a particular record in a subfile?

1086


what is the function of rlu ?

987


which of the cl command can be used to determine which logical files are dependent on a specific file?

593


which are the relational operators in rpg?

677


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

407


list some of the commonly used commands for debugging?

895


What is the use of jdftval in as400?

913