Not a cobol guy but here’s a thought – the Override must be executed before the open.
The OVRDBF must also be at a previous call level (unless you specify otherwise on the OVRDBF command).
The following will work :-
OVRDBF Youroverride details
The following will NOT work
Where Aprogram runs the OVRDBF command.
When the Aprogram program completes, the OVRDBF is removed, therefore it is not in effect for YourProgram.