rman allocating channel
I have a RMAN script that I am building to do a logical validation of datafiles
against an oracle 22.214.171.124 DB on Solaris 5.10. I want the script to allocate
the channels. I tried several variations of the format but below but can't appear to get it to work. Can somebody provide me with the correct syntax
or a good example.
Below is my script and the error I am getting.
rman nocatalog target=/ <
ALLOCATE CHANNEL t1 DEVICE TYPE disk;
backup blocks all check logical validate datafile $DATAFILE;
release channel t1;
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "for"
RMAN-01008: the bad identifier was: t1
RMAN-01007: at line 1 column 18 file: standard input
Last edited by BeefStu; 01-24-2011 at 02:29 PM.
Reason: added more info
Click Here to Expand Forum to Full Width