HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ?
2:Can we used "seton lr" OR "*INLR = *ON" in between the
program code ?
3:if yes then according to there function the code which is
written acter seton lr/ *inlr should not be execute . Can any
one tell me why those code get executed ?
Answer Posted / kushaal
SETON LR or INLR indicator is not to come out of the
program when its on, it means when all the 'C' spec codes
gets completed it make sures that the open files gets
closed. Nothing really to close the program.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
what is the procedure and explain about real time scenario.
What is the purpose of record level identifier?
what is the rpg system?
How to write record if no field or the field are different in physical file in rpgle ?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is the necessary keyword needed to scroll subfile records?
what is *place and *auto keyword in prtf ?plz explain
What are the types of identifiers?
What is the difference between copybooks and subprocedures in as400?
How would display prime numbers using CL program?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
how can I tell when to replace the array?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
how do I declare a minor?