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 are the key words you must use when using a subfile?
Why we cannot call a service program? If I add a PEP can i call the service program?
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?
what was the robotech rpg?
Please help me, I have created window subfile,I have created Footer with same lengh and postion of window SFL. When I call the pgm, first is shows only Footer and then it shows subfile records.This time Footer is not showsing ..plz hel me how can i do it...? Sameple DDS and RPG: A R WIN1 SFL A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769- PW1 A FLD001 1Y 0B 4 3EDTCDE (Z) A ATFILE R O 4 7REFFLD (QWHFDBAS/ATFILE LIB/LIBF- A ILE) A R WINCTL SFLCTL (WIN1) A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769- PW1 A ALTNAME ('y') A SFLSIZ (0004) A SFLPAG (0004) A WINDOW (FOOTER) A ROLLUP (27) A ROLLDOWN (28) A CF12 (12 'Cancel') A 50 SFLDSP A N51 SFLDSPCTL A 51 SFLCLR A 1 2'Select Option,Press enter' A 2 3'1= Select' A R FOOTER A* A WINDOW(8 31 9 43) A 8 4'F12 = Cancel' A R DUMMY ASSUME A 24 10' ' in RPG: Dow *IN12 = *Off Write Footer Fxfmt WInCTL
do you use message subfiles? What are the necessary keywords required coding a message subfile?
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
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.
this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
What is the difference between iter and do?