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 flat file?

1 Answers   IBM,


Can we possible to key with the date field?

1 Answers   IBM,


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?

2 Answers  


What is the length of Signature?

3 Answers   UST,


What is difference between bind by copy and bind by reference?

0 Answers  


What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,


I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?

3 Answers   Steria,


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


can you debug ile rpg program using isdb?

0 Answers   IBM,


How to handle duplicate error handling in RPG?

0 Answers  


Categories