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 ? | 8 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 |
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
What is Multi Occurrence Data Structure(MODS)?
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
How do you do indexing in a physical file?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
how can you display specific subfile page on the screen in unequal subfile?
what was the robotech rpg?
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2