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 to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
How Chain operation copies the record's data to the input buffer for the program?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
How to add 2 new fields in a file? How many ways are there in as400?
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
why subproc not run in dftactgrp?????/plz explain
How can we make use of SETLL operation in CL?
what is the difference between the procedure and module in ILERPG?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?