I have a RPG program of 100 Lines and first line is to
SETON indicator LR. Will the program execute rest of the 99
Lines?
Answers were Sorted based on User's Feedback
Answer / bharat
Yes it will but if with Primary file with RPG cycle, it
will not execute for all records.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / biju antony
LR not stand for terminating program. So, it will execute
rest of the program codes. Of course, it won't give you
proper answers if it related to files or indicators. LR
will close all files opened in program as well as switch
off all indicators used so far.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / swadesh.yadav
Definitely,program will execute and display the result also
but it can destroy the flow of program.
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / manish
SETON LR is used to sense that last record has been
reached, so whenever SETON LR occurs all the files will be
closed and the control will be transferred to the next
executable lines...
| Is This Answer Correct ? | 3 Yes | 6 No |
yes,It will execute.access path will be created again.
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / reecha
Seton LR will close all the file, the next line will be
definately executed but it will give error for any file
related execution
| Is This Answer Correct ? | 3 Yes | 9 No |
How to declare the dynamic(run time) array in rpgle? can you please give example
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
How to handle duplicate error handling in RPG?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
ESCAPE message sent by child program can be handled by parent program using which keyword?
How Commitment and Roll back control is used in as400, explain with real time senario ???
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
use of PUTOVR,OVRDTA,KEEP keywords?