Hi

I think you would be better of with using something like this

rman> run {
DELETE NOPROMPT BACKUP OF DATABASE
your backup script
}

rather then using the unix shell script way of doing it

see the train diagram here
http://download-uk.oracle.com/docs/c...rcmsynta23.htm

regards
Hrishy