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

how to check on which PF , the LF is dependant ?

4 Answers   IBM,

Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  

1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  

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  

I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  

How can a screen field that has changed since the last output operation be detected?

2 Answers  

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  

how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .

2 Answers  

I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

9 Answers   IBM,

What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   Wipro, CGI,

two attributes which govern the excecution of a job>>>>??

2 Answers   CTS,

1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

0 Answers   HCL,