Why we need to give File and To file Names While we are using
OVRDBF. What is your understanding related to this?

Answers were Sorted based on User's Feedback



Why we need to give File and To file Names While we are using OVRDBF. What is your understanding r..

Answer / venkateshp

OVRDBF is to override the your database data to other file for some temporary time, other file may be the same file or different file. if you want to override your data to some temp place then you should mention that which file data you want to override(file) and where you want to keep your data(to file).

Is This Answer Correct ?    4 Yes 1 No

Why we need to give File and To file Names While we are using OVRDBF. What is your understanding r..

Answer / henry

without File name we cannot use OVRDBF adn its a mandatory
field. Also remember that the file which you used in OVRDBF
also must be present in the system. Else your RPG pgm will
not compile...Generaly if the file is multi member file
(some companies used to store they yearly/monthly
transactions in diff members) and if you want to access
specific member then it's a great deal.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?

1 Answers  


How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?

8 Answers  


Delete FileName at first statement in RPG.

1 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


How to declare the pull button in AS/400..

0 Answers  






suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


what are the key words you must use when using a subfile?

0 Answers   IBM,


How to identify the object has compiled with the debug view as *source without using STRDBG?

6 Answers  


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,


in which journalling which attributes are necessary

2 Answers   CTS,


Categories