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?
July 11, 2013 8:01 AM
August 26, 2013 3:27 PM