I am using command OVRDBF to override my database physical file suppose "ABC " (file to be overridden) and second physical file let "DEF" (the one with which we are overriding) now I execute this command:
OVRDBF FILE(ABC) TOFILE(LIBRARY/DEF).
After the execution of this command when I use the command RUNQRY *N ABC, it is showing me the records of DEF, which is correct but the same is not working with the command UPDDTA,
I execute the command :-
UPDDTA FILE(LIBRARY/ABC), and add data into it.
What I expect is that the data should go into DEF file but instead it is going into ABC only which has been overridden by DEF.
Please anyone tell me what's going wrong and all the possibilities or is it that the OVRDBF command doesn't have any effect on UPDDTA command?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!