I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
Answer Posted / alok.yee001
Yes sarath you are right, but in that case we need two commands ovrdbf and dltovr, and if we are repeating this scenerio two or three time thenut will be complex to handle.
Youranswer is right too.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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?
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 play {insert rpg system here}?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How Chain operation copies the record's data to the input buffer for the program?
what is an online rpg?
How many program bind in one module....
how do I preserve and clean the array?
How can we override a file during runtime in rpg?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in 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?
how can I tell when to replace the array?
How to handle duplicate error handling in RPG?
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?