i have a file with the values 10, 20, 30, 40, if am setll with
the value 25 then readp, so what it will return?
Answer Posted / venkat
SETLL always looks for Equal or Greater value.
in the given entries we don't have 25 so it points to the greater to 25 record which was 30.
here we are using READP so the answer is 20
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is a 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?
what is *place and *auto keyword in prtf ?plz explain
When it is desirable to describe files Internally?
how can you display specific subfile page on the screen in unequal subfile?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
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?
can you debug ile rpg program using isdb?
what is the difference between do while and do until?
How to handle duplicate error handling in RPG?
what is file information data structure?
how do you use commitment control in rpg?
how can I tell when to replace the array?
How can we override a file during runtime in rpg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?