Message Oracle RMAN-06737 - database name string does not match target database name string

ERRORdatabase name string does not match target database name string
CAUSEThe UNREGISTER DATABASE command was used with a database name that does not match the name of the database to which RMAN is connected.
ACTIONSpecify the correct database name or avoid specifying the database name when connected to the target database.