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 |
How can you delete a record from a file in RPG without using DELETE oppcode?
how to check on which PF , the LF is dependant ?
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?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
What is the purpose of record level identifier?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
what is file information data structure?
How can a screen field that has changed since the last output operation be detected?
How do you find whether a job is a batch job or interactive?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is the difference between copybooks and subprocedures in as400?