Oracle Error Message
RMAN-06954: REPAIR command must be preceded by ADVISE command in same session
Reason for the Error
The ADVISE command was not issued in the same session as the REPAIR command.
Solution
Submit ADVISE command and then submit the REPAIR command in same session.