You are correct.
DCLF in CL opens files when the program starts –
Therefore the OVRDBF is too late
One strategy might be to have a CL with OVRDBF then calls the CL with the DCLF
I’m sure our experts have a few more clever options
If your are trying to process all the data in a multimbr file, you might try something like this.
RTVMBRD EMP001P RTNMBR(&vMbrName)
OVRDBF EMP001C Mbr(&MbrName)
Call xxxxxx — phil thinks this is calling the cl program with the DCLF
— phil thinks that DLTOVR EMP001C should be right about here
RTVMBRD EMP001P MBR(&MbrName *Next) RTNMBR(&MbrName)
MonMsg (CPF3049 CPF9815) Exec(Goto End)
CharlieBrown — with comments by phil