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



HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton..

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

HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton..

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

Post New Answer

More RPG400 Interview Questions

WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding

4 Answers   Infinite Computer Solutions,


suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 Answers  






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.

0 Answers   IBM,


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


what is the difference between the procedure and module in ILERPG?

4 Answers  


what is the difference between SETON RT & RETURN?

5 Answers  


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


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 ?

2 Answers  


Setps to create .csv file on IFS folder in AS/400( V4R3)....?

3 Answers   TCS,


Categories