Oracle Error RMAN-06002: command not allowed when not connected to a recovery catalog

Oracle Error Message

RMAN-06002: command not allowed when not connected to a recovery catalog

Reason for the Error

A command that is allowed only when a recovery catalog connect string was supplied was attempted.

Solution

Avoid using the command, or restart RMAN and supply a recovery catalog connect string via the CATALOG parameter.