Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    9 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

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.

2 Answers  


what is EXCEPT command in rpg and use

1 Answers   Active Brains,


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?

1 Answers  


How Chain operation copies the record's data to the input buffer for the program?

0 Answers   IBM,


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


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.

0 Answers   TCS,


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


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

2 Answers  


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


Need a sql query: retrive all duplicate records in table

3 Answers  


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 Answers   IBM,


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?

6 Answers   Virtusa,


Categories