Hi FARRUKH,
This is what I was looking for but I got foll. errors.
rmandel.rcv
--------------
run {
allocate channel d1 for delete type disk;
change archivelog until time 'SYSDATE-1' delete;
release channel d1;
resync catalog;
}
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "for": expecting one of: "name, type"
RMAN-01007: at line 2 column 21 file: rmandel.rcv
Also, can I call rmandel.rcv from another RMAN .rcv file?
Thanks,
Sam
------------------------
To handle yourself, use your head. To handle others, use your heart