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 |
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how to check on which PF , the LF is dependant ?
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
difference between CHAIN and READE?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
How to declare the pull button in AS/400..
What is difference between bind by copy and bind by reference?
how do I preserve and clean the array?
how can we can we the data decimal error?how can we open such file in support
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?