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 |
IN RLU what are the record level keyword is used?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
why we do STRSRVJOB in batch debugging in as400
i want to retrieve record b/w 2 dates in as400
How do you find whether a record is locked or not?
How would display prime numbers using CL program?
How do you code file / field renames in ILE RPG?
wat is meant by hidden field , why it is used?
Can an indexed file be accessed in arrival sequence in RPG?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
How do you find whether a job is a batch job or interactive?