what is the difference between SETON RT & RETURN?

Answers were Sorted based on User's Feedback



what is the difference between SETON RT & RETURN?..

Answer / bhupendra tomar

Through SETON RT it just sets on the indicator RT but not
end the program.
but through RETURN opcode it terminate the program temp. not
permanent.
second one RT is an indicator
whereas RETURN is an opcode

Is This Answer Correct ?    11 Yes 3 No

what is the difference between SETON RT & RETURN?..

Answer / swetha p rao

BOth SETON RT and REturn does the same.excpt that RT is an
indicator and return is an opcode

Is This Answer Correct ?    8 Yes 4 No

what is the difference between SETON RT & RETURN?..

Answer / pratidnya

SETON RT will close files (ODP) that were opened in the
program and frees the space
RETURN - Does not close open files and passes the control
to the caller.

Is This Answer Correct ?    8 Yes 5 No

what is the difference between SETON RT & RETURN?..

Answer / deepak

SETON LR closes all opened files and terminates the control

Where as RETURN put opens all files and control transfes to
another program

Is This Answer Correct ?    4 Yes 4 No

what is the difference between SETON RT & RETURN?..

Answer / venkateshp

SETON RT returns the program and closes the all the open
sources and terminate he program but retun doesn't do that
just end the program and all the open files are not close

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More RPG400 Interview Questions

i would like to know under what circumstance the object will get locked on AS400.

5 Answers   IBM,


1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword

1 Answers   CSC, CTS,


Need a sql query: retrive all duplicate records in table

3 Answers  


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


in which journalling which attributes are necessary

2 Answers   CTS,






how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


Anybody know the difference of primary file and full procedural file

4 Answers  


difference between 1:%found and %equal built function in detail with example .

6 Answers   Polaris,


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....

1 Answers  


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


in which journalling which attributes are necessary??/

1 Answers   CTS,


Categories