Message Oracle RMAN-06954 - REPAIR command must be preceded by ADVISE command in same session

ERRORREPAIR command must be preceded by ADVISE command in same session
CAUSEThe ADVISE command was not issued in the same session as the REPAIR command.
ACTIONSubmit ADVISE command and then submit the REPAIR command in same session.