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 |
what is program status data structure?
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
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
What is the difference Return and InLr?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
what is commitment control?explain about it?
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
when will come session device error?
how do u find whether a record is locked or not??/
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
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 )...?