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 ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / madhab sikder
It is to inform the system that while coming out of the program, it should release all it's resources allocated to it.
| Is This Answer Correct ? | 0 Yes | 0 No |
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
How to declare the dynamic(run time) array in rpgle? can you please give example
what is a rpg?
What will happen if we r using seton lr after return or vice versa.
Can a indexed file be accessed in arrival sequence in RPG?
How can i keyed a flat file in RPGLE
How to select highest score of each subject or how to select highest income of every month?
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
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 to write record if no field or the field are different in physical file in rpgle ?
what is edit word and edit code
what is EXCEPT command in rpg and use