Oracle Error RMAN-05039: One or more auxiliary set datafiles could not be removed

Oracle Error Message

RMAN-05039: One or more auxiliary set datafiles could not be removed

Reason for the Error

There was an error while performing Tablespace Point-in-Time Recovery. Some of the restored datafiles had OMF names and were not deleted.

Solution

Manually remove the auxiliary set datafiles that were not removed.