Quote Originally Posted by ebrian
Have you tried:

Code:
RMAN> crosscheck backup completed before 'sysdate-30';
RMAN> delete expired backup completed before 'sysdate-30';
This works perfectly. Thank you!

Is there a way to feed into the script the "YES" response?