Oracle Error ORA-19623: file string is open

Oracle Error Message

ORA-19623: file string is open

Reason for the Error

A SWITCHTOCOPY operation specified a datafile copy whose parent datafile is open.

Solution

Take the owning tablespace offline or close the database, then retry the operation.