Using OVRDBF, you can set the library where the file is open.
Don’t forget to override also logical files !
ASExec("OVRDBF FILE(FILE1) TOFILE(LIBR2/FILE2) MBR(MEMBRE) OVRSCOPE(*JOB)")