suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
Answer Posted / surya siram
Hi,
Declare the physical file and make sure the physical file shouldn't have any keys. Load value 60 into RRN variable and then by using SETLL RRN PF, hit the physical file. Then increment the RRN upto 70 and read the records.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what was the robotech rpg?
What is file identifier where we can use?
How to write record if no field or the field are different in physical file in rpgle ?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is ment by record level identifier?
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 sflclr, sflend, sfldlt, and sflcsrrrn?
what is kids-rpg?
what is file information data structure?
what is the use of sflnxtchg?
can I touch the array during treatments?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?