RMAN-20523
cannot use SET TENANTID command as DBID already set for RMAN session
Cause
An attempt was made to issue a SET TENANTID command that can be used only when DBID is not set for RMAN session.
Action
Restart RMAN and use the SET TENANTID command to set desired tenant then set desired DBID.