Oracle Error Message
RMAN-06473: SET DATABASE can only be used in case of DUPLICATE without TARGET connection
Reason for the Error
A SET DATABASE command was specified when connected to target database or not connected to an auxiliary instance.
Solution
Specify the command only when not connected to a target database and when connected to an auxiliary instance in preparation to DUPLICATE without TARGET connection.