what is the difference between SETON RT & RETURN?
Answers were Sorted based on User's Feedback
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 |
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 |
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 ? | 9 Yes | 5 No |
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 |
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 |
How would display prime numbers using CL program?
purpose of pannel group??/
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
in which journalling which attributes are necessary??/
wat is curser?? and its types???
is this a rpg channel?
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...?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
when will come session device error?
How to add 2 new fields in a file? How many ways are there in as400?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?