How to read alternative records in a pf by using rpg?
Answer Posted / abhishek
The first method is not very full proof. Actually it is not
necessary that RRN is always sequential.
Suppose initally there are 100 records in a file and so
does the RRN starts from 1 for first record and 100 for
last record.
If 1 record is deleted from the file RRN remains unchaned
and in that case adding 2 may cause a problem if system
does not get Record at that RRN it will read the next
sequential.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How to declare the pull button in AS/400..
How to write record if no field or the field are different in physical file in rpgle ?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
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
are there any useful c runtime apis that I can call from rpg iv?
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?
When it is desirable to describe files Internally?
what is an online rpg?
what do you mean by an input subfile, what are the keywords required?
can you debug ile rpg program using isdb?
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?
How to select highest score of each subject or how to select highest income of every month?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how do I declare a minor?