Oracle Error Message
RMAN-06552: newname for datafile number was set to NEW, but file was not restored
Reason for the Error
A SWITCH command was specified for a datafile, but the newname was set to NEW and the file was not restored. If newname is set to NEW, the file must be restored before issuing a SWITCH command.
Solution
Correct and resubmit the SWITCH command.