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
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 |
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 |
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?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
Delete FileName at first statement in RPG.
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
How to declare the pull button in AS/400..
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
what are the key words you must use when using a subfile?
How to identify the object has compiled with the debug view as *source without using STRDBG?
wat is meant by hidden field , why it is used?
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.
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
in which journalling which attributes are necessary