Oracle Error Message
RMAN-06039: SET NEWNAME command has not been issued for datafile string
Reason for the Error
A SWITCH command was specified for a datafile, but no destination was specified and no SET NEWNAME command has been previously issued for that file. An explicit file to switch to must be specified if no SET NEWNAME command has been issued.
Solution
Correct and resubmit the SWITCH command.