OVRDBF FILE(PF2) TOFILE(TESTLIB/PF@) MBR(*ALL) SHARE(*YES)
When using the OVRDBF command you are telling the program to override all references of the file PF2 and use the tofile PF@ instead. It does not move any data. It just creates a new reference point.How is your PF@ file created? You said it’s a replica and does not have any records. So you basically told your program I don’t want to use PF@ (with data records) and replace it with PF@(with no data records).
Register Hereor login if you are already a member