DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jul 2006

    rman allocating channel

    I have a RMAN script that I am building to do a logical validation of datafiles
    against an oracle 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-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

By using this site, you agree to the Privacy Policy