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


Please Help Members By Posting Answers For Below Questions

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?

484


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2504


how do I play {insert rpg system here}?

572


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1550


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2355






How Chain operation copies the record's data to the input buffer for the program?

1063


what is an online rpg?

704


How many program bind in one module....

2103


how do I preserve and clean the array?

658


How can we override a file during runtime in rpg?

673


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

707


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?

497


how can I tell when to replace the array?

686


How to handle duplicate error handling in RPG?

1660


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?

1435