Message Oracle RMAN-06096 - SWITCH required for newname of datafile string to take effect

ERRORSWITCH required for newname of datafile string to take effect
CAUSEA SET NEWNAME was issued for this datafile, but no SWITCH command was issued before the RECOVER command.
ACTIONIssue a SWITCH command to make the newname take effect before doing RECOVER.