Re: rman question

  • From: Phil Jones <phillipjones@xxxxxxxxx>
  • To: joe_dba@xxxxxxxxxxx
  • Date: Wed, 12 Oct 2005 15:47:31 +0200

You can use "expect" to do this.

Have a look at the man page.

Cheers,

Phil

On 12/10/05, Joe Smith <joe_dba@xxxxxxxxxxx> wrote:
> Is there any way to force rman to delete files within a rman script?
>
> My shell script does a
>
> rman <<EOF
> connect target
> report obsolete;
> EOF
>
> But, as you know to do a delete obsolete a "YES" needs to be passed to rman.
>   Has anybody ever done this within a rman script?
>
> thanks.
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> --
> //www.freelists.org/webpage/oracle-l
>
--
//www.freelists.org/webpage/oracle-l

Other related posts: