Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
Answer Posted / sagar sudhakar wagh
Yes it is possible through LF. We can use SELECT/OMIT keyword to filter the record of physical file according to our need.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
what are the key words you must use when using a subfile?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is a record lock error?
What is the purpose of record level identifier?
what is an online rpg?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
Explain mdt?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what is kids-rpg?
What is ment by record level identifier?
how do I declare a minor?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
how does the rpg element work?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?