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 the necessary command needed before OPNQRYF and why?

5 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


how do I declare a table or array in rpg iv?

0 Answers   IBM,


in rpg could u please tell me errors types and meanings like 3030 that ....

1 Answers   EXL, UHG,






What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


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?

0 Answers  


how can I tell when to replace the array?

0 Answers   IBM,


what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

2 Answers   IBM, Patni,


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

0 Answers  


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


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,


Categories