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
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.
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 the procedure and explain about real time scenario.
how do I preserve and clean the array?
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.
How can we override a file during runtime in rpg?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is an online rpg?
how can you display specific subfile page on the screen in unequal subfile?
What is ment by record level identifier?
How many program bind in one module....
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
what is data area and how it is used in rpg program ?
can you debug ile rpg program using isdb?
Interviewer asked me write down DDS for load all subfile .can anybody write dds