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 |
I want to add 10 days in current date. how it is possible in CL program...?
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
what is file information data structure?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
How to update physical file in rpgle without using display file?
we are sending data of physical file to screen design and it is showing no record why?
how do I declare a minor?
How would display prime numbers using CL program?
One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?
What will happen if we r using seton lr after return or vice versa.