Oracle Error RMAN-05037: FOR DB_UNIQUE_NAME option cannot be used in nocatalog mode

Oracle Error Message

RMAN-05037: FOR DB_UNIQUE_NAME option cannot be used in nocatalog mode

Reason for the Error

An attempt was made to set the remote configuration in nocatalog mode.

Solution

Connect to recovery catalog and execute the command.