Cannot supersede existing file

You’ve attempted to overwrite a file that has been protected against deletion. A possible cause of this error is that the OPEN statement, or the RENAM or ISAMC subroutine attempted to create a new file that already exists. This error condition is only detected if the FLAGS subroutine runtime option flag 3 is set.