Oracle Error RMAN-06805: SET NEWNAME command has not been issued for tempfile string

Oracle Error Message

RMAN-06805: SET NEWNAME command has not been issued for tempfile string

Reason for the Error

A SWITCH command was specified for a tempfile, 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.