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 |
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.
what is *place and *auto keyword in prtf ?plz explain
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
How to read alternative records in a pf by using rpg?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me