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 |
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 EXCEPT command in rpg and use
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?
How Chain operation copies the record's data to the input buffer for the program?
Can you copy the records created by the OPNQRYF to other files and how?
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.
How to update physical file in rpgle without using display file?
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
Need a sql query: retrive all duplicate records in table
HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?